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
שתף איתנו פעולה ב- GitHub
ניתן למצוא את המקור לתוכן זה ב- GitHub, שם ניתן גם ליצור ולסקור בעיות ולמשוך בקשות. לקבלת מידע נוסף, עיין במדריך התורמים שלנו.