SecurityTokenReceivedEventArgs SecurityTokenReceivedEventArgs SecurityTokenReceivedEventArgs SecurityTokenReceivedEventArgs Class

Definition

Provides data for the SecurityTokenReceived event.

public ref class SecurityTokenReceivedEventArgs : System::ComponentModel::CancelEventArgs
public class SecurityTokenReceivedEventArgs : System.ComponentModel.CancelEventArgs
type SecurityTokenReceivedEventArgs = class
    inherit CancelEventArgs
Public Class SecurityTokenReceivedEventArgs
Inherits CancelEventArgs
Inheritance
SecurityTokenReceivedEventArgsSecurityTokenReceivedEventArgsSecurityTokenReceivedEventArgsSecurityTokenReceivedEventArgs

Remarks

The event is raised when an issued token is received from the security token service (STS) during sign-in using WS-Federation. It is raised before the token is validated. You can access the issued token through the SecurityToken property and modify its properties or replace it. You can cancel sign-in processing by setting the Cancel property.

Constructors

SecurityTokenReceivedEventArgs(SecurityToken) SecurityTokenReceivedEventArgs(SecurityToken) SecurityTokenReceivedEventArgs(SecurityToken) SecurityTokenReceivedEventArgs(SecurityToken)

Initializes a new instance of the SecurityTokenReceivedEventArgs class by using the specified security token.

SecurityTokenReceivedEventArgs(SecurityToken, String) SecurityTokenReceivedEventArgs(SecurityToken, String) SecurityTokenReceivedEventArgs(SecurityToken, String) SecurityTokenReceivedEventArgs(SecurityToken, String)

Initializes a new instance of the SecurityTokenReceivedEventArgs class by using the specified security token and sign-in context.

Properties

Cancel Cancel Cancel Cancel

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

(Inherited from CancelEventArgs)
SecurityToken SecurityToken SecurityToken SecurityToken

Gets or sets the issued security token.

SignInContext SignInContext SignInContext SignInContext

Gets the sign-in context specified in the control.

Methods

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