Table of Contents

Class AuthCredentials

Namespace
WebDriverBiDi.Network
Assembly
WebDriverBiDi.dll

A class providing credentials for authorization.

public class AuthCredentials
Inheritance
AuthCredentials
Inherited Members

Constructors

AuthCredentials()

Initializes a new instance of the AuthCredentials class.

public AuthCredentials()

AuthCredentials(string, string)

Initializes a new instance of the AuthCredentials class.

public AuthCredentials(string userName, string password)

Parameters

userName string

The user name for the credentials.

password string

The password for the credentials.

Properties

Password

Gets or sets the password used for authentication.

[JsonPropertyName("password")]
public string Password { get; set; }

Property Value

string

Type

Gets the type of credentials.

[JsonPropertyName("type")]
public string Type { get; }

Property Value

string

UserName

Gets or sets the user name to use for authentication.

[JsonPropertyName("username")]
public string UserName { get; set; }

Property Value

string