Exemple #1
0
        private void CreateRKDisabledU2FAuthenticator()
        {
            VirtualAuthenticatorOptions options = new VirtualAuthenticatorOptions()
                                                  .SetProtocol(Protocol.U2F)
                                                  .SetHasResidentKey(false);

            webDriver.AddVirtualAuthenticator(options);
        }
Exemple #2
0
        public void ShouldRemoveAuthenticator()
        {
            VirtualAuthenticatorOptions options = new VirtualAuthenticatorOptions();
            string authenticatorId = webDriver.AddVirtualAuthenticator(options);

            webDriver.RemoveVirtualAuthenticator(authenticatorId);

            Assert.IsNull(webDriver.AuthenticatorId);
        }
Exemple #3
0
        private void CreateRKDisabledCTAP2Authenticator()
        {
            VirtualAuthenticatorOptions options = new VirtualAuthenticatorOptions()
                                                  .SetProtocol(Protocol.CTAP2)
                                                  .SetHasResidentKey(false)
                                                  .SetHasUserVerification(true)
                                                  .SetIsUserVerified(true);

            webDriver.AddVirtualAuthenticator(options);
        }