編輯

共用方式為


PkceGenerator class

Constructors

PkceGenerator()

Methods

generatePkceCodes()

generates the codeVerfier and the challenge from the codeVerfier reference: https://tools.ietf.org/html/rfc7636#section-4.1 and https://tools.ietf.org/html/rfc7636#section-4.2

Constructor Details

PkceGenerator()

new PkceGenerator()

Method Details

generatePkceCodes()

generates the codeVerfier and the challenge from the codeVerfier reference: https://tools.ietf.org/html/rfc7636#section-4.1 and https://tools.ietf.org/html/rfc7636#section-4.2

function generatePkceCodes(): Promise<PkceCodes>

Returns

Promise<PkceCodes>