Table of Contents

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

original AuthChallenge

Properties

EqualityContract

protected virtual Type EqualityContract { get; }

Property Value

Type

Realm

Gets the realm of the authentication challenge.

[JsonPropertyName("realm")]
[JsonRequired]
[JsonInclude]
public string Realm { get; }

Property Value

string

Scheme

Gets the scheme of the authentication challenge.

[JsonPropertyName("scheme")]
[JsonRequired]
[JsonInclude]
public string Scheme { get; }

Property Value

string

Methods

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object

Returns

bool

Equals(AuthChallenge?)

public virtual bool Equals(AuthChallenge? other)

Parameters

other AuthChallenge

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

PrintMembers(StringBuilder)

protected virtual bool PrintMembers(StringBuilder builder)

Parameters

builder StringBuilder

Returns

bool

ToString()

public override string ToString()

Returns

string

Operators

operator ==(AuthChallenge?, AuthChallenge?)

public static bool operator ==(AuthChallenge? left, AuthChallenge? right)

Parameters

left AuthChallenge
right AuthChallenge

Returns

bool

operator !=(AuthChallenge?, AuthChallenge?)

public static bool operator !=(AuthChallenge? left, AuthChallenge? right)

Parameters

left AuthChallenge
right AuthChallenge

Returns

bool