webauthn-0.5.0.1: Relying party (server) implementation of the WebAuthn 2 specification
Stabilityexperimental
Safe HaskellSafe-Inferred
LanguageHaskell2010

Crypto.WebAuthn.Model.Defaults

Description

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

Documentation

ascResidentKeyDefault :: Maybe Bool -> ResidentKeyRequirement Source #

(spec) Returns the default of the field ascResidentKey based on the value of requireResidentKey