Abstract
Static
getDetermines if the given step is a WebAuthn step.
The step to evaluate
A WebAuthnStepType value
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.
Static
getReturns an object containing the two WebAuthn callbacks.
The step that contains WebAuthn callbacks
The WebAuthn callbacks
Static
getReturns the WebAuthn metadata callback containing data to pass to the browser Web Authentication API.
The step that contains WebAuthn callbacks
The metadata callback
Static
getReturns the WebAuthn hidden value callback where the outcome should be populated.
The step that contains WebAuthn callbacks
The hidden value callback
Static
getReturns the WebAuthn metadata callback containing data to pass to the browser Web Authentication API.
The step that contains WebAuthn callbacks
The metadata callback
Static
getRetrieves the credential from the browser Web Authentication API.
The public key options associated with the request
The credential
Static
getConverts an authentication credential into the outcome expected by OpenAM.
The credential to convert
The outcome string
Static
getRetrieves the credential from the browser Web Authentication API.
The public key options associated with the request
The credential
Static
getConverts a registration credential into the outcome expected by OpenAM.
The credential to convert
The outcome string
Static
createConverts authentication tree metadata into options required by the browser Web Authentication API.
The metadata provided in the authentication tree MetadataCallback
The Web Authentication API request options
Static
createConverts authentication tree metadata into options required by the browser Web Authentication API.
The metadata provided in the authentication tree MetadataCallback
The Web Authentication API request options
Utility for integrating a web browser's WebAuthn API.
Example: