Abstract
Static
getDetermines if the given step is a WebAuthn step.
A WebAuthnStepType value
The step to evaluate
Static
authenticateStatic
registerCan make this generic const in Typescript 5.0 > and the name itself will
be inferred from the type so typeof deviceName
will not just return string
but the actual name of the deviceName passed in as a generic.
Optional
deviceName: TStatic
getReturns an object containing the two WebAuthn callbacks.
The WebAuthn callbacks
The step that contains WebAuthn callbacks
Static
getReturns the WebAuthn metadata callback containing data to pass to the browser Web Authentication API.
The metadata callback
The step that contains WebAuthn callbacks
Static
getReturns the WebAuthn hidden value callback where the outcome should be populated.
The hidden value callback
The step that contains WebAuthn callbacks
Static
getReturns the WebAuthn metadata callback containing data to pass to the browser Web Authentication API.
The metadata callback
The step that contains WebAuthn callbacks
Static
getRetrieves the credential from the browser Web Authentication API.
The credential
The public key options associated with the request
Static
getConverts an authentication credential into the outcome expected by OpenAM.
The outcome string
The credential to convert
Static
getRetrieves the credential from the browser Web Authentication API.
The credential
The public key options associated with the request
Static
getConverts a registration credential into the outcome expected by OpenAM.
The outcome string
The credential to convert
Static
createConverts authentication tree metadata into options required by the browser Web Authentication API.
The Web Authentication API request options
The metadata provided in the authentication tree MetadataCallback
Static
createConverts authentication tree metadata into options required by the browser Web Authentication API.
The Web Authentication API request options
The metadata provided in the authentication tree MetadataCallback
Utility for integrating a web browser's WebAuthn API.
Example: