IPWorks Auth 2020 .NET Edition

Questions / Feedback?

JWTClaim Type

The claim within the JWT.

Remarks

This type holds the claim information. The fields define the name, value, and data type of the claim value.

Fields

DataType
TDataTypes

The data type of the claim value.

This field specifies the JSON type of the claim value. Possible values are:

  • 0 (Object)
  • 1 (Array)
  • 2 (String)
  • 3 (Number)
  • 4 (Bool)
  • 5 (Null)

Name
String

The claim name.

Value
String

The claim value.

Constructors

public JWTClaim();
Public JWTClaim()

Creates a new claim with no name or value.

public JWTClaim(string name, string value);
Public JWTClaim(ByVal Name As String, ByVal Value As String)

Create a new claim. The DataType of the value will be a String.

public JWTClaim(string name, string value, int dataType);
Public JWTClaim(ByVal Name As String, ByVal Value As String, ByVal DataType As Integer)

Creates a new claim with the specified DataType.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks Auth 2020 .NET Edition - Version 20.0 [Build 8155]