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
- 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.