AddUserName Method
Definition
- Namespace
- Cuemon.AspNetCore.Authentication.Basic
- Assemblies
- Cuemon.AspNetCore.Authentication.dll
AddUserName(string)
Adds the credential scope that defines the remote resource.
public BasicAuthorizationHeaderBuilder AddUserName(string username)
Parameters
usernamestringThe credential scope that defines the remote resource.
Returns
- BasicAuthorizationHeaderBuilder
An BasicAuthorizationHeaderBuilder that can be used to further build the HTTP HMAC Authentication header.