EncryptedSecurityToken Constructor (SecurityToken, EncryptingCredentials)

.NET Framework (current version)
 

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
Available since 4.5
Return to top
Show: