Optional
parameters:
WebAuthorizeParameters
The parameters that are sent to the
/authorize
endpoint.
Optional
options:
WebAuthorizeOptions
Options for customizing the SDK's handling of the authorize call
Authorize the user using an email code. See Auth#loginWithEmail
Authorize the user using an Out Of Band authentication code. See Auth#loginWithOOB
Autohrize the user using a One Time Password code. See Auth#loginWithOTP.
Authorize the user using a multi-factor authentication Recovery Code. See Auth#loginWithRecoveryCode
Authorize the user using a SMS code. See Auth#loginWithSMS
Clears the user's credentials without clearing their web session and logs them out.
Clears the user's web session, credentials and logs them out. See WebAuth#clearSession
Optional
parameters:
ClearSessionParameters
Additional parameters to send to the Auth0 logout endpoint.
Optional
options:
ClearSessionOptions
Options for configuring the SDK's clear session behaviour.
An object representing the last exception
Gets the user's credentials from the native credential store. If credentials have expired, they are automatically refreshed by default. See CredentialsManager#getCredentials
Optional
scope:
string
The scopes used to get the credentials
Optional
minTtl:
number
The minimum time in seconds that the access token should last before expiration
Optional
parameters: Record<string, unknown>
Any additional parameters to send in the request to refresh expired credentials.
Optional
forceRefresh: boolean
If true
, credentials are always
refreshed regardless of their expiry, provided a
valid refresh token is available.
Whether the SDK currently holds valid, unexpired credentials.
Optional
minTtl:
number
The minimum time in seconds that the access token should last before expiration
true
if there are valid credentials.
Otherwise, false
.
A flag that is true until the state knows that a user is either logged in or not
Enables Local Authentication (PIN, Biometric, Swipe etc) to get the credentials. See CredentialsManager#requireLocalAuthentication
Optional
title:
string
the text to use as title in the authentication screen. Passing null will result in using the OS's default value in Android and "Please authenticate to continue" in iOS.
Optional
description: string
Android only: the text to use as description in the authentication screen. On some Android versions it might not be shown. Passing null will result in using the OS's default value.
Optional
cancelTitle: string
iOS only: the cancel message to display on the local authentication prompt.
Optional
fallbackTitle: string
iOS only: the fallback message to display on the local authentication prompt after a failed match.
Optional
strategy:
LocalAuthenticationStrategy
iOS only: the evaluation policy to use when accessing the credentials. Defaults to LocalAuthenticationStrategy.deviceOwnerWithBiometrics.
Start the passwordless email login flow. See Auth#passwordlessWithEmail
Send a challenge for multi-factor authentication. See Auth#multifactorChallenge
Start the passwordless SMS login flow. See Auth#passwordlessWithSMS
The user profile as decoded from the ID token after authentication
Generated using TypeDoc
Authorize the user using Auth0 Universal Login. See WebAuth#authorize