Customer components
Login with token
Users can use JavaScript methods to log in and log out of the Enviso widgets using a token. Such a token could be obtained by exchanging an external token for an Enviso token. Contact your account manager for more information.
Available methods:
enviso.auth.signInWithAccessToken(token: string)- log in using a tokenenviso.auth.isSignedIn()- see if we are signed in (returnstrueorfalse)enviso.auth.signOut()- log out