Bewerken

Delen via


EncryptedSecurityToken(SecurityToken, EncryptingCredentials) Constructor

Definition

Initializes a new instance of the EncryptedSecurityToken class for the specified token by using the specified encrypting credentials.

public:
 EncryptedSecurityToken(System::IdentityModel::Tokens::SecurityToken ^ token, System::IdentityModel::Tokens::EncryptingCredentials ^ encryptingCredentials);
public EncryptedSecurityToken (System.IdentityModel.Tokens.SecurityToken token, System.IdentityModel.Tokens.EncryptingCredentials encryptingCredentials);
new System.IdentityModel.Tokens.EncryptedSecurityToken : System.IdentityModel.Tokens.SecurityToken * System.IdentityModel.Tokens.EncryptingCredentials -> System.IdentityModel.Tokens.EncryptedSecurityToken
Public Sub New (token As SecurityToken, encryptingCredentials As EncryptingCredentials)

Parameters

token
SecurityToken

The token to encrypt.

encryptingCredentials
EncryptingCredentials

The credentials to use to encrypt the token.

Remarks

Inherited from SecurityToken.

Applies to