AuthorizationCodeWithPKCEStrategy
Implements
Constructors
new AuthorizationCodeWithPKCEStrategy()
new AuthorizationCodeWithPKCEStrategy(
clientId
,redirectUri
,scopes
):AuthorizationCodeWithPKCEStrategy
Parameters
• clientId: string
• redirectUri: string
• scopes: string
[]
Returns
AuthorizationCodeWithPKCEStrategy
Source
auth/AuthorizationCodeWithPKCEStrategy.ts:25
Methods
getAccessToken()
getAccessToken():
Promise
<null
|AccessToken
>
Returns
Promise
<null
| AccessToken
>
Implementation of
Source
auth/AuthorizationCodeWithPKCEStrategy.ts:53
getOrCreateAccessToken()
getOrCreateAccessToken():
Promise
<AccessToken
>
Returns
Promise
<AccessToken
>
Implementation of
IAuthStrategy
.getOrCreateAccessToken
Source
auth/AuthorizationCodeWithPKCEStrategy.ts:35
removeAccessToken()
removeAccessToken():
Promise
<void
>
Returns
Promise
<void
>
Implementation of
IAuthStrategy
.removeAccessToken
Source
auth/AuthorizationCodeWithPKCEStrategy.ts:60
setConfiguration()
setConfiguration(
configuration
):void
Parameters
• configuration: SdkConfiguration
Returns
void
Implementation of
IAuthStrategy
.setConfiguration