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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.