Table of Contents

Class AddAuthorizationBearerAction

Namespace
Fluxzy.Rules.Actions
Assembly
Fluxzy.Core.dll

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

token string

Properties

ActionScope

public override FilterScope ActionScope { get; }

Property Value

FilterScope

DefaultDescription

public override string DefaultDescription { get; }

Property Value

string

Token

Bearer token

public string Token { get; set; }

Property Value

string

Methods

GetExamples()

public override IEnumerable<ActionExample> GetExamples()

Returns

IEnumerable<ActionExample>

InternalAlter(ExchangeContext, Exchange?, Connection?, FilterScope, BreakPointManager)

public override ValueTask InternalAlter(ExchangeContext context, Exchange? exchange, Connection? connection, FilterScope scope, BreakPointManager breakPointManager)

Parameters

context ExchangeContext
exchange Exchange
connection Connection
scope FilterScope
breakPointManager BreakPointManager

Returns

ValueTask