Options
All
  • Public
  • Public/Protected
  • All
Menu

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).

Hierarchy

  • CryptoProvider

Implements

Index

Constructors

constructor

Methods

base64Decode

  • base64Decode(input: string): string

base64Encode

  • base64Encode(input: string): string

clearKeystore

  • clearKeystore(): Promise<boolean>

createNewGuid

  • createNewGuid(): string

generatePkceCodes

getPublicKeyThumbprint

  • getPublicKeyThumbprint(): Promise<string>

removeTokenBindingKey

  • removeTokenBindingKey(): Promise<boolean>

signJwt

  • signJwt(): Promise<string>

Generated using TypeDoc