Creates a Virtual Authenticator. Virtual Authenticator Options . Authenticator id as string If is .
(VirtualAuthenticatorOptions options)
| 1081 | /// <returns> Authenticator id as string </returns> |
| 1082 | /// <exception cref="ArgumentNullException">If <paramref name="options"/> is <see langword="null"/>.</exception> |
| 1083 | public string AddVirtualAuthenticator(VirtualAuthenticatorOptions options) |
| 1084 | { |
| 1085 | ArgumentNullException.ThrowIfNull(options); |
| 1086 | |
| 1087 | Response commandResponse = this.Execute(DriverCommand.AddVirtualAuthenticator, options.ToDictionary()); |
| 1088 | |
| 1089 | commandResponse.EnsureValueIsNotNull(); |
| 1090 | string id = (string)commandResponse.Value; |
| 1091 | this.AuthenticatorId = id; |
| 1092 | return id; |
| 1093 | } |
| 1094 | |
| 1095 | /// <summary> |
| 1096 | /// Removes the Virtual Authenticator |