Class AddAuthorizationBearerAction
Add Authorization Bearer token to the request header.
[ActionMetadata("Add Authorization Bearer token to the request header.")]
public class AddAuthorizationBearerAction : Action
- Inheritance
-
AddAuthorizationBearerAction
- Inherited Members
Constructors
AddAuthorizationBearerAction(string)
public AddAuthorizationBearerAction(string token)
Parameters
tokenstring
Properties
ActionScope
public override FilterScope ActionScope { get; }
Property Value
DefaultDescription
public override string DefaultDescription { get; }
Property Value
Token
Bearer token
public string Token { get; set; }
Property Value
Methods
GetExamples()
public override IEnumerable<ActionExample> GetExamples()
Returns
InternalAlter(ExchangeContext, Exchange?, Connection?, FilterScope, BreakPointManager)
public override ValueTask InternalAlter(ExchangeContext context, Exchange? exchange, Connection? connection, FilterScope scope, BreakPointManager breakPointManager)
Parameters
contextExchangeContextexchangeExchangeconnectionConnectionscopeFilterScopebreakPointManagerBreakPointManager