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
stringThe error message
SignatureVerificationException(string, params string[])
public SignatureVerificationException(string decodedCrypto, params string[] decodedSignatures)
Parameters
Properties
Expected
Expected key.
public string Expected { get; }
Property Value
Received
Received key.
public string Received { get; }
Property Value
Methods
GetOrDefault<T>(string)
Retrieves the value for the provided key, or default.
protected T GetOrDefault<T>(string key)
Parameters
key
stringThe key
Returns
- T
Type Parameters
T