Options
All
  • Public
  • Public/Protected
  • All
Menu

Class PKCE

Helper class for generating verifier, challenge and state strings used for Proof Key for Code Exchange (PKCE).

Hierarchy

  • PKCE

Index

Methods

Static base64UrlEncode

  • base64UrlEncode(array: Uint8Array): string

Static createChallenge

  • createChallenge(verifier: string): Promise<string>

Static createState

  • createState(): string

Static createVerifier

  • createVerifier(): string

Static sha256

  • sha256(value: string): Promise<Uint8Array>