Show / Hide Table of Contents

    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-privateKey.

    System.Byte[] privateKey

    The shared secret-private key paired with publicKey.

    Returns
    Type Description
    System.Security.Claims.ClaimsPrincipal

    A System.Security.Claims.ClaimsPrincipal that is associated with the result of privateKey.

    Extension Methods

    CacheableObjectResultExtensions.ToCacheableObjectResult<T>(T, DateTime, Action<TimeBasedOptions>)
    CacheableObjectResultExtensions.ToCacheableObjectResult<T>(T, Func<T, DateTime>, Action<TimeBasedOptions>)
    CacheableObjectResultExtensions.ToCacheableObjectResult<T>(T, Byte[], Action<ContentBasedOptions>)
    CacheableObjectResultExtensions.ToCacheableObjectResult<T>(T, Func<T, Byte[]>, Action<ContentBasedOptions>)
    CacheableObjectResultExtensions.ToCacheableObjectResult<T>(T, DateTime, Byte[], Action<ContentTimeBasedOptions>)
    CacheableObjectResultExtensions.ToCacheableObjectResult<T>(T, Func<T, DateTime>, Func<T, Byte[]>, Action<ContentTimeBasedOptions>)
    CacheableObjectResultExtensions.ToCacheableObjectResult<T>(T, DateTime, Func<T, Byte[]>, Action<ContentTimeBasedOptions>)
    CacheableObjectResultExtensions.ToCacheableObjectResult<T>(T, Func<T, DateTime>, Byte[], Action<ContentTimeBasedOptions>)
    • Improve this Doc
    • View Source
    Back to top Copyright 2008-2018 Weubphoria. All rights reserved.
    Generated by DocFX