Indexable
[key: string]: any
Methods
authUrl
- authUrl(): string
-
Returns string
buildAuthUrl
- buildAuthUrl(state, ...opts): string
-
Returns string
client
- client(token): any
-
Returns any
clientId
- clientId(): string
-
Returns string
clientSecret
- clientSecret(): string
-
Returns string
displayName
- displayName(): string
-
Returns string
fetchRawUserData
- fetchRawUserData(token): string | number[]
-
Returns string | number[]
fetchToken
- fetchToken(code, ...opts): Token
-
pkce
- pkce(): boolean
-
Returns boolean
redirectUrl
- redirectUrl(): string
-
Returns string
scopes
- scopes(): string[]
-
Returns string[]
setAuthUrl
- setAuthUrl(url): void
-
Returns void
setClientId
- setClientId(clientId): void
-
Returns void
setClientSecret
- setClientSecret(secret): void
-
Returns void
setContext
- setContext(ctx): void
-
Returns void
setDisplayName
- setDisplayName(displayName): void
-
Returns void
setPKCE
- setPKCE(enable): void
-
Returns void
setRedirectUrl
- setRedirectUrl(url): void
-
Returns void
setScopes
- setScopes(scopes): void
-
Returns void
setTokenUrl
- setTokenUrl(url): void
-
Returns void
setUserApiUrl
- setUserApiUrl(url): void
-
Returns void
tokenUrl
- tokenUrl(): string
-
Returns string
userApiUrl
- userApiUrl(): string
-
Returns string
Provider defines a common interface for an OAuth2 client.