Show / Hide Table of Contents

    Class JsonWebTokenHashAlgorithmConverter

    This utility class is designed to make JsonWebTokenHashAlgorithm related conversions easier to work with.

    Inheritance
    System.Object
    JsonWebTokenHashAlgorithmConverter
    Namespace: Cuemon.Security.Web
    Assembly: Cuemon.Security.dll
    Syntax
    public static class JsonWebTokenHashAlgorithmConverter

    Methods

    | Improve this Doc

    ToHmacAlgorithm(JsonWebTokenHashAlgorithm)

    Converts the specified value to its HmacAlgorithmType equivalent.

    Declaration
    public static HmacAlgorithmType ToHmacAlgorithm(JsonWebTokenHashAlgorithm value)
    Parameters
    Type Name Description
    JsonWebTokenHashAlgorithm value

    The JSON Web Token hash algorithm to be converted.

    Returns
    Type Description
    HmacAlgorithmType

    A HmacAlgorithmType that is equivalent to value.

    | Improve this Doc

    ToString(JsonWebTokenHashAlgorithm)

    Converts the specified value to its JWT System.String equivalent.

    Declaration
    public static string ToString(JsonWebTokenHashAlgorithm value)
    Parameters
    Type Name Description
    JsonWebTokenHashAlgorithm value

    The JSON Web Token hash algorithm to be converted.

    Returns
    Type Description
    System.String

    A JWT System.String that is equivalent to value.

    • Improve this Doc
    • View Source
    Back to top Copyright 2008-2018 Weubphoria. All rights reserved.
    Generated by DocFX