Start the sign-in process

  • 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 local storage, (ii) a silent sign in with the authorization provider, and if all else fails, (iii) an interactive signin that requires user input.
  • if an interactive or silent signin is required with the authorization provider, it will redirect application to the redirectUri specified in the configuration, and then redirect back to specified successRedirectUri when the sign-in is complete.

signIn(requestContext: ClientRequestContext, successRedirectUrl?: string): Promise<void>

Parameter Type Description
requestContext ClientRequestContext  
successRedirectUrl string  

Defined in

Last Updated: 08 January, 2020