Table of Contents

AddOrUpdate Method

Definition

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

AddOrUpdate(string, string)

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

public TAuthorizationHeaderBuilder AddOrUpdate(string name, string value)

Parameters

name string

The name of the field to add or update.

value string

The value of the field to add or update.

Returns

TAuthorizationHeaderBuilder

TAuthorizationHeaderBuilder that can be used to further build the header.