Class AuthorizeProcessor

Assembly: redb.Tsak.Core.dll

Route pipeline processor that enforces API key authentication.
Extracts key from Authorization header (Bearer tsak_...) or X-Api-Key header,
validates via , and sets auth properties on the exchange.
On failure, writes 401/403 to exchange.Out and stops the pipeline.

public sealed class AuthorizeProcessor : IProcessor

Inheritance

Object→AuthorizeProcessor

Implements

Methods

Process(IExchange, CancellationToken)

Processes the exchange asynchronously.

public Task Process(IExchange exchange, CancellationToken ct = default)

Constructors