Interface IProtoHttpAuthMetadata

Namespace
ProtoTest.Http
Assembly
ProtoTest.Http.dll

Declares, via attribute metadata, an authenticator that an HTTP protocol's lifecycle hook applies to its named client. Protocols keeps protocol hooks from picking up each other's authenticators when a test needs different authentication per protocol.

public interface IProtoHttpAuthMetadata
Extension Methods

Properties

Order

int Order { get; }

Property Value

int

Protocols

IReadOnlyList<string> Protocols { get; }

Property Value

IReadOnlyList<string>

Methods

AppliesTo(string)

Returns whether this authenticator applies to the named protocol.

bool AppliesTo(string protocolName)

Parameters

protocolName string

Returns

bool

Create(ProtoExecutionContext)

IProtoHttpAuthenticator Create(ProtoExecutionContext context)

Parameters

context ProtoExecutionContext

Returns

IProtoHttpAuthenticator