Class VirtualAuthenticatorOptions


  • public class VirtualAuthenticatorOptions
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      VirtualAuthenticatorOptions​(AuthenticatorProtocol protocol, java.util.Optional<Ctap2Version> ctap2Version, AuthenticatorTransport transport, java.util.Optional<java.lang.Boolean> hasResidentKey, java.util.Optional<java.lang.Boolean> hasUserVerification, java.util.Optional<java.lang.Boolean> hasLargeBlob, java.util.Optional<java.lang.Boolean> hasCredBlob, java.util.Optional<java.lang.Boolean> hasMinPinLength, java.util.Optional<java.lang.Boolean> automaticPresenceSimulation, java.util.Optional<java.lang.Boolean> isUserVerified)  
    • Constructor Detail

      • VirtualAuthenticatorOptions

        public VirtualAuthenticatorOptions​(AuthenticatorProtocol protocol,
                                           java.util.Optional<Ctap2Version> ctap2Version,
                                           AuthenticatorTransport transport,
                                           java.util.Optional<java.lang.Boolean> hasResidentKey,
                                           java.util.Optional<java.lang.Boolean> hasUserVerification,
                                           java.util.Optional<java.lang.Boolean> hasLargeBlob,
                                           java.util.Optional<java.lang.Boolean> hasCredBlob,
                                           java.util.Optional<java.lang.Boolean> hasMinPinLength,
                                           java.util.Optional<java.lang.Boolean> automaticPresenceSimulation,
                                           java.util.Optional<java.lang.Boolean> isUserVerified)
    • Method Detail

      • getCtap2Version

        public java.util.Optional<Ctap2Version> getCtap2Version()
        Defaults to ctap2_0. Ignored if |protocol| == u2f.
      • getHasResidentKey

        public java.util.Optional<java.lang.Boolean> getHasResidentKey()
        Defaults to false.
      • getHasUserVerification

        public java.util.Optional<java.lang.Boolean> getHasUserVerification()
        Defaults to false.
      • getHasLargeBlob

        public java.util.Optional<java.lang.Boolean> getHasLargeBlob()
        If set to true, the authenticator will support the largeBlob extension. https://w3c.github.io/webauthn#largeBlob Defaults to false.
      • getHasCredBlob

        public java.util.Optional<java.lang.Boolean> getHasCredBlob()
        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.
      • getHasMinPinLength

        public java.util.Optional<java.lang.Boolean> getHasMinPinLength()
        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.
      • getAutomaticPresenceSimulation

        public java.util.Optional<java.lang.Boolean> getAutomaticPresenceSimulation()
        If set to true, tests of user presence will succeed immediately. Otherwise, they will not be resolved. Defaults to true.
      • getIsUserVerified

        public java.util.Optional<java.lang.Boolean> getIsUserVerified()
        Sets whether User Verification succeeds or fails for an authenticator. Defaults to false.