Represents a credential capable of providing an authentication token.
Methods getToken(string | string[], GetTokenOptions)Gets the token provided by this credential.
This method is called automatically by Azure SDK client libraries. You may call this method directly, but you must also handle token caching and token refreshing.
Method Details getToken(string | string[], GetTokenOptions)Gets the token provided by this credential.
This method is called automatically by Azure SDK client libraries. You may call this method directly, but you must also handle token caching and token refreshing.
function getToken(scopes: string | string[], options?: GetTokenOptions): Promise<null | AccessToken>
Parameters
string | string[]
The list of scopes for which the token will have access.
The options used to configure any requests this TokenCredential implementation might make.
ReturnsPromise<null | AccessToken>
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4