Delegate BasicAuthenticator
Represents the method that defines an Authenticator typically assigned on BasicAuthenticationOptions.
Namespace: Cuemon.AspNetCore.Authentication
Assembly: Cuemon.AspNetCore.Authentication.dll
Syntax
public delegate ClaimsPrincipal BasicAuthenticator(string username, string password);
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | username | The username that must be paired with |
| System.String | password | The password that must be paired with |
Returns
| Type | Description |
|---|---|
| System.Security.Claims.ClaimsPrincipal | A System.Security.Claims.ClaimsPrincipal that is associated with the result of |