Class AuthChallenge
- Namespace
- WebDriverBiDi.Network
- Assembly
- WebDriverBiDi.dll
Represents an authentication challenge in a network response.
public record AuthChallenge : IEquatable<AuthChallenge>
- Inheritance
-
AuthChallenge
- Implements
- Inherited Members
Constructors
AuthChallenge(AuthChallenge)
protected AuthChallenge(AuthChallenge original)
Parameters
originalAuthChallenge
Properties
EqualityContract
protected virtual Type EqualityContract { get; }
Property Value
Realm
Gets the realm of the authentication challenge.
[JsonPropertyName("realm")]
[JsonRequired]
[JsonInclude]
public string Realm { get; }
Property Value
Scheme
Gets the scheme of the authentication challenge.
[JsonPropertyName("scheme")]
[JsonRequired]
[JsonInclude]
public string Scheme { get; }
Property Value
Methods
Equals(object?)
public override bool Equals(object? obj)
Parameters
objobject
Returns
Equals(AuthChallenge?)
public virtual bool Equals(AuthChallenge? other)
Parameters
otherAuthChallenge
Returns
GetHashCode()
public override int GetHashCode()
Returns
PrintMembers(StringBuilder)
protected virtual bool PrintMembers(StringBuilder builder)
Parameters
builderStringBuilder
Returns
ToString()
public override string ToString()
Returns
Operators
operator ==(AuthChallenge?, AuthChallenge?)
public static bool operator ==(AuthChallenge? left, AuthChallenge? right)
Parameters
leftAuthChallengerightAuthChallenge
Returns
operator !=(AuthChallenge?, AuthChallenge?)
public static bool operator !=(AuthChallenge? left, AuthChallenge? right)
Parameters
leftAuthChallengerightAuthChallenge