webauthn-0: Web Authentication API

Safe HaskellNone
LanguageHaskell2010

WebAuthn.Types

Contents

Synopsis

Relying party

data Origin Source #

Constructors

Origin 
Instances
Eq Origin Source # 
Instance details

Defined in WebAuthn.Types

Methods

(==) :: Origin -> Origin -> Bool #

(/=) :: Origin -> Origin -> Bool #

Ord Origin Source # 
Instance details

Defined in WebAuthn.Types

Show Origin Source # 
Instance details

Defined in WebAuthn.Types

FromJSON Origin Source # 
Instance details

Defined in WebAuthn.Types

data TokenBinding Source #

state of the Token Binding protocol (unsupported)

newtype Challenge Source #

  1. 1. Cryptographic Challenges

Constructors

Challenge 

data CollectedClientData Source #

  1. 10.1. Client Data Used in WebAuthn Signatures (dictionary CollectedClientData)

Credential

data AttestedCredentialData Source #

  1. 4.1. Attested Credential Data
Instances
Eq AttestedCredentialData Source # 
Instance details

Defined in WebAuthn.Types

Show AttestedCredentialData Source # 
Instance details

Defined in WebAuthn.Types

Generic AttestedCredentialData Source # 
Instance details

Defined in WebAuthn.Types

Associated Types

type Rep AttestedCredentialData :: Type -> Type #

ToJSON AttestedCredentialData Source # 
Instance details

Defined in WebAuthn.Types

FromJSON AttestedCredentialData Source # 
Instance details

Defined in WebAuthn.Types

type Rep AttestedCredentialData Source # 
Instance details

Defined in WebAuthn.Types

type Rep AttestedCredentialData = D1 (MetaData "AttestedCredentialData" "WebAuthn.Types" "webauthn-0-D7kkv1m3eu7AMrO2q5jdsU" False) (C1 (MetaCons "AttestedCredentialData" PrefixI True) (S1 (MetaSel (Just "aaguid") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 AAGUID) :*: (S1 (MetaSel (Just "credentialId") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 CredentialId) :*: S1 (MetaSel (Just "credentialPublicKey") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 CredentialPublicKey))))

newtype AAGUID Source #

AAGUID of the authenticator

Constructors

AAGUID 

Fields

Instances
Eq AAGUID Source # 
Instance details

Defined in WebAuthn.Types

Methods

(==) :: AAGUID -> AAGUID -> Bool #

(/=) :: AAGUID -> AAGUID -> Bool #

Show AAGUID Source # 
Instance details

Defined in WebAuthn.Types

ToJSON AAGUID Source # 
Instance details

Defined in WebAuthn.Types

FromJSON AAGUID Source # 
Instance details

Defined in WebAuthn.Types

newtype CredentialPublicKey Source #

credential public key encoded in COSE_Key format

newtype CredentialId Source #

A probabilistically-unique byte sequence identifying a public key credential source and its authentication assertions.

Constructors

CredentialId 

data User Source #

  1. 4.3. User Account Parameters for Credential Generation

Constructors

User 
Instances
Eq User Source # 
Instance details

Defined in WebAuthn.Types

Methods

(==) :: User -> User -> Bool #

(/=) :: User -> User -> Bool #

Show User Source # 
Instance details

Defined in WebAuthn.Types

Methods

showsPrec :: Int -> User -> ShowS #

show :: User -> String #

showList :: [User] -> ShowS #

Generic User Source # 
Instance details

Defined in WebAuthn.Types

Associated Types

type Rep User :: Type -> Type #

Methods

from :: User -> Rep User x #

to :: Rep User x -> User #

Serialise User Source # 
Instance details

Defined in WebAuthn.Types

type Rep User Source # 
Instance details

Defined in WebAuthn.Types

type Rep User = D1 (MetaData "User" "WebAuthn.Types" "webauthn-0-D7kkv1m3eu7AMrO2q5jdsU" False) (C1 (MetaCons "User" PrefixI True) (S1 (MetaSel (Just "userId") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 ByteString) :*: S1 (MetaSel (Just "userDisplayName") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 Text)))

Exception