struct Protocol::WebAuthn::VirtualAuthenticatorOptions

Included Modules

Defined in:

protocol/web_authn.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def automatic_presence_simulation : Bool | Nil #

If set to true, tests of user presence will succeed immediately. Otherwise, they will not be resolved. Defaults to true.


[View source]
def ctap2_version : Ctap2Version | Nil #

Defaults to ctap2_0. Ignored if |protocol| == u2f.


[View source]
def has_cred_blob : Bool | Nil #

If set to true, the authenticator will support the credBlob extension. https://fidoalliance.org/specs/fido-v2.1-rd-20201208/fido-client-to-authenticator-protocol-v2.1-rd-20201208.html#sctn-credBlob-extension Defaults to false.


[View source]
def has_large_blob : Bool | Nil #

If set to true, the authenticator will support the largeBlob extension. https://w3c.github.io/webauthn#largeBlob Defaults to false.


[View source]
def has_min_pin_length : Bool | Nil #

If set to true, the authenticator will support the minPinLength extension. https://fidoalliance.org/specs/fido-v2.1-ps-20210615/fido-client-to-authenticator-protocol-v2.1-ps-20210615.html#sctn-minpinlength-extension Defaults to false.


[View source]
def has_resident_key : Bool | Nil #

Defaults to false.


[View source]
def has_user_verification : Bool | Nil #

Defaults to false.


[View source]
def is_user_verified : Bool | Nil #

Sets whether User Verification succeeds or fails for an authenticator. Defaults to false.


[View source]
def protocol : AuthenticatorProtocol #

[View source]
def transport : AuthenticatorTransport #

[View source]