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 <a href="../classes/Types.Auth.html#loginwithemail" class="tsd-kind-method">Auth#loginWithEmail</a>
Authorize user with credentials using the Password Realm Grant. See <a href="../classes/Types.Auth.html#passwordrealm" class="tsd-kind-method">Auth#passwordRealm</a>
Authorize the user using an Out Of Band authentication code. See <a href="../classes/Types.Auth.html#loginwithoob" class="tsd-kind-method">Auth#loginWithOOB</a>
Autohrize the user using a One Time Password code. See <a href="../classes/Types.Auth.html#loginwithotp" class="tsd-kind-method">Auth#loginWithOTP</a>.
Authorize user with credentials using the Password Realm Grant. See <a href="../classes/Types.Auth.html#passwordrealm" class="tsd-kind-method">Auth#passwordRealm</a>
Authorize the user using a multi-factor authentication Recovery Code. See <a href="../classes/Types.Auth.html#loginwithrecoverycode" class="tsd-kind-method">Auth#loginWithRecoveryCode</a>
Authorize the user using a SMS code. See <a href="../classes/Types.Auth.html#loginwithsms" class="tsd-kind-method">Auth#loginWithSMS</a>
Cancel any ongoing Universal Login transaction. This works only on iOS and not on any other platforms
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 <a href="../classes/Types.WebAuth.html#clearsession" class="tsd-kind-method">WebAuth#clearSession</a>
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 <a href="../classes/Types.CredentialsManager.html#getcredentials" class="tsd-kind-method">CredentialsManager#getCredentials</a>
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
Request an email with instructions to change password of a user <a href="../classes/Types.Auth.html#resetpassword" class="tsd-kind-method">Auth#resetPassword</a>
Revokes an issued refresh token. See <a href="../classes/Types.Auth.html#revoke" class="tsd-kind-method">Auth#revoke</a>
Start the passwordless email login flow. See <a href="../classes/Types.Auth.html#passwordlesswithemail" class="tsd-kind-method">Auth#passwordlessWithEmail</a>
Send a challenge for multi-factor authentication. See <a href="../classes/Types.Auth.html#multifactorchallenge" class="tsd-kind-method">Auth#multifactorChallenge</a>
Start the passwordless SMS login flow. See <a href="../classes/Types.Auth.html#passwordlesswithsms" class="tsd-kind-method">Auth#passwordlessWithSMS</a>
The user profile as decoded from the ID token after authentication
Authorize the user using Auth0 Universal Login. See <a href="../classes/Types.WebAuth.html#authorize" class="tsd-kind-method">WebAuth#authorize</a>