PasskeyCapabilities

class PasskeyCapabilities(val isSupported: Boolean, val immediateSignIn: Boolean, val unifiedPasswordSignIn: Boolean, val conditionalCreate: Boolean, val signals: Boolean, val autofill: Boolean)

What this device/OS supports. Instances are created by PassKi; the constructor is internal API so fields can be added without breaking binaries.

Constructors

Link copied to clipboard
constructor(isSupported: Boolean, immediateSignIn: Boolean, unifiedPasswordSignIn: Boolean, conditionalCreate: Boolean, signals: Boolean, autofill: Boolean)

Properties

Link copied to clipboard

SignInMode.Autofill (passkey suggestions in the username field's keyboard) is available.

Link copied to clipboard

Passkeys.upgrade (conditional create) is available. On Android this reflects OS support; the user's credential provider may still decline (operation then returns NotSupported).

Link copied to clipboard
Link copied to clipboard

Passkeys can be used at all. When false, every operation fails with PasskeyError.NotSupported.

Link copied to clipboard

PasskeySignals calls are available. On Android this reflects OS support; the user's credential provider may still decline (operation then returns NotSupported).

Functions

Link copied to clipboard
open override fun toString(): String