signIn Method
Initializes and completes the sign-in process for the user.
Once the promise is returned, use getAccessToken to retrieve the token.
The following actions happen upon completion of the promise:
- calls the onUserStateChanged() call back after the authorization completes or if there is an error.
- will attempt in order: (i) load any existing authorized user from storage, (ii) an interactive signin that requires user input.
signIn(): Promise<void>
Returns - Promise
Defined in
- main/Client.ts Line 331
Last Updated: 24 June, 2025
Found something wrong, missing, or unclear on this page? Raise an issue in our repo.