AddOrUpdate Method
Definition
- Namespace
- Cuemon.AspNetCore.Authentication
- Assemblies
- Cuemon.AspNetCore.Authentication.dll
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
namestringThe name of the field to add or update.
valuestringThe value of the field to add or update.
Returns
- TAuthorizationHeaderBuilder
TAuthorizationHeaderBuilderthat can be used to further build the header.