Class AuthChallenge
Authorization challenge for HTTP status code 401 or 407.
public sealed record AuthChallenge : IEquatable<AuthChallenge>
- Inheritance
-
AuthChallenge
- Implements
- Inherited Members
Constructors
AuthChallenge(string, string, string)
Authorization challenge for HTTP status code 401 or 407.
public AuthChallenge(string Origin, string Scheme, string Realm)
Parameters
OriginstringOrigin of the challenger.
SchemestringThe authentication scheme used, such as basic or digest
RealmstringThe realm of the challenge. May be empty.
Properties
Origin
Origin of the challenger.
public string Origin { get; init; }
Property Value
Realm
The realm of the challenge. May be empty.
public string Realm { get; init; }
Property Value
Scheme
The authentication scheme used, such as basic or digest
public string Scheme { get; init; }
Property Value
Source
Source of the authentication challenge.
public string? Source { get; init; }