@affinda/affinda / Exports / AffindaCredential
TokenCredential
• new AffindaCredential(token
)
Name | Type |
---|---|
token |
string |
• token: string
▸ getToken(scopes
, options?
): Promise
<null
| AccessToken
>
Name | Type |
---|---|
scopes |
string | string [] |
options? |
GetTokenOptions |
Promise
<null
| AccessToken
>
TokenCredential.getToken