Delegate HmacAuthenticator
Represents the method that defines an Authenticator typically assigned on HmacAuthenticationOptions.
Namespace: Cuemon.AspNetCore.Authentication
Assembly: Cuemon.AspNetCore.Authentication.dll
Syntax
public delegate ClaimsPrincipal HmacAuthenticator(string publicKey, out byte[] privateKey);
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | publicKey | The public key to match and lookup the paired shared secret- |
| System.Byte[] | privateKey | The shared secret-private key paired with |
Returns
| Type | Description |
|---|---|
| System.Security.Claims.ClaimsPrincipal | A System.Security.Claims.ClaimsPrincipal that is associated with the result of |