SecurityTokenValidatedEventArgs Class

Definition

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
Inheritance
SecurityTokenValidatedEventArgs

Remarks

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.

Constructors

SecurityTokenValidatedEventArgs(ClaimsPrincipal)

Initializes a new instance of the SecurityTokenValidatedEventArgs class.

Properties

Cancel

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

(Inherited from CancelEventArgs)
ClaimsPrincipal

Gets or sets the ClaimsPrincipal that results from token validation.

Methods

Equals(Object)

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

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to

See also