Upraviť

Zdieľať cez


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
SecurityTokenReceivedEventArgs

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, String)

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

SecurityTokenReceivedEventArgs(SecurityToken)

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

Properties

Cancel

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

(Inherited from CancelEventArgs)
SecurityToken

Gets or sets the issued security token.

SignInContext

Gets the sign-in context specified in the control.

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