Passkeys
interface Passkeys
The Passkeys interface provides methods for detecting Passkeys support, registering, and authenticating with Passkeys.
Types
Link copied to clipboard
data class AuthenticateParameters(val activity: Activity, val domain: String, val sessionDurationMinutes: UInt = Constants.DEFAULT_SESSION_TIME_MINUTES)
Data class used for wrapping parameters used with Passkeys authentication
Link copied to clipboard
Data class used for wrapping parameters used with Passkeys registration
Link copied to clipboard
Data class used for wrapping parameters used with Passkeys updates
Functions
Link copied to clipboard
abstract fun authenticate(parameters: Passkeys.AuthenticateParameters, callback: (AuthResponse) -> Unit)
Authenticates a Passkey registration.
Link copied to clipboard
abstract fun register(parameters: Passkeys.RegisterParameters, callback: (WebAuthnRegisterResponse) -> Unit)
Creates a new Passkey registration.
Link copied to clipboard
abstract fun update(parameters: Passkeys.UpdateParameters, callback: (WebAuthnUpdateResponse) -> Unit)
Updates a Passkey registration.