Skip to content

attemptAutoLogin

@wuespace/telestion / auth / attemptAutoLogin

attemptAutoLogin(): Promise<boolean>

Attempt to auto-login using credentials stored in sessionStorage.

The credentials will automatically be cleared if they are invalid, the session ends, or logout is called.

Credentials are automatically stored updated by login and logout.

Returns

Promise<boolean>

true if auto-login was successful, false otherwise