Package-level declarations

Fake Passkeys implementation and option builders.

Types

Link copied to clipboard
class FakeAuthenticator(val origin: String, random: Random = Random.Default)

In-memory platform authenticator producing cryptographically valid WebAuthn responses (ES256, attestation "none"), so they pass real server verifiers.

Link copied to clipboard

A passkey stored by FakeAuthenticator.

Link copied to clipboard
class FakePasskeys(origin: String, random: Random = Random.Default) : Passkeys

Drop-in Passkeys for unit tests: real WebAuthn responses, no device.

Link copied to clipboard
sealed interface FakeSignal

A signal call recorded by FakePasskeys.signals, in FakePasskeys.receivedSignals.

Link copied to clipboard

Builds server-style WebAuthn options JSON for tests. Defaults come from a secure random source, safe under concurrency.