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
session
IDevToolsSessionThe IDevToolsSession to be used with this adapter.
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
command
AddCredentialCommandSettingscancellationToken
CancellationTokenmillisecondsTimeout
int?throwExceptionIfResponseNotReceived
bool
Returns
AddVirtualAuthenticator(AddVirtualAuthenticatorCommandSettings, CancellationToken, int?, bool)
addVirtualAuthenticator
public Task<AddVirtualAuthenticatorCommandResponse> AddVirtualAuthenticator(AddVirtualAuthenticatorCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)
Parameters
command
AddVirtualAuthenticatorCommandSettingscancellationToken
CancellationTokenmillisecondsTimeout
int?throwExceptionIfResponseNotReceived
bool
Returns
ClearCredentials(ClearCredentialsCommandSettings, CancellationToken, int?, bool)
clearCredentials
public Task<ClearCredentialsCommandResponse> ClearCredentials(ClearCredentialsCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)
Parameters
command
ClearCredentialsCommandSettingscancellationToken
CancellationTokenmillisecondsTimeout
int?throwExceptionIfResponseNotReceived
bool
Returns
Disable(DisableCommandSettings, CancellationToken, int?, bool)
disable
public Task<DisableCommandResponse> Disable(DisableCommandSettings command = null, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)
Parameters
command
DisableCommandSettingscancellationToken
CancellationTokenmillisecondsTimeout
int?throwExceptionIfResponseNotReceived
bool
Returns
Enable(EnableCommandSettings, CancellationToken, int?, bool)
enable
public Task<EnableCommandResponse> Enable(EnableCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)
Parameters
command
EnableCommandSettingscancellationToken
CancellationTokenmillisecondsTimeout
int?throwExceptionIfResponseNotReceived
bool
Returns
GetCredential(GetCredentialCommandSettings, CancellationToken, int?, bool)
getCredential
public Task<GetCredentialCommandResponse> GetCredential(GetCredentialCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)
Parameters
command
GetCredentialCommandSettingscancellationToken
CancellationTokenmillisecondsTimeout
int?throwExceptionIfResponseNotReceived
bool
Returns
GetCredentials(GetCredentialsCommandSettings, CancellationToken, int?, bool)
getCredentials
public Task<GetCredentialsCommandResponse> GetCredentials(GetCredentialsCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)
Parameters
command
GetCredentialsCommandSettingscancellationToken
CancellationTokenmillisecondsTimeout
int?throwExceptionIfResponseNotReceived
bool
Returns
RemoveCredential(RemoveCredentialCommandSettings, CancellationToken, int?, bool)
removeCredential
public Task<RemoveCredentialCommandResponse> RemoveCredential(RemoveCredentialCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)
Parameters
command
RemoveCredentialCommandSettingscancellationToken
CancellationTokenmillisecondsTimeout
int?throwExceptionIfResponseNotReceived
bool
Returns
RemoveVirtualAuthenticator(RemoveVirtualAuthenticatorCommandSettings, CancellationToken, int?, bool)
removeVirtualAuthenticator
public Task<RemoveVirtualAuthenticatorCommandResponse> RemoveVirtualAuthenticator(RemoveVirtualAuthenticatorCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)
Parameters
command
RemoveVirtualAuthenticatorCommandSettingscancellationToken
CancellationTokenmillisecondsTimeout
int?throwExceptionIfResponseNotReceived
bool
Returns
SetAutomaticPresenceSimulation(SetAutomaticPresenceSimulationCommandSettings, CancellationToken, int?, bool)
setAutomaticPresenceSimulation
public Task<SetAutomaticPresenceSimulationCommandResponse> SetAutomaticPresenceSimulation(SetAutomaticPresenceSimulationCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)
Parameters
command
SetAutomaticPresenceSimulationCommandSettingscancellationToken
CancellationTokenmillisecondsTimeout
int?throwExceptionIfResponseNotReceived
bool
Returns
SetCredentialProperties(SetCredentialPropertiesCommandSettings, CancellationToken, int?, bool)
setCredentialProperties
public Task<SetCredentialPropertiesCommandResponse> SetCredentialProperties(SetCredentialPropertiesCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)
Parameters
command
SetCredentialPropertiesCommandSettingscancellationToken
CancellationTokenmillisecondsTimeout
int?throwExceptionIfResponseNotReceived
bool
Returns
SetResponseOverrideBits(SetResponseOverrideBitsCommandSettings, CancellationToken, int?, bool)
setResponseOverrideBits
public Task<SetResponseOverrideBitsCommandResponse> SetResponseOverrideBits(SetResponseOverrideBitsCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)
Parameters
command
SetResponseOverrideBitsCommandSettingscancellationToken
CancellationTokenmillisecondsTimeout
int?throwExceptionIfResponseNotReceived
bool
Returns
SetUserVerified(SetUserVerifiedCommandSettings, CancellationToken, int?, bool)
setUserVerified
public Task<SetUserVerifiedCommandResponse> SetUserVerified(SetUserVerifiedCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)
Parameters
command
SetUserVerifiedCommandSettingscancellationToken
CancellationTokenmillisecondsTimeout
int?throwExceptionIfResponseNotReceived
bool
Returns
Events
CredentialAdded
credentialAdded
public event EventHandler<CredentialAddedEventArgs> CredentialAdded
Event Type
CredentialAsserted
credentialAsserted
public event EventHandler<CredentialAssertedEventArgs> CredentialAsserted
Event Type
CredentialDeleted
credentialDeleted
public event EventHandler<CredentialDeletedEventArgs> CredentialDeleted
Event Type
CredentialUpdated
credentialUpdated
public event EventHandler<CredentialUpdatedEventArgs> CredentialUpdated