JWTClaimDataType Property

The data type of the claim value.

Object Oriented Interface

public function getJWTClaimDataType($jwtclaimindex);
public function setJWTClaimDataType($jwtclaimindex, $value);

Procedural Interface

ipworksauth_jwt_get($res, 13 , $jwtclaimindex);
ipworksauth_jwt_set($res, 13, $value , $jwtclaimindex);

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 PHP Edition - Version 20.0 [Build 8155]