Saml2SecurityTokenHandler.GetSigningCredentials 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 credentials for signing the assertion.
protected:
virtual System::IdentityModel::Tokens::SigningCredentials ^ GetSigningCredentials(System::IdentityModel::Tokens::SecurityTokenDescriptor ^ tokenDescriptor);
protected virtual System.IdentityModel.Tokens.SigningCredentials GetSigningCredentials (System.IdentityModel.Tokens.SecurityTokenDescriptor tokenDescriptor);
abstract member GetSigningCredentials : System.IdentityModel.Tokens.SecurityTokenDescriptor -> System.IdentityModel.Tokens.SigningCredentials
override this.GetSigningCredentials : System.IdentityModel.Tokens.SecurityTokenDescriptor -> System.IdentityModel.Tokens.SigningCredentials
Protected Overridable Function GetSigningCredentials (tokenDescriptor As SecurityTokenDescriptor) As SigningCredentials
Parameters
- tokenDescriptor
- SecurityTokenDescriptor
The token descriptor.
Returns
A SigningCredentials that represents the credentials for signing the assertion.
Exceptions
tokenDescriptor
is null
.
Remarks
SAML2 assertions used as security tokens should be signed.
The default implementation uses the SigningCredentials property of the tokenDescriptor
to retrieve the credentials.
Applies to
Vertu í samstarfi við okkur á GitHub
Heimildina fyrir þetta efni er að finna á GitHub, þar sem þú getur líka búið til og farið yfir vandamál og sameinað beiðnir. Frekari upplýsingar er að finna í framlagshandbók okkar.