Table of Contents

AuthorizationHeaderBuilder<TAuthorizationHeader, TAuthorizationHeaderBuilder> Class

Definition

Namespace
Cuemon.AspNetCore.Authentication
Assemblies
Cuemon.AspNetCore.Authentication.dll
Source
src/Cuemon.AspNetCore.Authentication/AuthorizationHeaderBuilder.cs

Represents the base class from which all implementations of authorization header builders should derive. Implements the AuthorizationHeaderBuilder

public abstract class AuthorizationHeaderBuilder<TAuthorizationHeader, TAuthorizationHeaderBuilder> : AuthorizationHeaderBuilder where TAuthorizationHeader : AuthorizationHeader where TAuthorizationHeaderBuilder : AuthorizationHeaderBuilder

Type Parameters

TAuthorizationHeader

The type of the authorization header result.

TAuthorizationHeaderBuilder

The type of the authorization header builder.

Inheritance
AuthorizationHeaderBuilder<TAuthorizationHeader, TAuthorizationHeaderBuilder>
Derived
Inherited Members

Constructors

Name Description
AuthorizationHeaderBuilder(string)

Initializes a new instance of the AuthorizationHeaderBuilder<TAuthorizationHeader, TAuthorizationHeaderBuilder> class.

Methods

Name Description
AddOrUpdate(string, string)

Attempts to add or update an existing field with the provided name with the specified value.

Build()

Builds an instance of TAuthorizationHeader that implements AuthorizationHeader.