SecurityTokenValidatedEventArgs Class
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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.
Security |
Initializes a new instance of the SecurityTokenValidatedEventArgs class. |
Cancel |
Gets or sets a value indicating whether the event should be canceled. (Inherited from CancelEventArgs) |
Claims |
Gets or sets the ClaimsPrincipal that results from token validation. |
Equals(Object) |
Determines whether the specified object is equal to the current object. (Inherited from Object) |
Get |
Serves as the default hash function. (Inherited from Object) |
Get |
Gets the Type of the current instance. (Inherited from Object) |
Memberwise |
Creates a shallow copy of the current Object. (Inherited from Object) |
To |
Returns a string that represents the current object. (Inherited from Object) |
Product | Versions |
---|---|
.NET Framework | 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET feedback
.NET is an open source project. Select a link to provide feedback: