Package-level declarations

Types

Link copied to clipboard
class FRWebAuthn(val context: Context, val webAuthnDataRepository: WebAuthnDataRepository = WebAuthnDataRepository.WebAuthnDataRepositoryBuilder().context(context) .build())

Manage PublicKeyCredentialSource that generated by the SDK. The PublicKeyCredentialSource only contains the reference to the actual key, deleting the PublicKeyCredentialSource does not delete the actual key

Link copied to clipboard
class PublicKeyCredentialSource(val id: ByteArray, val type: String = PublicKeyCredentialType.PUBLIC_KEY.toString(), val rpid: String, val userHandle: ByteArray, val otherUI: String, val created: Long) : Parcelable

Representation of Public Key Credential Source that received after WebAuthn registration.

Link copied to clipboard
abstract class WebAuthn

Abstract class to provide common utilities method for WebAuthnAuthentication and WebAuthnRegistration

Link copied to clipboard

Handle WebAuthn Authentication

Link copied to clipboard

Headless Fragment to handle PendingIntent from Fido2ApiClient

Link copied to clipboard

A Selector for credential key selection.

Link copied to clipboard

Handle WebAuthn Registration

Properties

Link copied to clipboard
private const val CREATED: String
Link copied to clipboard
private const val ID: String
Link copied to clipboard
private const val OTHER_UI: String
Link copied to clipboard
private const val PENDING_INTENT: String
Link copied to clipboard

A Simple Dialog to display key selection using a spinner

Link copied to clipboard
private const val RPID: String
Link copied to clipboard
private const val TYPE: String
Link copied to clipboard
private const val USER_HANDLE: String

Functions

Link copied to clipboard
fun PublicKeyCredentialCreationOptions.cloneWith(residentKeyRequirement: ResidentKeyRequirement): PublicKeyCredentialCreationOptions

fun PublicKeyCredentialRequestOptions.cloneWith(allowList: List<PublicKeyCredentialDescriptor>): PublicKeyCredentialRequestOptions

Clone this PublicKeyCredentialRequestOptions and replace PublicKeyCredentialRequestOptions.getAllowList with provided allowList