Package-level declarations

Types

Link copied to clipboard
value class Aaguid

W3C WebAuthn L3: §6.5 AAGUID value in attested credential data.

Link copied to clipboard

W3C WebAuthn L3: §5.4.7 AttestationConveyancePreference enumeration.

Link copied to clipboard
data class AttestedCredentialData(val aaguid: Aaguid, val credentialId: CredentialId, val cosePublicKey: CosePublicKey)

W3C WebAuthn L3: §6.5. Attested Credential Data

Link copied to clipboard
data class AuthenticationExtensionsClientInputs(val prf: PrfExtensionInput? = null, val largeBlob: LargeBlobExtensionInput? = null, val relatedOrigins: List<String>? = null)

W3C WebAuthn L3: §9.1. WebAuthn Extensions

Link copied to clipboard
data class AuthenticationExtensionsClientOutputs(val prf: PrfExtensionOutput? = null, val largeBlob: LargeBlobExtensionOutput? = null)

W3C WebAuthn L3: §9.1. WebAuthn Extensions Output

Link copied to clipboard
data class AuthenticationExtensionsPRFValues(val first: Base64UrlBytes, val second: Base64UrlBytes? = null)

W3C WebAuthn L3: §9.2.1. AuthenticationExtensionsPRFValues dictionary

Link copied to clipboard
data class AuthenticationResponse(val credentialId: CredentialId, val clientDataJson: Base64UrlBytes, val rawAuthenticatorData: Base64UrlBytes, val authenticatorData: AuthenticatorData, val signature: Base64UrlBytes, val userHandle: UserHandle? = null, val authenticatorAttachment: AuthenticatorAttachment? = null, val extensions: AuthenticationExtensionsClientOutputs? = null)

W3C WebAuthn L3: §5.2.1. AuthenticatorAssertionResponse Interface

Link copied to clipboard

W3C WebAuthn L3: §5.4.5 AuthenticatorAttachment enumeration.

Link copied to clipboard
data class AuthenticatorData(val rpIdHash: RpIdHash, val flags: Int, val signCount: Long)

W3C WebAuthn L3: §6.1. Authenticator Data

Link copied to clipboard

W3C WebAuthn L3: §5.8.4 AuthenticatorTransport enumeration.

Link copied to clipboard

RFC 4648 §5 base64url bytes without padding, as required by WebAuthn JSON fields.

Link copied to clipboard
value class Challenge

W3C WebAuthn L3: §13.4.3 challenge requirements (minimum entropy/length).

Link copied to clipboard

W3C WebAuthn L3: §5.8.1 hash(clientDataJSON) carried in signature verification inputs.

Link copied to clipboard
data class CollectedClientData(val type: String, val challenge: Challenge, val origin: Origin, val crossOrigin: Boolean? = null)

W3C WebAuthn L3: §5.8.1. Client Data Used in WebAuthn Signatures (CollectedClientData)

Link copied to clipboard

W3C WebAuthn L3: §6.5.1 credentialPublicKey (COSE_Key) bytes.

Link copied to clipboard

W3C WebAuthn L3: §5.1 credential identifier type.

Link copied to clipboard
@RequiresOptIn(message = "This API depends on WebAuthn Level 3 features that may evolve before broader stabilization.", level = RequiresOptIn.Level.WARNING)
annotation class ExperimentalWebAuthnL3Api

Marker for APIs that depend on WebAuthn Level 3 features and may evolve with spec updates.

Link copied to clipboard
data class LargeBlobExtensionInput(val support: LargeBlobExtensionInput.LargeBlobSupport? = null, val read: Boolean? = null, val write: Base64UrlBytes? = null)

W3C WebAuthn L3: §9.2.2. Large blob storage extension (largeBlob)

Link copied to clipboard
data class LargeBlobExtensionOutput(val supported: Boolean? = null, val blob: Base64UrlBytes? = null, val written: Boolean? = null)

W3C WebAuthn L3: §9.2.2. Large blob storage extension (largeBlob) Output

Link copied to clipboard
value class Origin

W3C WebAuthn L3: §5.8.1 / §7 origin validation input.

Link copied to clipboard
data class PrfExtensionInput(val eval: AuthenticationExtensionsPRFValues? = null, val evalByCredential: Map<String, AuthenticationExtensionsPRFValues>? = null)

W3C WebAuthn L3: §9.2.1. HMAC Secret Extension (prf)

Link copied to clipboard
data class PrfExtensionOutput(val enabled: Boolean? = null, val results: AuthenticationExtensionsPRFValues? = null)

W3C WebAuthn L3: §9.2.1. HMAC Secret Extension (prf) Output

Link copied to clipboard
data class PublicKeyCredentialCreationOptions(val rp: PublicKeyCredentialRpEntity, val user: PublicKeyCredentialUserEntity, val challenge: Challenge, val pubKeyCredParams: List<PublicKeyCredentialParameters>, val timeoutMs: Long? = null, val excludeCredentials: List<PublicKeyCredentialDescriptor> = [], val authenticatorAttachment: AuthenticatorAttachment? = null, val residentKey: ResidentKeyRequirement = ResidentKeyRequirement.PREFERRED, val userVerification: UserVerificationRequirement = UserVerificationRequirement.PREFERRED, val attestation: AttestationConveyancePreference? = null, val extensions: AuthenticationExtensionsClientInputs? = null)

W3C WebAuthn L3: §5.4. Options for Credential Creation (PublicKeyCredentialCreationOptions)

Link copied to clipboard

W3C WebAuthn L3: §5.10.3. PublicKeyCredentialDescriptor Dictionary

Link copied to clipboard

W3C WebAuthn L3: §5.4.4. PublicKeyCredentialParameters Dictionary

Link copied to clipboard
data class PublicKeyCredentialRequestOptions(val challenge: Challenge, val rpId: RpId? = null, val timeoutMs: Long? = null, val allowCredentials: List<PublicKeyCredentialDescriptor> = [], val userVerification: UserVerificationRequirement = UserVerificationRequirement.PREFERRED, val extensions: AuthenticationExtensionsClientInputs? = null)

W3C WebAuthn L3: §5.5. Options for Assertion Generation (PublicKeyCredentialRequestOptions)

Link copied to clipboard
data class PublicKeyCredentialRpEntity(val id: RpId, val name: String)

W3C WebAuthn L3: §5.4.2. PublicKeyCredentialRpEntity Dictionary

Link copied to clipboard

W3C WebAuthn L3: §5.8 PublicKeyCredential.type values.

Link copied to clipboard
data class PublicKeyCredentialUserEntity(val id: UserHandle, val name: String, val displayName: String)

W3C WebAuthn L3: §5.4.3. PublicKeyCredentialUserEntity Dictionary

Link copied to clipboard
data class RawAuthenticationResponse(val credentialId: CredentialId, val clientDataJson: Base64UrlBytes, val authenticatorData: Base64UrlBytes, val signature: Base64UrlBytes, val userHandle: UserHandle? = null, val authenticatorAttachment: AuthenticatorAttachment? = null, val extensions: AuthenticationExtensionsClientOutputs? = null)

Byte-preserving assertion output before protocol interpretation.

Link copied to clipboard
data class RawRegistrationResponse(val credentialId: CredentialId, val clientDataJson: Base64UrlBytes, val attestationObject: Base64UrlBytes, val authenticatorAttachment: AuthenticatorAttachment? = null, val extensions: AuthenticationExtensionsClientOutputs? = null)

Byte-preserving credential-creation output before protocol interpretation.

Link copied to clipboard
data class RegistrationResponse(val credentialId: CredentialId, val clientDataJson: Base64UrlBytes, val attestationObject: Base64UrlBytes, val rawAuthenticatorData: AuthenticatorData, val attestedCredentialData: AttestedCredentialData, val authenticatorAttachment: AuthenticatorAttachment? = null, val extensions: AuthenticationExtensionsClientOutputs? = null)

W3C WebAuthn L3: §5.2. AuthenticatorAttestationResponse Interface

Link copied to clipboard

W3C WebAuthn L3: §5.4.6 ResidentKeyRequirement enumeration.

Link copied to clipboard
value class RpId

W3C WebAuthn L3: §4 Terminology and RP ID handling rules used by the ceremonies.

Link copied to clipboard
value class RpIdHash

W3C WebAuthn L3: §6.1 rpIdHash field from authenticator data.

Link copied to clipboard
value class UserHandle

W3C WebAuthn L3: §5.4.3 user handle type.

Link copied to clipboard

W3C WebAuthn L3: §5.4.6 UserVerificationRequirement enumeration.

Link copied to clipboard
sealed interface ValidationResult<out T>

Typed validation result used by WebAuthn model parsing and ceremony validation flows.

Link copied to clipboard
sealed interface WebAuthnExtension

Represents a standard or proprietary extension defined in the W3C WebAuthn specification (or IANA registry).

Link copied to clipboard
sealed interface WebAuthnValidationError

Structured validation errors used by model parsing and ceremony validation.

Functions

Link copied to clipboard
Link copied to clipboard