Share via


JwtSecurityTokenHandler.JwtSecurityTokenRequirement Property

Gets or sets the JwtSecurityTokenRequirement.

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

Syntax

'Declaration
Public Property JwtSecurityTokenRequirement As JwtSecurityTokenRequirement
public JwtSecurityTokenRequirement JwtSecurityTokenRequirement { get; set; }
public:
property JwtSecurityTokenRequirement^ JwtSecurityTokenRequirement {
    JwtSecurityTokenRequirement^ get ();
    void set (JwtSecurityTokenRequirement^ value);
}
member JwtSecurityTokenRequirement : JwtSecurityTokenRequirement with get, set
function get JwtSecurityTokenRequirement () : JwtSecurityTokenRequirement 
function set JwtSecurityTokenRequirement (value : JwtSecurityTokenRequirement)

Property Value

Type: System.IdentityModel.Tokens.JwtSecurityTokenRequirement
Returns JwtSecurityTokenRequirement.

Exceptions

Exception Condition
ArgumentNullException

'value' is null.

Remarks

These settings have precedence over SecurityTokenHandlerConfiguration.

.NET Framework Security

See Also

Reference

JwtSecurityTokenHandler Class

System.IdentityModel.Tokens Namespace