Stability | experimental |
---|---|
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
This module defines default values for fields of webauthn structures that
are optional but have a default specified. The identifiers here all have the
pattern of fieldDefault
indicating that this is the default value for
field field
defined in Types
These default values are used when the respective fields are missing during decoding. They may also be used by relying parties that don't want to set the respective fields to their default. This is needed because defaults for such fields can't be easily mapped to Haskell's records, see Crypto.WebAuthn.Model.Types
Synopsis
- ascUserVerificationDefault :: UserVerificationRequirement
- ascResidentKeyDefault :: Maybe Bool -> ResidentKeyRequirement
- corAttestationDefault :: AttestationConveyancePreference
- corExcludeCredentialsDefault :: [CredentialDescriptor]
- coaUserVerificationDefault :: UserVerificationRequirement
- coaAllowCredentialsDefault :: [CredentialDescriptor]
Documentation
ascUserVerificationDefault :: UserVerificationRequirement Source #
(spec) Returns the default of the field ascUserVerification
ascResidentKeyDefault :: Maybe Bool -> ResidentKeyRequirement Source #
(spec) Returns the default of the field ascResidentKey
based on the
value of requireResidentKey
corAttestationDefault :: AttestationConveyancePreference Source #
(spec) Returns the default of the field corAttestation
corExcludeCredentialsDefault :: [CredentialDescriptor] Source #
(spec) Returns the default of the field corExcludeCredentials
coaUserVerificationDefault :: UserVerificationRequirement Source #
(spec) Returns the default of the field coaUserVerification
coaAllowCredentialsDefault :: [CredentialDescriptor] Source #
(spec) Returns the default of the field coaAllowCredentials