getAccessToken MethodStatic
Get the user's access token for this IModelApp, or a blank string if none is available.
getAccessToken(): Promise<string>
@note Access tokens expire periodically and are automatically refreshed, if possible. Therefore tokens should not be saved, and the value returned by this method may change over time throughout the course of a session.
Returns - Promise
Defined in
- core/frontend/src/IModelApp.ts Line 585
Last Updated: 05 January, 2026
Found something wrong, missing, or unclear on this page? Raise an issue in our repo.