signIn Method
Attempts to authorize the current user, and resolves when the authorization process is complete. Once the returned promises resolves, getAccessToken will return a valid AccessToken.
signIn(): Promise<void>
@note On Windows and MacOS, this will cache the refreshToken in secure storage to reduce the frequency of interactive sign-in.
@note This function succeeds only if the user authorizes your application. If the user never clicks Accept, no feedback is provided.
Returns - Promise
Defined in
- Client.ts Line 144
Last Updated: 24 June, 2025
Found something wrong, missing, or unclear on this page? Raise an issue in our repo.