AndroidPasskeyClient

class AndroidPasskeyClient(contextProvider: PasskeyPromptContextProvider, credentialManagerFactory: (Context) -> CredentialManager = CredentialManager::create, codec: WebAuthnJsonCodec) : PasskeyClient

Android CredentialManager backed PasskeyClient implementation.

The supplied prompt context provider must resolve an Activity-backed context because passkey ceremonies may launch system UI.

Constructors

Link copied to clipboard
constructor(contextProvider: PasskeyPromptContextProvider, credentialManagerFactory: (Context) -> CredentialManager = CredentialManager::create, codec: WebAuthnJsonCodec)
constructor(context: Context, codec: WebAuthnJsonCodec, credentialManager: CredentialManager = CredentialManager.create(context))

Convenience constructor for apps that want default prompt-context handling.

Types

Link copied to clipboard
object Companion

Factory methods for explicitly owned Android passkey clients.

Functions

Link copied to clipboard
open suspend override fun capabilities(): PasskeyCapabilities
Link copied to clipboard
Link copied to clipboard