WebAuthnRegistration

Handle WebAuthn Registration

Constructors

Link copied to clipboard
constructor(input: JSONObject)
constructor(options: PublicKeyCredentialCreationOptions)
constructor()

Properties

Link copied to clipboard
internal lateinit var options: PublicKeyCredentialCreationOptions

Functions

Link copied to clipboard
protected fun getAuthenticatorSelectionCriteria(value: JSONObject): AuthenticatorSelectionCriteria

Parse and retrieve AuthenticatorSelectionCriteria attribute

Link copied to clipboard
protected fun getCredentials(credentials: JSONArray): List<PublicKeyCredentialDescriptor>

Parse the PublicKeyCredentialDescriptor

Link copied to clipboard
protected fun getExcludeCredentials(value: JSONObject): List<PublicKeyCredentialDescriptor>

Parse and retrieve PublicKeyCredentialDescriptor attribute

Link copied to clipboard
open suspend override fun getPublicKeyCredential(context: Context): PublicKeyCredential
Link copied to clipboard
protected fun getPublicKeyCredentialParameters(value: JSONObject): List<PublicKeyCredentialParameters>

Parse and retrieve all the Public key credentials

Link copied to clipboard

Parse the relaying party id.

Link copied to clipboard
protected open suspend fun persist(context: Context, source: PublicKeyCredentialSource)
Link copied to clipboard
suspend fun register(context: Context): String