Interface IProtoHttpAuthMetadata
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
Protocols
IReadOnlyList<string> Protocols { get; }
Property Value
Methods
AppliesTo(string)
Returns whether this authenticator applies to the named protocol.
bool AppliesTo(string protocolName)
Parameters
protocolNamestring
Returns
Create(ProtoExecutionContext)
IProtoHttpAuthenticator Create(ProtoExecutionContext context)
Parameters
contextProtoExecutionContext