API Reference > ui-framework > Utilities > UiFramework > setAccessToken setAccessToken MethodStatic Deprecated Token is managed internally, and there is no need for the caller to explicitly set the access token. setAccessToken(accessToken: AccessToken | undefined, immediateSync: boolean = false): void Parameter Type Description accessToken AccessToken | undefined immediateSync boolean Returns - void Defined in ui/framework/src/ui-framework/UiFramework.ts Line 305 Last Updated: 13 June, 2024