SamlSecurityTokenHandler.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
Samarbeid med oss på GitHub
Du finner kilden for dette innholdet på GitHub. Der du også kan opprette og se gjennom problemer og pull-forespørsler. Hvis du vil ha mer informasjon, kan du se vår bidragsyterveiledning.