Class ProtoHttpAuthenticationContext

Namespace
ProtoTest.Http
Assembly
ProtoTest.Http.dll

Context supplied to an HTTP-based authenticator when a request is sent.

public sealed record ProtoHttpAuthenticationContext : IEquatable<ProtoHttpAuthenticationContext>
Inheritance
ProtoHttpAuthenticationContext
Implements
Inherited Members
Extension Methods

Constructors

ProtoHttpAuthenticationContext(HttpRequestMessage, ProtoExecutionContext, string)

Context supplied to an HTTP-based authenticator when a request is sent.

public ProtoHttpAuthenticationContext(HttpRequestMessage Request, ProtoExecutionContext Test, string ClientName)

Parameters

Request HttpRequestMessage
Test ProtoExecutionContext
ClientName string

Properties

ClientName

public string ClientName { get; init; }

Property Value

string

Request

public HttpRequestMessage Request { get; init; }

Property Value

HttpRequestMessage

Test

public ProtoExecutionContext Test { get; init; }

Property Value

ProtoExecutionContext