Created
August 23, 2013 23:05
-
-
Save zaach/6324852 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jwcrypto.assertion.sign( | |
{}, {audience: audience, expiresAt: expirationDate}, | |
secretKey, | |
function(err, signedAssertion) { | |
var assertion = jwcrypto.cert.bundle([cert], signedAssertion); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment