Saml2SecurityTokenHandler.ValidateIssuer 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.
Determines if the issuer found in a Saml2SecurityToken is valid.
protected virtual string ValidateIssuer (string issuer, Microsoft.IdentityModel.Tokens.SecurityToken securityToken, Microsoft.IdentityModel.Tokens.TokenValidationParameters validationParameters);
abstract member ValidateIssuer : string * Microsoft.IdentityModel.Tokens.SecurityToken * Microsoft.IdentityModel.Tokens.TokenValidationParameters -> string
override this.ValidateIssuer : string * Microsoft.IdentityModel.Tokens.SecurityToken * Microsoft.IdentityModel.Tokens.TokenValidationParameters -> string
Protected Overridable Function ValidateIssuer (issuer As String, securityToken As SecurityToken, validationParameters As TokenValidationParameters) As String
Parameters
- issuer
- String
The issuer to validate
- securityToken
- SecurityToken
The Saml2SecurityToken that is being validated.
- validationParameters
- TokenValidationParameters
The TokenValidationParameters to be used for validating the token.
Returns
The issuer to use when creating the Claim(s) in the ClaimsIdentity.
Remarks
ValidateIssuer(String, SecurityToken, TokenValidationParameters) for additional details.