Methods
getToken
- getToken(identityClient: IdentityClient, resource: string, clientId?: undefined | string, getTokenOptions?: GetTokenOptions): Promise<AccessToken | null>
-
Parameters
-
identityClient: IdentityClient
-
resource: string
-
Optional clientId: undefined | string
-
Optional getTokenOptions: GetTokenOptions
Returns Promise<AccessToken | null>
isAvailable
- isAvailable(identityClient?: IdentityClient, resource?: undefined | string, clientId?: undefined | string, getTokenOptions?: GetTokenOptions): Promise<boolean>
-
Parameters
-
Optional identityClient: IdentityClient
-
Optional resource: undefined | string
-
Optional clientId: undefined | string
-
Optional getTokenOptions: GetTokenOptions
Returns Promise<boolean>