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.

@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

Last Updated: 17 December, 2024