SecurityTokenReceivedEventArgs Constructor (SecurityToken, String)

.NET Framework (current version)
 

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: