IssuerValidationError Class

Definition

Represents a validation error when the Issuer is not valid. If available, the invalid issuer is stored in InvalidIssuer.

public class IssuerValidationError : Microsoft.IdentityModel.Tokens.Experimental.ValidationError
type IssuerValidationError = class
    inherit ValidationError
Public Class IssuerValidationError
Inherits ValidationError
Inheritance
IssuerValidationError

Constructors

Name Description
IssuerValidationError(MessageDetail, ValidationFailureType, StackFrame, String, Exception)

Initializes a new instance of the IssuerValidationError class.

IssuerValidationError(MessageDetail, ValidationFailureType, StackFrame, String)

Initializes a new instance of the IssuerValidationError class.

Properties

Name Description
Exception

Gets or sets the exception associated with the ValidationError.

(Inherited from ValidationError)
FailureType

Gets the type of validation failure that occurred.

(Inherited from ValidationError)
InnerException

Gets the inner exception that occurred.

(Inherited from ValidationError)
InvalidIssuer

The issuer that could not be validated.

Message

Gets the message that contains details of the error.

(Inherited from ValidationError)
StackFrames

Gets the stack frames where the exception occurred.

(Inherited from ValidationError)

Methods

Name Description
AddCurrentStackFrame(String, Int32, Int32)

Adds the current stack frame to the list of stack frames and returns the updated object. If there is no cache entry for the given file path and line number, a new stack frame is created and added to the cache.

(Inherited from ValidationError)
AddStackFrame(StackFrame)

Adds a stack frame to the list of stack frames and returns the updated object.

(Inherited from ValidationError)
GetException()

Creates an instance of an SecurityTokenInvalidIssuerException using ValidationError

Applies to