Safe Haskell | None |
---|---|
Language | Haskell2010 |
WebAuthn
This domain allows configuring virtual authenticators to test the WebAuthn API.
Synopsis
- data PWebAuthnSetAutomaticPresenceSimulation = PWebAuthnSetAutomaticPresenceSimulation {}
- data PWebAuthnSetUserVerified = PWebAuthnSetUserVerified {}
- data PWebAuthnClearCredentials = PWebAuthnClearCredentials {}
- data PWebAuthnRemoveCredential = PWebAuthnRemoveCredential {}
- data WebAuthnGetCredentials = WebAuthnGetCredentials {}
- data PWebAuthnGetCredentials = PWebAuthnGetCredentials {}
- data WebAuthnGetCredential = WebAuthnGetCredential {}
- data PWebAuthnGetCredential = PWebAuthnGetCredential {}
- data PWebAuthnAddCredential = PWebAuthnAddCredential {}
- data PWebAuthnRemoveVirtualAuthenticator = PWebAuthnRemoveVirtualAuthenticator {}
- data WebAuthnAddVirtualAuthenticator = WebAuthnAddVirtualAuthenticator {}
- data PWebAuthnAddVirtualAuthenticator = PWebAuthnAddVirtualAuthenticator {}
- data PWebAuthnDisable = PWebAuthnDisable
- data PWebAuthnEnable = PWebAuthnEnable {}
- data WebAuthnCredential = WebAuthnCredential {}
- data WebAuthnVirtualAuthenticatorOptions = WebAuthnVirtualAuthenticatorOptions {
- webAuthnVirtualAuthenticatorOptionsProtocol :: WebAuthnAuthenticatorProtocol
- webAuthnVirtualAuthenticatorOptionsCtap2Version :: Maybe WebAuthnCtap2Version
- webAuthnVirtualAuthenticatorOptionsTransport :: WebAuthnAuthenticatorTransport
- webAuthnVirtualAuthenticatorOptionsHasResidentKey :: Maybe Bool
- webAuthnVirtualAuthenticatorOptionsHasUserVerification :: Maybe Bool
- webAuthnVirtualAuthenticatorOptionsHasLargeBlob :: Maybe Bool
- webAuthnVirtualAuthenticatorOptionsHasCredBlob :: Maybe Bool
- webAuthnVirtualAuthenticatorOptionsHasMinPinLength :: Maybe Bool
- webAuthnVirtualAuthenticatorOptionsAutomaticPresenceSimulation :: Maybe Bool
- webAuthnVirtualAuthenticatorOptionsIsUserVerified :: Maybe Bool
- data WebAuthnAuthenticatorTransport
- data WebAuthnCtap2Version
- data WebAuthnAuthenticatorProtocol
- type WebAuthnAuthenticatorId = Text
- pWebAuthnEnable :: PWebAuthnEnable
- pWebAuthnDisable :: PWebAuthnDisable
- pWebAuthnAddVirtualAuthenticator :: WebAuthnVirtualAuthenticatorOptions -> PWebAuthnAddVirtualAuthenticator
- pWebAuthnRemoveVirtualAuthenticator :: WebAuthnAuthenticatorId -> PWebAuthnRemoveVirtualAuthenticator
- pWebAuthnAddCredential :: WebAuthnAuthenticatorId -> WebAuthnCredential -> PWebAuthnAddCredential
- pWebAuthnGetCredential :: WebAuthnAuthenticatorId -> Text -> PWebAuthnGetCredential
- pWebAuthnGetCredentials :: WebAuthnAuthenticatorId -> PWebAuthnGetCredentials
- pWebAuthnRemoveCredential :: WebAuthnAuthenticatorId -> Text -> PWebAuthnRemoveCredential
- pWebAuthnClearCredentials :: WebAuthnAuthenticatorId -> PWebAuthnClearCredentials
- pWebAuthnSetUserVerified :: WebAuthnAuthenticatorId -> Bool -> PWebAuthnSetUserVerified
- pWebAuthnSetAutomaticPresenceSimulation :: WebAuthnAuthenticatorId -> Bool -> PWebAuthnSetAutomaticPresenceSimulation
Documentation
data PWebAuthnSetAutomaticPresenceSimulation Source #
Sets whether tests of user presence will succeed immediately (if true) or fail to resolve (if false) for an authenticator. The default is true.
Parameters of the setAutomaticPresenceSimulation
command.
Instances
data PWebAuthnSetUserVerified Source #
Sets whether User Verification succeeds or fails for an authenticator. The default is true.
Parameters of the setUserVerified
command.
Instances
Eq PWebAuthnSetUserVerified Source # | |
Defined in CDP.Domains.WebAuthn | |
Show PWebAuthnSetUserVerified Source # | |
Defined in CDP.Domains.WebAuthn showsPrec :: Int -> PWebAuthnSetUserVerified -> ShowS # show :: PWebAuthnSetUserVerified -> String # showList :: [PWebAuthnSetUserVerified] -> ShowS # | |
ToJSON PWebAuthnSetUserVerified Source # | |
Defined in CDP.Domains.WebAuthn | |
Command PWebAuthnSetUserVerified Source # | |
type CommandResponse PWebAuthnSetUserVerified Source # | |
Defined in CDP.Domains.WebAuthn |
data PWebAuthnClearCredentials Source #
Clears all the credentials from the specified device.
Parameters of the clearCredentials
command.
Instances
Eq PWebAuthnClearCredentials Source # | |
Defined in CDP.Domains.WebAuthn | |
Show PWebAuthnClearCredentials Source # | |
Defined in CDP.Domains.WebAuthn showsPrec :: Int -> PWebAuthnClearCredentials -> ShowS # show :: PWebAuthnClearCredentials -> String # showList :: [PWebAuthnClearCredentials] -> ShowS # | |
ToJSON PWebAuthnClearCredentials Source # | |
Defined in CDP.Domains.WebAuthn | |
Command PWebAuthnClearCredentials Source # | |
type CommandResponse PWebAuthnClearCredentials Source # | |
Defined in CDP.Domains.WebAuthn |
data PWebAuthnRemoveCredential Source #
Removes a credential from the authenticator.
Parameters of the removeCredential
command.
Instances
Eq PWebAuthnRemoveCredential Source # | |
Defined in CDP.Domains.WebAuthn | |
Show PWebAuthnRemoveCredential Source # | |
Defined in CDP.Domains.WebAuthn showsPrec :: Int -> PWebAuthnRemoveCredential -> ShowS # show :: PWebAuthnRemoveCredential -> String # showList :: [PWebAuthnRemoveCredential] -> ShowS # | |
ToJSON PWebAuthnRemoveCredential Source # | |
Defined in CDP.Domains.WebAuthn | |
Command PWebAuthnRemoveCredential Source # | |
type CommandResponse PWebAuthnRemoveCredential Source # | |
Defined in CDP.Domains.WebAuthn |
data WebAuthnGetCredentials Source #
Instances
Eq WebAuthnGetCredentials Source # | |
Defined in CDP.Domains.WebAuthn | |
Show WebAuthnGetCredentials Source # | |
Defined in CDP.Domains.WebAuthn showsPrec :: Int -> WebAuthnGetCredentials -> ShowS # show :: WebAuthnGetCredentials -> String # showList :: [WebAuthnGetCredentials] -> ShowS # | |
FromJSON WebAuthnGetCredentials Source # | |
Defined in CDP.Domains.WebAuthn |
data PWebAuthnGetCredentials Source #
Returns all the credentials stored in the given virtual authenticator.
Parameters of the getCredentials
command.
Instances
Eq PWebAuthnGetCredentials Source # | |
Defined in CDP.Domains.WebAuthn | |
Show PWebAuthnGetCredentials Source # | |
Defined in CDP.Domains.WebAuthn showsPrec :: Int -> PWebAuthnGetCredentials -> ShowS # show :: PWebAuthnGetCredentials -> String # showList :: [PWebAuthnGetCredentials] -> ShowS # | |
ToJSON PWebAuthnGetCredentials Source # | |
Defined in CDP.Domains.WebAuthn | |
Command PWebAuthnGetCredentials Source # | |
type CommandResponse PWebAuthnGetCredentials Source # | |
Defined in CDP.Domains.WebAuthn |
data WebAuthnGetCredential Source #
Instances
Eq WebAuthnGetCredential Source # | |
Defined in CDP.Domains.WebAuthn (==) :: WebAuthnGetCredential -> WebAuthnGetCredential -> Bool # (/=) :: WebAuthnGetCredential -> WebAuthnGetCredential -> Bool # | |
Show WebAuthnGetCredential Source # | |
Defined in CDP.Domains.WebAuthn showsPrec :: Int -> WebAuthnGetCredential -> ShowS # show :: WebAuthnGetCredential -> String # showList :: [WebAuthnGetCredential] -> ShowS # | |
FromJSON WebAuthnGetCredential Source # | |
Defined in CDP.Domains.WebAuthn parseJSON :: Value -> Parser WebAuthnGetCredential # parseJSONList :: Value -> Parser [WebAuthnGetCredential] # |
data PWebAuthnGetCredential Source #
Returns a single credential stored in the given virtual authenticator that matches the credential ID.
Parameters of the getCredential
command.
Instances
Eq PWebAuthnGetCredential Source # | |
Defined in CDP.Domains.WebAuthn | |
Show PWebAuthnGetCredential Source # | |
Defined in CDP.Domains.WebAuthn showsPrec :: Int -> PWebAuthnGetCredential -> ShowS # show :: PWebAuthnGetCredential -> String # showList :: [PWebAuthnGetCredential] -> ShowS # | |
ToJSON PWebAuthnGetCredential Source # | |
Defined in CDP.Domains.WebAuthn toJSON :: PWebAuthnGetCredential -> Value # toEncoding :: PWebAuthnGetCredential -> Encoding # toJSONList :: [PWebAuthnGetCredential] -> Value # | |
Command PWebAuthnGetCredential Source # | |
type CommandResponse PWebAuthnGetCredential Source # | |
Defined in CDP.Domains.WebAuthn |
data PWebAuthnAddCredential Source #
Adds the credential to the specified authenticator.
Parameters of the addCredential
command.
Instances
Eq PWebAuthnAddCredential Source # | |
Defined in CDP.Domains.WebAuthn | |
Show PWebAuthnAddCredential Source # | |
Defined in CDP.Domains.WebAuthn showsPrec :: Int -> PWebAuthnAddCredential -> ShowS # show :: PWebAuthnAddCredential -> String # showList :: [PWebAuthnAddCredential] -> ShowS # | |
ToJSON PWebAuthnAddCredential Source # | |
Defined in CDP.Domains.WebAuthn toJSON :: PWebAuthnAddCredential -> Value # toEncoding :: PWebAuthnAddCredential -> Encoding # toJSONList :: [PWebAuthnAddCredential] -> Value # | |
Command PWebAuthnAddCredential Source # | |
type CommandResponse PWebAuthnAddCredential Source # | |
Defined in CDP.Domains.WebAuthn |
data PWebAuthnRemoveVirtualAuthenticator Source #
Removes the given authenticator.
Parameters of the removeVirtualAuthenticator
command.
Instances
data WebAuthnAddVirtualAuthenticator Source #
Instances
data PWebAuthnAddVirtualAuthenticator Source #
Creates and adds a virtual authenticator.
Parameters of the addVirtualAuthenticator
command.
data PWebAuthnDisable Source #
Disable the WebAuthn domain.
Parameters of the disable
command.
Instances
Eq PWebAuthnDisable Source # | |
Defined in CDP.Domains.WebAuthn (==) :: PWebAuthnDisable -> PWebAuthnDisable -> Bool # (/=) :: PWebAuthnDisable -> PWebAuthnDisable -> Bool # | |
Show PWebAuthnDisable Source # | |
Defined in CDP.Domains.WebAuthn showsPrec :: Int -> PWebAuthnDisable -> ShowS # show :: PWebAuthnDisable -> String # showList :: [PWebAuthnDisable] -> ShowS # | |
ToJSON PWebAuthnDisable Source # | |
Defined in CDP.Domains.WebAuthn toJSON :: PWebAuthnDisable -> Value # toEncoding :: PWebAuthnDisable -> Encoding # toJSONList :: [PWebAuthnDisable] -> Value # toEncodingList :: [PWebAuthnDisable] -> Encoding # | |
Command PWebAuthnDisable Source # | |
Defined in CDP.Domains.WebAuthn | |
type CommandResponse PWebAuthnDisable Source # | |
Defined in CDP.Domains.WebAuthn |
data PWebAuthnEnable Source #
Enable the WebAuthn domain and start intercepting credential storage and retrieval with a virtual authenticator.
Parameters of the enable
command.
PWebAuthnEnable | |
|
Instances
Eq PWebAuthnEnable Source # | |
Defined in CDP.Domains.WebAuthn (==) :: PWebAuthnEnable -> PWebAuthnEnable -> Bool # (/=) :: PWebAuthnEnable -> PWebAuthnEnable -> Bool # | |
Show PWebAuthnEnable Source # | |
Defined in CDP.Domains.WebAuthn showsPrec :: Int -> PWebAuthnEnable -> ShowS # show :: PWebAuthnEnable -> String # showList :: [PWebAuthnEnable] -> ShowS # | |
ToJSON PWebAuthnEnable Source # | |
Defined in CDP.Domains.WebAuthn toJSON :: PWebAuthnEnable -> Value # toEncoding :: PWebAuthnEnable -> Encoding # toJSONList :: [PWebAuthnEnable] -> Value # toEncodingList :: [PWebAuthnEnable] -> Encoding # | |
Command PWebAuthnEnable Source # | |
Defined in CDP.Domains.WebAuthn commandName :: Proxy PWebAuthnEnable -> String Source # fromJSON :: Proxy PWebAuthnEnable -> Value -> Result (CommandResponse PWebAuthnEnable) Source # | |
type CommandResponse PWebAuthnEnable Source # | |
Defined in CDP.Domains.WebAuthn |
data WebAuthnCredential Source #
Type Credential
.
WebAuthnCredential | |
|
Instances
Eq WebAuthnCredential Source # | |
Defined in CDP.Domains.WebAuthn (==) :: WebAuthnCredential -> WebAuthnCredential -> Bool # (/=) :: WebAuthnCredential -> WebAuthnCredential -> Bool # | |
Show WebAuthnCredential Source # | |
Defined in CDP.Domains.WebAuthn showsPrec :: Int -> WebAuthnCredential -> ShowS # show :: WebAuthnCredential -> String # showList :: [WebAuthnCredential] -> ShowS # | |
ToJSON WebAuthnCredential Source # | |
Defined in CDP.Domains.WebAuthn toJSON :: WebAuthnCredential -> Value # toEncoding :: WebAuthnCredential -> Encoding # toJSONList :: [WebAuthnCredential] -> Value # toEncodingList :: [WebAuthnCredential] -> Encoding # | |
FromJSON WebAuthnCredential Source # | |
Defined in CDP.Domains.WebAuthn parseJSON :: Value -> Parser WebAuthnCredential # parseJSONList :: Value -> Parser [WebAuthnCredential] # |
data WebAuthnVirtualAuthenticatorOptions Source #
data WebAuthnAuthenticatorTransport Source #
Type AuthenticatorTransport
.
WebAuthnAuthenticatorTransportUsb | |
WebAuthnAuthenticatorTransportNfc | |
WebAuthnAuthenticatorTransportBle | |
WebAuthnAuthenticatorTransportCable | |
WebAuthnAuthenticatorTransportInternal |
Instances
data WebAuthnCtap2Version Source #
Type Ctap2Version
.
Instances
data WebAuthnAuthenticatorProtocol Source #
Type AuthenticatorProtocol
.
Instances
type WebAuthnAuthenticatorId = Text Source #
Type AuthenticatorId
.
pWebAuthnAddVirtualAuthenticator :: WebAuthnVirtualAuthenticatorOptions -> PWebAuthnAddVirtualAuthenticator Source #
pWebAuthnRemoveVirtualAuthenticator :: WebAuthnAuthenticatorId -> PWebAuthnRemoveVirtualAuthenticator Source #