SecurityTokenReceivedEventArgs Constructor (SecurityToken)

.NET Framework (current version)
 

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

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

public SecurityTokenReceivedEventArgs(
	SecurityToken securityToken
)

Parameters

securityToken
Type: System.IdentityModel.Tokens.SecurityToken

The issued security token.

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 null.

.NET Framework
Available since 4.5
Return to top
Show: