JWTClaimDataType (property)
The data type of the claim value.
Syntax
- (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)
public func JWTClaimDataType(jWTClaimIndex: Int32) throws -> JwtJWTClaimDataTypes
public func setJWTClaimDataType(jWTClaimIndex: Int32, newJWTClaimDataType: JwtJWTClaimDataTypes) throws -> Void
public enum JwtJWTClaimDataTypes : Int32 { case dtObject = 0 case dtArray = 1 case dtString = 2 case dtNumber = 3 case dtBool = 4 case dtNull = 5 }
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.