OAuth2Client.createAuthorizationURLWithPKCE()
Creates an authorization URL for PKCE flow. The scope query parameter will not be set if scopes parameter is a empty array.
Definition
function createAuthorizationURLWithPKCE(
authorizationEndpoint: string,
state: string,
codeChallengeMethod: CodeChallengeMethod,
codeVerifier: string,
scopes: string[]
);
Parameters
authorizationEndpointstatecodeChallengeMethodcodeVerifierscopes