Removes all the credentials stored in the Virtual Authenticator. If a Virtual Authenticator has not been added yet.
()
| 1196 | /// </summary> |
| 1197 | /// <exception cref="InvalidOperationException">If a Virtual Authenticator has not been added yet.</exception> |
| 1198 | public void RemoveAllCredentials() |
| 1199 | { |
| 1200 | string authenticatorId = this.AuthenticatorId ?? throw new InvalidOperationException("Virtual Authenticator needs to be added before it can perform operations"); |
| 1201 | |
| 1202 | Dictionary<string, object?> parameters = new Dictionary<string, object?>(); |
| 1203 | parameters.Add("authenticatorId", authenticatorId); |
| 1204 | |
| 1205 | this.Execute(driverCommandToExecute: DriverCommand.RemoveAllCredentials, parameters); |
| 1206 | } |
| 1207 | |
| 1208 | /// <summary> |
| 1209 | /// Sets the isUserVerified property for the Virtual Authenticator. |