Decodes input string from base64.
string to be decoded
Encodes input string to base64.
string to be encoded
Removes all cryptographic keys from Keystore
Creates a new random GUID - used to populate state and nonce.
string (GUID)
Generates PKCE codes used in Authorization Code Flow.
Generates a keypair, stores it and returns a thumbprint - not yet implemented for node
Returns the SHA-256 hash of an input string
Removes cryptographic keypair from key store matching the keyId passed in
Signs the given object as a jwt payload with private key retrieved by given kid - currently not implemented for node
Generated using TypeDoc
This class implements MSAL node's crypto interface, which allows it to perform base64 encoding and decoding, generating cryptographically random GUIDs and implementing Proof Key for Code Exchange specs for the OAuth Authorization Code Flow using PKCE (rfc here: https://tools.ietf.org/html/rfc7636).