SamlSecurityTokenHandler.ResolveIssuerSigningKey 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.
Returns a SecurityKey to use for validating the signature of a token.
protected virtual Microsoft.IdentityModel.Tokens.SecurityKey ResolveIssuerSigningKey (string token, Microsoft.IdentityModel.Tokens.Saml.SamlSecurityToken securityToken, Microsoft.IdentityModel.Tokens.TokenValidationParameters validationParameters);
abstract member ResolveIssuerSigningKey : string * Microsoft.IdentityModel.Tokens.Saml.SamlSecurityToken * Microsoft.IdentityModel.Tokens.TokenValidationParameters -> Microsoft.IdentityModel.Tokens.SecurityKey
override this.ResolveIssuerSigningKey : string * Microsoft.IdentityModel.Tokens.Saml.SamlSecurityToken * Microsoft.IdentityModel.Tokens.TokenValidationParameters -> Microsoft.IdentityModel.Tokens.SecurityKey
Protected Overridable Function ResolveIssuerSigningKey (token As String, securityToken As SamlSecurityToken, validationParameters As TokenValidationParameters) As SecurityKey
Parameters
- securityToken
- SamlSecurityToken
The SamlSecurityToken that is being validated.
- validationParameters
- TokenValidationParameters
TokenValidationParameters that will be used during validation.
Returns
Returns a SecurityKey to use for signature validation.
Exceptions
If Assertion is null.
Remarks
If key fails to resolve, then null is returned
Applies to
Обратная связь
https://aka.ms/ContentUserFeedback.
Ожидается в ближайшее время: в течение 2024 года мы постепенно откажемся от GitHub Issues как механизма обратной связи для контента и заменим его новой системой обратной связи. Дополнительные сведения см. в разделеОтправить и просмотреть отзыв по