AccessToken Type alias

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.

@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.

AccessToken = string

Defined in

Last Updated: 15 March, 2024