Saml2SecurityTokenHandler.GetEncryptingCredentials Method
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.
Gets the token encrypting credentials. Override this method to change the token encrypting credentials.
protected:
virtual System::IdentityModel::Tokens::EncryptingCredentials ^ GetEncryptingCredentials(System::IdentityModel::Tokens::SecurityTokenDescriptor ^ tokenDescriptor);
protected virtual System.IdentityModel.Tokens.EncryptingCredentials GetEncryptingCredentials (System.IdentityModel.Tokens.SecurityTokenDescriptor tokenDescriptor);
abstract member GetEncryptingCredentials : System.IdentityModel.Tokens.SecurityTokenDescriptor -> System.IdentityModel.Tokens.EncryptingCredentials
override this.GetEncryptingCredentials : System.IdentityModel.Tokens.SecurityTokenDescriptor -> System.IdentityModel.Tokens.EncryptingCredentials
Protected Overridable Function GetEncryptingCredentials (tokenDescriptor As SecurityTokenDescriptor) As EncryptingCredentials
Parameters
- tokenDescriptor
- SecurityTokenDescriptor
Retrieves some scope encrypting credentials from the Scope object.
Returns
An EncryptingCredentials that represents the token encrypting credentials.
Exceptions
tokenDescriptor
is null
.
The encrypting credentials retrieved from the token descriptor are asymmetric.
Remarks
The default implementation retrieves the encrypting credentials from the EncryptingCredentials property of the tokenDescriptor
.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om