webauthn-0.1.1.0: Relying party (server) implementation of the WebAuthn 2 specification
Stabilityinternal
Safe HaskellNone
LanguageHaskell2010

Crypto.WebAuthn.Model.WebIDL.Internal.Decoding

Description

This module handles the decoding of structures returned by the create() and get() methods while Registering a New Credential and Verifying an Authentication Assertion respectively.

Synopsis

Documentation

class Convert a => Decode a where Source #

Decode a indicates that the Haskell-specific type a can be decoded from the more generic JavaScript type IDL a with the decode function.

Minimal complete definition

Nothing

Methods

decode :: IDL a -> Either Text a Source #

default decode :: Coercible (IDL a) a => IDL a -> Either Text a Source #

Instances

Instances details
Decode CoseSignAlg Source # 
Instance details

Defined in Crypto.WebAuthn.Model.WebIDL.Internal.Decoding

Decode AuthenticatorSelectionCriteria Source #

(spec)

Instance details

Defined in Crypto.WebAuthn.Model.WebIDL.Internal.Decoding

Decode CredentialUserEntity Source # 
Instance details

Defined in Crypto.WebAuthn.Model.WebIDL.Internal.Decoding

Decode CredentialRpEntity Source # 
Instance details

Defined in Crypto.WebAuthn.Model.WebIDL.Internal.Decoding

Decode AuthenticationExtensionsClientOutputs Source # 
Instance details

Defined in Crypto.WebAuthn.Model.WebIDL.Internal.Decoding

Decode AssertionSignature Source # 
Instance details

Defined in Crypto.WebAuthn.Model.WebIDL.Internal.Decoding

Decode Timeout Source # 
Instance details

Defined in Crypto.WebAuthn.Model.WebIDL.Internal.Decoding

Decode Challenge Source # 
Instance details

Defined in Crypto.WebAuthn.Model.WebIDL.Internal.Decoding

Decode CredentialId Source # 
Instance details

Defined in Crypto.WebAuthn.Model.WebIDL.Internal.Decoding

Decode UserAccountName Source # 
Instance details

Defined in Crypto.WebAuthn.Model.WebIDL.Internal.Decoding

Decode UserAccountDisplayName Source # 
Instance details

Defined in Crypto.WebAuthn.Model.WebIDL.Internal.Decoding

Decode UserHandle Source # 
Instance details

Defined in Crypto.WebAuthn.Model.WebIDL.Internal.Decoding

Decode RelyingPartyName Source # 
Instance details

Defined in Crypto.WebAuthn.Model.WebIDL.Internal.Decoding

Decode RpId Source # 
Instance details

Defined in Crypto.WebAuthn.Model.WebIDL.Internal.Decoding

Decode AttestationConveyancePreference Source #

(spec) Its values SHOULD be members of AttestationConveyancePreference. Client platforms MUST ignore unknown values, treating an unknown value as if the member does not exist. Its default value is "none".

Instance details

Defined in Crypto.WebAuthn.Model.WebIDL.Internal.Decoding

Decode UserVerificationRequirement Source #

(spec) The value SHOULD be a member of UserVerificationRequirement but client platforms MUST ignore unknown values, treating an unknown value as if the member does not exist. The default is "preferred".

Instance details

Defined in Crypto.WebAuthn.Model.WebIDL.Internal.Decoding

Decode [CredentialDescriptor] Source #

(spec) [The type] member contains the type of the public key credential the caller is referring to. The value SHOULD be a member of PublicKeyCredentialType but client platforms MUST ignore any PublicKeyCredentialDescriptor with an unknown type.

Instance details

Defined in Crypto.WebAuthn.Model.WebIDL.Internal.Decoding

Decode [CredentialParameters] Source # 
Instance details

Defined in Crypto.WebAuthn.Model.WebIDL.Internal.Decoding

Decode [AuthenticatorTransport] Source #

(spec)

Instance details

Defined in Crypto.WebAuthn.Model.WebIDL.Internal.Decoding

Decode a => Decode (Maybe a) Source # 
Instance details

Defined in Crypto.WebAuthn.Model.WebIDL.Internal.Decoding

Methods

decode :: IDL (Maybe a) -> Either Text (Maybe a) Source #

Decode (CredentialOptions 'Registration) Source #

(spec)

Instance details

Defined in Crypto.WebAuthn.Model.WebIDL.Internal.Decoding

Decode (CredentialOptions 'Authentication) Source #

(spec)

Instance details

Defined in Crypto.WebAuthn.Model.WebIDL.Internal.Decoding

Decode (Credential 'Authentication 'True) Source # 
Instance details

Defined in Crypto.WebAuthn.Model.WebIDL.Internal.Decoding

Decode (AuthenticatorResponse 'Authentication 'True) Source # 
Instance details

Defined in Crypto.WebAuthn.Model.WebIDL.Internal.Decoding

Decode (AuthenticatorData 'Authentication 'True) Source # 
Instance details

Defined in Crypto.WebAuthn.Model.WebIDL.Internal.Decoding

SingI c => Decode (CollectedClientData c 'True) Source # 
Instance details

Defined in Crypto.WebAuthn.Model.WebIDL.Internal.Decoding