Table of Contents

Class SignatureVerificationException

Namespace
JWT.Exceptions
Assembly
Coherence.JWT.dll

Represents an exception thrown when a signature validation fails.

public class SignatureVerificationException : Exception
Inheritance
SignatureVerificationException
Derived

Constructors

SignatureVerificationException(string)

Creates an instance of SignatureVerificationException

public SignatureVerificationException(string message)

Parameters

message string

The error message

SignatureVerificationException(string, params string[])

public SignatureVerificationException(string decodedCrypto, params string[] decodedSignatures)

Parameters

decodedCrypto string
decodedSignatures string[]

Properties

Expected

Expected key.

public string Expected { get; }

Property Value

string

Received

Received key.

public string Received { get; }

Property Value

string

Methods

GetOrDefault<T>(string)

Retrieves the value for the provided key, or default.

protected T GetOrDefault<T>(string key)

Parameters

key string

The key

Returns

T

Type Parameters

T