TokenValidationParameters.ValidateIssuer Property

Gets or sets a value indicating whether the Issuer should be validated.

Namespace:  System.IdentityModel.Tokens
Assembly:  System.IdentityModel.Tokens.Jwt (in System.IdentityModel.Tokens.Jwt.dll)

Syntax

'Declaration
Public Property ValidateIssuer As Boolean
public bool ValidateIssuer { get; set; }
public:
property bool ValidateIssuer {
    bool get ();
    void set (bool value);
}
member ValidateIssuer : bool with get, set
function get ValidateIssuer () : boolean 
function set ValidateIssuer (value : boolean)

Property Value

Type: System.Boolean
Returns Boolean.

Remarks

The JwtSecurityToken must have an Issuer that is other than whitespace.

.NET Framework Security

See Also

Reference

TokenValidationParameters Class

System.IdentityModel.Tokens Namespace