WebAuthnJsonCodec
Codec contract for WebAuthn JSON values.
The interface deliberately contains no JSON implementation dependency, so applications can provide their preferred serializer while retaining the shared typed/raw boundary.
Functions
Link copied to clipboard
abstract fun decodeAuthenticationResponse(value: String): ValidationResult<RawAuthenticationResponse>
Link copied to clipboard
abstract fun decodeCollectedClientData(value: Base64UrlBytes): ValidationResult<CollectedClientData>
Link copied to clipboard
abstract fun decodeCreationOptions(value: String): ValidationResult<PublicKeyCredentialCreationOptions>
Link copied to clipboard
Link copied to clipboard
abstract fun decodeRequestOptions(value: String): ValidationResult<PublicKeyCredentialRequestOptions>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard