Edit

Share via


SecurityTokenReceivedEventArgs Constructors

Definition

Initializes a new instance of the SecurityTokenReceivedEventArgs class.

Overloads

SecurityTokenReceivedEventArgs(SecurityToken)

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

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.

public:
 SecurityTokenReceivedEventArgs(System::IdentityModel::Tokens::SecurityToken ^ securityToken);
public SecurityTokenReceivedEventArgs (System.IdentityModel.Tokens.SecurityToken securityToken);
new System.IdentityModel.Services.SecurityTokenReceivedEventArgs : System.IdentityModel.Tokens.SecurityToken -> System.IdentityModel.Services.SecurityTokenReceivedEventArgs
Public Sub New (securityToken As SecurityToken)

Parameters

securityToken
SecurityToken

The issued security token.

Exceptions

securityToken is null.

Remarks

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.

Applies to

SecurityTokenReceivedEventArgs(SecurityToken, String)

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

public:
 SecurityTokenReceivedEventArgs(System::IdentityModel::Tokens::SecurityToken ^ securityToken, System::String ^ signInContext);
public SecurityTokenReceivedEventArgs (System.IdentityModel.Tokens.SecurityToken securityToken, string signInContext);
new System.IdentityModel.Services.SecurityTokenReceivedEventArgs : System.IdentityModel.Tokens.SecurityToken * string -> System.IdentityModel.Services.SecurityTokenReceivedEventArgs
Public Sub New (securityToken As SecurityToken, signInContext As String)

Parameters

securityToken
SecurityToken

The issued security token.

signInContext
String

The sign-in context specified in the control.

Exceptions

securityToken is null.

Remarks

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.

Applies to