AccessToken Type
AccessToken = string
A string representing a token used to access resources. An empty string represents an invalid/unavailable token.
@see - IModelHost.getAccessToken and IModelApp.getAccessToken to obtain an access token.
- IModelHostOptions.authorizationClient and IModelAppOptions.authorizationClient to configure how access tokens are obtained.
@note Access tokens expire periodically and are automatically refreshed when possible; therefore, tokens should always be requested via an AuthorizationClient, not cached for later reuse.
Defined in
- core/bentley/src/AccessToken.ts Line 16
Last Updated: 21 November, 2024
Found something wrong, missing, or unclear on this page?Raise an issue in our repo.