Freigeben über


SamlSecurityTokenHandler.ValidateIssuer Method

Definition

Determines if an issuer found in a SamlSecurityToken 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 SamlSecurityToken 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.

Applies to