Delegate HmacAuthenticator
- Namespace
- Cuemon.AspNetCore.Authentication.Hmac
- Assembly
- Cuemon.AspNetCore.Authentication.dll
Represents the method that defines an Authenticator typically assigned on HmacAuthenticationOptions.
public delegate ClaimsPrincipal HmacAuthenticator(string clientId, out string clientSecret)
Parameters
clientId
stringThe public key to match and lookup the paired shared
clientSecret
.clientSecret
stringThe shared secret-private key paired with
clientId
.
Returns
- ClaimsPrincipal
A ClaimsPrincipal that is associated with the result of
clientSecret
.