EncryptedSecurityToken(SecurityToken, EncryptingCredentials) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.