useStepUp
Axis Vertex JavaScript SDK: react
Axis Vertex JavaScript SDK: react / useStepUp
Function: useStepUp()
useStepUp():
object
The server owns purpose/session-bound grants; displayed assurance is never a grant.
Returns
object
authenticationContext
authenticationContext:
AuthenticationContext|null
start
start: (
trigger,reason?) =>Promise<{availableMethods:string[];ref:string;startWebAuthn: () =>Promise<unknown>;verifyTotp: (code) =>Promise<void>;verifyWebAuthn: (credential) =>Promise<void>; } | {availableMethods: ("totp"|"webauthn")[];challengeId:string;verifyTotp: (code) =>Promise<void>; }>
Parameters
trigger
reason?
string
Returns
Promise<{ availableMethods: string[]; ref: string; startWebAuthn: () => Promise<unknown>; verifyTotp: (code) => Promise<void>; verifyWebAuthn: (credential) => Promise<void>; } | { availableMethods: ("totp" | "webauthn")[]; challengeId: string; verifyTotp: (code) => Promise<void>; }>