Table of Contents

Class WebAuthnAdapter

Namespace
OpenQA.Selenium.DevTools.V131.WebAuthn
Assembly
WebDriver.dll

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 IDevToolsSession

The IDevToolsSession to be used with this adapter.

Properties

Session

Gets the DevToolsSession associated with the adapter.

public IDevToolsSession Session { get; }

Property Value

IDevToolsSession

Methods

AddCredential(AddCredentialCommandSettings, CancellationToken, int?, bool)

addCredential

public Task<AddCredentialCommandResponse> AddCredential(AddCredentialCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)

Parameters

command AddCredentialCommandSettings
cancellationToken CancellationToken
millisecondsTimeout int?
throwExceptionIfResponseNotReceived bool

Returns

Task<AddCredentialCommandResponse>

AddVirtualAuthenticator(AddVirtualAuthenticatorCommandSettings, CancellationToken, int?, bool)

addVirtualAuthenticator

public Task<AddVirtualAuthenticatorCommandResponse> AddVirtualAuthenticator(AddVirtualAuthenticatorCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)

Parameters

command AddVirtualAuthenticatorCommandSettings
cancellationToken CancellationToken
millisecondsTimeout int?
throwExceptionIfResponseNotReceived bool

Returns

Task<AddVirtualAuthenticatorCommandResponse>

ClearCredentials(ClearCredentialsCommandSettings, CancellationToken, int?, bool)

clearCredentials

public Task<ClearCredentialsCommandResponse> ClearCredentials(ClearCredentialsCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)

Parameters

command ClearCredentialsCommandSettings
cancellationToken CancellationToken
millisecondsTimeout int?
throwExceptionIfResponseNotReceived bool

Returns

Task<ClearCredentialsCommandResponse>

Disable(DisableCommandSettings, CancellationToken, int?, bool)

disable

public Task<DisableCommandResponse> Disable(DisableCommandSettings command = null, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)

Parameters

command DisableCommandSettings
cancellationToken CancellationToken
millisecondsTimeout int?
throwExceptionIfResponseNotReceived bool

Returns

Task<DisableCommandResponse>

Enable(EnableCommandSettings, CancellationToken, int?, bool)

enable

public Task<EnableCommandResponse> Enable(EnableCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)

Parameters

command EnableCommandSettings
cancellationToken CancellationToken
millisecondsTimeout int?
throwExceptionIfResponseNotReceived bool

Returns

Task<EnableCommandResponse>

GetCredential(GetCredentialCommandSettings, CancellationToken, int?, bool)

getCredential

public Task<GetCredentialCommandResponse> GetCredential(GetCredentialCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)

Parameters

command GetCredentialCommandSettings
cancellationToken CancellationToken
millisecondsTimeout int?
throwExceptionIfResponseNotReceived bool

Returns

Task<GetCredentialCommandResponse>

GetCredentials(GetCredentialsCommandSettings, CancellationToken, int?, bool)

getCredentials

public Task<GetCredentialsCommandResponse> GetCredentials(GetCredentialsCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)

Parameters

command GetCredentialsCommandSettings
cancellationToken CancellationToken
millisecondsTimeout int?
throwExceptionIfResponseNotReceived bool

Returns

Task<GetCredentialsCommandResponse>

RemoveCredential(RemoveCredentialCommandSettings, CancellationToken, int?, bool)

removeCredential

public Task<RemoveCredentialCommandResponse> RemoveCredential(RemoveCredentialCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)

Parameters

command RemoveCredentialCommandSettings
cancellationToken CancellationToken
millisecondsTimeout int?
throwExceptionIfResponseNotReceived bool

Returns

Task<RemoveCredentialCommandResponse>

RemoveVirtualAuthenticator(RemoveVirtualAuthenticatorCommandSettings, CancellationToken, int?, bool)

removeVirtualAuthenticator

public Task<RemoveVirtualAuthenticatorCommandResponse> RemoveVirtualAuthenticator(RemoveVirtualAuthenticatorCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)

Parameters

command RemoveVirtualAuthenticatorCommandSettings
cancellationToken CancellationToken
millisecondsTimeout int?
throwExceptionIfResponseNotReceived bool

Returns

Task<RemoveVirtualAuthenticatorCommandResponse>

SetAutomaticPresenceSimulation(SetAutomaticPresenceSimulationCommandSettings, CancellationToken, int?, bool)

setAutomaticPresenceSimulation

public Task<SetAutomaticPresenceSimulationCommandResponse> SetAutomaticPresenceSimulation(SetAutomaticPresenceSimulationCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)

Parameters

command SetAutomaticPresenceSimulationCommandSettings
cancellationToken CancellationToken
millisecondsTimeout int?
throwExceptionIfResponseNotReceived bool

Returns

Task<SetAutomaticPresenceSimulationCommandResponse>

SetCredentialProperties(SetCredentialPropertiesCommandSettings, CancellationToken, int?, bool)

setCredentialProperties

public Task<SetCredentialPropertiesCommandResponse> SetCredentialProperties(SetCredentialPropertiesCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)

Parameters

command SetCredentialPropertiesCommandSettings
cancellationToken CancellationToken
millisecondsTimeout int?
throwExceptionIfResponseNotReceived bool

Returns

Task<SetCredentialPropertiesCommandResponse>

SetResponseOverrideBits(SetResponseOverrideBitsCommandSettings, CancellationToken, int?, bool)

setResponseOverrideBits

public Task<SetResponseOverrideBitsCommandResponse> SetResponseOverrideBits(SetResponseOverrideBitsCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)

Parameters

command SetResponseOverrideBitsCommandSettings
cancellationToken CancellationToken
millisecondsTimeout int?
throwExceptionIfResponseNotReceived bool

Returns

Task<SetResponseOverrideBitsCommandResponse>

SetUserVerified(SetUserVerifiedCommandSettings, CancellationToken, int?, bool)

setUserVerified

public Task<SetUserVerifiedCommandResponse> SetUserVerified(SetUserVerifiedCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)

Parameters

command SetUserVerifiedCommandSettings
cancellationToken CancellationToken
millisecondsTimeout int?
throwExceptionIfResponseNotReceived bool

Returns

Task<SetUserVerifiedCommandResponse>

Events

CredentialAdded

credentialAdded

public event EventHandler<CredentialAddedEventArgs> CredentialAdded

Event Type

EventHandler<CredentialAddedEventArgs>

CredentialAsserted

credentialAsserted

public event EventHandler<CredentialAssertedEventArgs> CredentialAsserted

Event Type

EventHandler<CredentialAssertedEventArgs>

CredentialDeleted

credentialDeleted

public event EventHandler<CredentialDeletedEventArgs> CredentialDeleted

Event Type

EventHandler<CredentialDeletedEventArgs>

CredentialUpdated

credentialUpdated

public event EventHandler<CredentialUpdatedEventArgs> CredentialUpdated

Event Type

EventHandler<CredentialUpdatedEventArgs>