Search
Preparing search index...
The search index is not available
DefinitelyTyped
Inherited
Private
Externals
Only exported
Auth0Static
Interface Auth0Static
This is the interface for the main Auth0 client.
Index
Construct signatures
constructor
Methods
changePassword
decodeJwt
getConnections
getDelegationToken
getProfile
getSSOData
login
loginWithPopup
loginWithResourceOwner
loginWithUsernamePassword
logout
parseHash
signup
validateUser
Construct signatures
constructor
(
options
:
Auth0ClientOptions
)
:
Auth0Static
Parameters
options:
Auth0ClientOptions
Returns
Auth0Static
Methods
public
changePassword
(
options
:
any
, callback
?:
Function
)
Parameters
options:
any
callback?:
Function
optional
public
decodeJwt
(
jwt
:
string
)
:
any
Parameters
jwt:
string
Returns
any
public
getConnections
(
callback
?:
Function
)
Parameters
callback?:
Function
optional
public
getDelegationToken
(
targetClientId
:
string
, id_token
:
string
, options
:
any
, callback
:
(error?: Auth0Error, delegationResult?: Auth0DelegationToken) => any
)
Parameters
targetClientId:
string
id_token:
string
options:
any
callback:
(error?: Auth0Error, delegationResult?: Auth0DelegationToken) => any
public
getProfile
(
id_token
:
string
, callback
?:
Function
)
:
Auth0UserProfile
Parameters
id_token:
string
callback?:
Function
optional
Returns
Auth0UserProfile
public
getSSOData
(
withActiveDirectories
:
any
, callback
?:
Function
)
Parameters
withActiveDirectories:
any
callback?:
Function
optional
public
login
(
options
:
any
, callback
:
(error?: Auth0Error, profile?: Auth0UserProfile, id_token?: string, access_token?: string, state?: string) => any
)
Parameters
options:
any
callback:
(error?: Auth0Error, profile?: Auth0UserProfile, id_token?: string, access_token?: string, state?: string) => any
public
loginWithPopup
(
options
:
Auth0LoginOptions
, callback
:
(error?: Auth0Error, profile?: Auth0UserProfile, id_token?: string, access_token?: string, state?: string) => any
)
Parameters
options:
Auth0LoginOptions
callback:
(error?: Auth0Error, profile?: Auth0UserProfile, id_token?: string, access_token?: string, state?: string) => any
public
loginWithResourceOwner
(
options
:
Auth0LoginOptions
, callback
:
(error?: Auth0Error, profile?: Auth0UserProfile, id_token?: string, access_token?: string, state?: any) => any
)
Parameters
options:
Auth0LoginOptions
callback:
(error?: Auth0Error, profile?: Auth0UserProfile, id_token?: string, access_token?: string, state?: any) => any
public
loginWithUsernamePassword
(
options
:
Auth0LoginOptions
, callback
:
(error?: Auth0Error, profile?: Auth0UserProfile, id_token?: string, access_token?: string, state?: string) => any
)
Parameters
options:
Auth0LoginOptions
callback:
(error?: Auth0Error, profile?: Auth0UserProfile, id_token?: string, access_token?: string, state?: string) => any
public
logout
(
query
:
string
)
Parameters
query:
string
public
parseHash
(
hash
:
string
)
:
Auth0DecodedHash
Parameters
hash:
string
Returns
Auth0DecodedHash
public
signup
(
options
:
Auth0SignupOptions
, callback
:
Function
)
Parameters
options:
Auth0SignupOptions
callback:
Function
public
validateUser
(
options
:
any
, callback
:
(error?: Auth0Error, valid?: any) => any
)
Parameters
options:
any
callback:
(error?: Auth0Error, valid?: any) => any
Globals
Auth0
Auth0Widget