Validators.ValidateIssuerSecurityKey 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.
Validates the SecurityKey that signed a SecurityToken.
public static void ValidateIssuerSecurityKey (Microsoft.IdentityModel.Tokens.SecurityKey securityKey, Microsoft.IdentityModel.Tokens.SecurityToken securityToken, Microsoft.IdentityModel.Tokens.TokenValidationParameters validationParameters);
static member ValidateIssuerSecurityKey : Microsoft.IdentityModel.Tokens.SecurityKey * Microsoft.IdentityModel.Tokens.SecurityToken * Microsoft.IdentityModel.Tokens.TokenValidationParameters -> unit
Public Shared Sub ValidateIssuerSecurityKey (securityKey As SecurityKey, securityToken As SecurityToken, validationParameters As TokenValidationParameters)
Parameters
- securityKey
- SecurityKey
The SecurityKey that signed the SecurityToken.
- securityToken
- SecurityToken
The SecurityToken being validated.
- validationParameters
- TokenValidationParameters
TokenValidationParameters required for validation.
Exceptions
if 'validationParameters' is null.