SecurityTokenReceivedEventArgs Constructor (SecurityToken, String)

.NET Framework (current version)
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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

Namespace:   System.IdentityModel.Services
Assembly:  System.IdentityModel.Services (in System.IdentityModel.Services.dll)

public SecurityTokenReceivedEventArgs(
	SecurityToken securityToken,
	string signInContext
)

Parameters

securityToken
Type: System.IdentityModel.Tokens.SecurityToken

The issued security token.

signInContext
Type: System.String

The sign-in context specified in the control.

Exception Condition
ArgumentNullException

securityToken is null.

In the new instance, the SecurityToken property is set to the token specified by the securityToken parameter and the SignInContext property is set to the value of the signInContext property.

.NET Framework
Available since 4.5
Return to top
Show: