Class WebAuthnAdapter
Represents an adapter for the WebAuthn domain to simplify the command interface.
public class WebAuthnAdapter- Inheritance
- 
      
      WebAuthnAdapter
- Inherited Members
Constructors
WebAuthnAdapter(IDevToolsSession)
Initializes a new instance of the WebAuthnAdapter class.
public WebAuthnAdapter(IDevToolsSession session)Parameters
- sessionIDevToolsSession
- The IDevToolsSession to be used with this adapter. 
Exceptions
- ArgumentNullException
- If - sessionis null.
Properties
Session
Gets the DevToolsSession associated with the adapter.
public IDevToolsSession Session { get; }Property Value
Methods
AddCredential(AddCredentialCommandSettings, CancellationToken, int?, bool)
addCredential
public Task<AddCredentialCommandResponse?> AddCredential(AddCredentialCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)Parameters
- commandAddCredentialCommandSettings
- cancellationTokenCancellationToken
- millisecondsTimeoutint?
- throwExceptionIfResponseNotReceivedbool
Returns
AddVirtualAuthenticator(AddVirtualAuthenticatorCommandSettings, CancellationToken, int?, bool)
addVirtualAuthenticator
public Task<AddVirtualAuthenticatorCommandResponse> AddVirtualAuthenticator(AddVirtualAuthenticatorCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)Parameters
- commandAddVirtualAuthenticatorCommandSettings
- cancellationTokenCancellationToken
- millisecondsTimeoutint?
- throwExceptionIfResponseNotReceivedbool
Returns
ClearCredentials(ClearCredentialsCommandSettings, CancellationToken, int?, bool)
clearCredentials
public Task<ClearCredentialsCommandResponse?> ClearCredentials(ClearCredentialsCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)Parameters
- commandClearCredentialsCommandSettings
- cancellationTokenCancellationToken
- millisecondsTimeoutint?
- throwExceptionIfResponseNotReceivedbool
Returns
Disable(DisableCommandSettings?, CancellationToken, int?, bool)
disable
public Task<DisableCommandResponse?> Disable(DisableCommandSettings? command = null, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)Parameters
- commandDisableCommandSettings
- cancellationTokenCancellationToken
- millisecondsTimeoutint?
- throwExceptionIfResponseNotReceivedbool
Returns
Enable(EnableCommandSettings, CancellationToken, int?, bool)
enable
public Task<EnableCommandResponse?> Enable(EnableCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)Parameters
- commandEnableCommandSettings
- cancellationTokenCancellationToken
- millisecondsTimeoutint?
- throwExceptionIfResponseNotReceivedbool
Returns
GetCredential(GetCredentialCommandSettings, CancellationToken, int?, bool)
getCredential
public Task<GetCredentialCommandResponse> GetCredential(GetCredentialCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)Parameters
- commandGetCredentialCommandSettings
- cancellationTokenCancellationToken
- millisecondsTimeoutint?
- throwExceptionIfResponseNotReceivedbool
Returns
GetCredentials(GetCredentialsCommandSettings, CancellationToken, int?, bool)
getCredentials
public Task<GetCredentialsCommandResponse> GetCredentials(GetCredentialsCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)Parameters
- commandGetCredentialsCommandSettings
- cancellationTokenCancellationToken
- millisecondsTimeoutint?
- throwExceptionIfResponseNotReceivedbool
Returns
RemoveCredential(RemoveCredentialCommandSettings, CancellationToken, int?, bool)
removeCredential
public Task<RemoveCredentialCommandResponse?> RemoveCredential(RemoveCredentialCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)Parameters
- commandRemoveCredentialCommandSettings
- cancellationTokenCancellationToken
- millisecondsTimeoutint?
- throwExceptionIfResponseNotReceivedbool
Returns
RemoveVirtualAuthenticator(RemoveVirtualAuthenticatorCommandSettings, CancellationToken, int?, bool)
removeVirtualAuthenticator
public Task<RemoveVirtualAuthenticatorCommandResponse?> RemoveVirtualAuthenticator(RemoveVirtualAuthenticatorCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)Parameters
- commandRemoveVirtualAuthenticatorCommandSettings
- cancellationTokenCancellationToken
- millisecondsTimeoutint?
- throwExceptionIfResponseNotReceivedbool
Returns
SetAutomaticPresenceSimulation(SetAutomaticPresenceSimulationCommandSettings, CancellationToken, int?, bool)
setAutomaticPresenceSimulation
public Task<SetAutomaticPresenceSimulationCommandResponse?> SetAutomaticPresenceSimulation(SetAutomaticPresenceSimulationCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)Parameters
- commandSetAutomaticPresenceSimulationCommandSettings
- cancellationTokenCancellationToken
- millisecondsTimeoutint?
- throwExceptionIfResponseNotReceivedbool
Returns
SetCredentialProperties(SetCredentialPropertiesCommandSettings, CancellationToken, int?, bool)
setCredentialProperties
public Task<SetCredentialPropertiesCommandResponse?> SetCredentialProperties(SetCredentialPropertiesCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)Parameters
- commandSetCredentialPropertiesCommandSettings
- cancellationTokenCancellationToken
- millisecondsTimeoutint?
- throwExceptionIfResponseNotReceivedbool
Returns
SetResponseOverrideBits(SetResponseOverrideBitsCommandSettings, CancellationToken, int?, bool)
setResponseOverrideBits
public Task<SetResponseOverrideBitsCommandResponse?> SetResponseOverrideBits(SetResponseOverrideBitsCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)Parameters
- commandSetResponseOverrideBitsCommandSettings
- cancellationTokenCancellationToken
- millisecondsTimeoutint?
- throwExceptionIfResponseNotReceivedbool
Returns
SetUserVerified(SetUserVerifiedCommandSettings, CancellationToken, int?, bool)
setUserVerified
public Task<SetUserVerifiedCommandResponse?> SetUserVerified(SetUserVerifiedCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)Parameters
- commandSetUserVerifiedCommandSettings
- cancellationTokenCancellationToken
- millisecondsTimeoutint?
- throwExceptionIfResponseNotReceivedbool
Returns
Events
CredentialAdded
credentialAdded
public event EventHandler<CredentialAddedEventArgs>? CredentialAddedEvent Type
CredentialAsserted
credentialAsserted
public event EventHandler<CredentialAssertedEventArgs>? CredentialAssertedEvent Type
CredentialDeleted
credentialDeleted
public event EventHandler<CredentialDeletedEventArgs>? CredentialDeletedEvent Type
CredentialUpdated
credentialUpdated
public event EventHandler<CredentialUpdatedEventArgs>? CredentialUpdated