JWTClaimDataType Property

The data type of the claim value.

Syntax

ANSI (Cross Platform)
int GetJWTClaimDataType(int iJWTClaimIndex);
int SetJWTClaimDataType(int iJWTClaimIndex, int iJWTClaimDataType); Unicode (Windows) INT GetJWTClaimDataType(INT iJWTClaimIndex);
INT SetJWTClaimDataType(INT iJWTClaimIndex, INT iJWTClaimDataType);

Possible Values

DT_OBJECT(0), 
DT_ARRAY(1),
DT_STRING(2),
DT_NUMBER(3),
DT_BOOL(4),
DT_NULL(5)
- (int)JWTClaimDataType:(int)jWTClaimIndex;
- (void)setJWTClaimDataType:(int)jWTClaimIndex:(int)newJWTClaimDataType;

Possible Values

DT_OBJECT(0), 
DT_ARRAY(1),
DT_STRING(2),
DT_NUMBER(3),
DT_BOOL(4),
DT_NULL(5)
#define PID_JWT_JWTCLAIMDATATYPE 13

IPWORKSAUTH_EXTERNAL void* IPWORKSAUTH_CALL IPWorksAuth_JWT_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);
IPWORKSAUTH_EXTERNAL int IPWORKSAUTH_CALL IPWorksAuth_JWT_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);
IPWORKSAUTH_EXTERNAL int IPWORKSAUTH_CALL IPWorksAuth_JWT_CheckIndex(void *lpObj, int propid, int arridx);

Default Value

2

Remarks

The data type of the claim value.

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

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

The JWTClaimIndex parameter specifies the index of the item in the array. The size of the array is controlled by the JWTClaimCount property.

This property is not available at design time.

Data Type

Integer

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