Something went wrong. Try again.
Something went wrong. Try again.
1234567891011121314151617181920212223242526272829303132333435363738394041pub const Ceremony = enum { create, get,
pub fn webauthnType(self: Ceremony) []const u8 { return switch (self) { .create => "webauthn.create", .get => "webauthn.get", }; }};
pub const UserVerification = enum { discouraged, preferred, required,};
pub const Error = error{ InvalidBase64Url, InvalidJson, MissingField, InvalidClientDataType, ChallengeMismatch, OriginMismatch, AuthenticatorDataTooShort, RpIdHashMismatch, UserPresenceRequired, UserVerificationRequired, AttestedCredentialDataMissing, ExtensionsUnsupported, UnsupportedAlgorithm, InvalidCoseKey, InvalidSignature, SignatureVerificationFailed, SignCountMismatch, InvalidAttestationObject, UnsupportedAttestationFormat, CredentialIdMismatch,};