Delegate BasicAuthenticator
- Namespace
- Cuemon.AspNetCore.Authentication.Basic
- Assembly
- Cuemon.AspNetCore.Authentication.dll
Represents the method that defines an Authenticator typically assigned on BasicAuthenticationOptions.
public delegate ClaimsPrincipal BasicAuthenticator(string username, string password)
Parameters
username
stringThe username that must be paired with
password
.password
stringThe password that must be paired with
username
.
Returns
- ClaimsPrincipal
A ClaimsPrincipal that is associated with the result of
username
andpassword
.