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 @JvmOverloads constructor(val activity: Activity, val domain: String, val sessionDurationMinutes: Int = 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 authenticateCompletable(parameters: Passkeys.AuthenticateParameters): CompletableFuture<AuthResponse>
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 registerCompletable(parameters: Passkeys.RegisterParameters): CompletableFuture<WebAuthnRegisterResponse>
Creates a new Passkey registration.
Link copied to clipboard
abstract fun update(parameters: Passkeys.UpdateParameters, callback: (WebAuthnUpdateResponse) -> Unit)
Updates a Passkey registration.
Link copied to clipboard
abstract fun updateCompletable(parameters: Passkeys.UpdateParameters): CompletableFuture<WebAuthnUpdateResponse>
Updates a Passkey registration.