Editar

Compartilhar via


PkceGenerator class

Class which exposes APIs to generate PKCE codes and code verifiers.

Constructors

PkceGenerator(BrowserCrypto)

Methods

generateCodes()

Generates PKCE Codes. See the RFC for more information: https://tools.ietf.org/html/rfc7636

Constructor Details

PkceGenerator(BrowserCrypto)

new PkceGenerator(cryptoObj: BrowserCrypto)

Parameters

cryptoObj
BrowserCrypto

Method Details

generateCodes()

Generates PKCE Codes. See the RFC for more information: https://tools.ietf.org/html/rfc7636

function generateCodes(): Promise<PkceCodes>

Returns

Promise<PkceCodes>