Export (0) Print
Expand All

EncryptedSecurityToken Constructor

.NET Framework 4.5

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

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

public EncryptedSecurityToken(
	SecurityToken token,
	EncryptingCredentials encryptingCredentials
)

Parameters

token
Type: System.IdentityModel.Tokens.SecurityToken

The token to encrypt.

encryptingCredentials
Type: System.IdentityModel.Tokens.EncryptingCredentials

The credentials to use to encrypt the token.

Inherited from SecurityToken.

.NET Framework

Supported in: 4.6, 4.5
Show:
© 2015 Microsoft