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
userNamestringThe user name for the credentials.
passwordstringThe password for the credentials.
Properties
Password
Gets or sets the password used for authentication.
[JsonPropertyName("password")]
public string Password { get; set; }
Property Value
Type
Gets the type of credentials.
[JsonPropertyName("type")]
public string Type { get; }
Property Value
UserName
Gets or sets the user name to use for authentication.
[JsonPropertyName("username")]
public string UserName { get; set; }