JwtSecurityTokenHandler.RequireSignedTokens Property

Gets or sets a value indicating whether a JwtSecurityToken can be valid if not signed.

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

Syntax

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

Property Value

Type: System.Boolean
Returns Boolean.

Remarks

If true then:A JwtSecurityToken will be considered invalid if it does not contain a 'signature'.

.NET Framework Security

See Also

Reference

JwtSecurityTokenHandler Class

System.IdentityModel.Tokens Namespace