SessionLogin
Axis Vertex JavaScript SDK: react
Axis Vertex JavaScript SDK: react / SessionLogin
Class: SessionLogin
Implements
Constructors
Constructor
new SessionLogin(
session):SessionLogin
Parameters
session
Returns
SessionLogin
Methods
authenticate()
authenticate(
input):Promise<LoginView>
Parameters
input
Returns
Promise<LoginView>
Implementation of
AuthenticationFlow.authenticate
authenticateMagicLink()
authenticateMagicLink(
url,identifier):Promise<LoginView>
Parameters
url
string
identifier
Returns
Promise<LoginView>
Implementation of
AuthenticationFlow.authenticateMagicLink
authorizeProvider()
authorizeProvider(
providerId,proof?):Promise<{authorizationUrl:string;expiresAt:string; }>
Parameters
providerId
string
proof?
Returns
Promise<{ authorizationUrl: string; expiresAt: string; }>
Implementation of
AuthenticationFlow.authorizeProvider
cancel()
cancel():
Promise<LoginView>
Returns
Promise<LoginView>
Implementation of
AuthenticationFlow.cancel
challenge()
challenge(
method,identifier):Promise<{challengeExpiresAt:string;cooldownSeconds:number;expiresAt:string; }>
Parameters
method
identifier
Returns
Promise<{ challengeExpiresAt: string; cooldownSeconds: number; expiresAt: string; }>
Implementation of
AuthenticationFlow.challenge
get()
get():
Promise<LoginView>
Returns
Promise<LoginView>
Implementation of
AuthenticationFlow.get
getSnapshot()
getSnapshot():
LoginView
Returns
Implementation of
AuthenticationFlow.getSnapshot
invalidate()
invalidate():
void
Returns
void
Implementation of
AuthenticationTransaction.invalidate
persistForNavigation()
persistForNavigation():
void
Explicit short-lived navigation storage: no identifiers, password, proof or ordinary tokens.
Returns
void
Implementation of
AuthenticationTransaction.persistForNavigation
verifyMfa()
verifyMfa(
method,code):Promise<LoginView>
Parameters
method
code
string
Returns
Promise<LoginView>
Implementation of
AuthenticationFlow.verifyMfa