SecurityTokenValidatedEventArgs SecurityTokenValidatedEventArgs SecurityTokenValidatedEventArgs SecurityTokenValidatedEventArgs Class


Provides data for the SecurityTokenValidated event.

public ref class SecurityTokenValidatedEventArgs : System::ComponentModel::CancelEventArgs
public class SecurityTokenValidatedEventArgs : System.ComponentModel.CancelEventArgs
type SecurityTokenValidatedEventArgs = class
    inherit CancelEventArgs
Public Class SecurityTokenValidatedEventArgs
Inherits CancelEventArgs


The event is raised just after the issued token that was received from the security token service (STS) is validated during sign-in. You can access the principal that was created during validation by using the ClaimsPrincipal property and either modify or replace it. You can set the Cancel property to cancel processing of the sign-in response message.


SecurityTokenValidatedEventArgs(ClaimsPrincipal) SecurityTokenValidatedEventArgs(ClaimsPrincipal) SecurityTokenValidatedEventArgs(ClaimsPrincipal) SecurityTokenValidatedEventArgs(ClaimsPrincipal)

Initializes a new instance of the SecurityTokenValidatedEventArgs class.


Cancel Cancel Cancel Cancel

Gets or sets a value indicating whether the event should be canceled.

(Inherited from CancelEventArgs)
ClaimsPrincipal ClaimsPrincipal ClaimsPrincipal ClaimsPrincipal

Gets or sets the ClaimsPrincipal that results from token validation.


Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString() ToString() ToString() ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to

See also