Constructors
Methods
Static
createState
- createState(): string
Returns string
Static
createVerifier
- createVerifier(): string
Returns string
Static
createChallenge
- createChallenge(verifier): Promise<string>
Returns Promise<string>
Static
base64UrlEncode
- base64UrlEncode(array): string
Returns string
Static
sha256
- sha256(value): Promise<Uint8Array>
Returns Promise<Uint8Array>
Private
Static
createRandomString
- createRandomString(num?): string
Returns string
Helper class for generating verifier, challenge and state strings used for Proof Key for Code Exchange (PKCE).