mirror of
https://codeberg.org/timelimit/timelimit-server.git
synced 2025-10-03 09:49:32 +02:00
3.7 KiB
3.7 KiB
IdentityTokenPayload Schema
https://timelimit.io/IdentityTokenPayload
Abstract | Extensible | Status | Identifiable | Custom Properties | Additional Properties | Access Restrictions | Defined In |
---|---|---|---|---|---|---|---|
Can be instantiated | Yes | Unknown status | No | Forbidden | Forbidden | none | IdentityTokenPayload.schema.json |
IdentityTokenPayload Type
object
(IdentityTokenPayload)
IdentityTokenPayload Properties
Property | Type | Required | Nullable | Defined by |
---|---|---|---|---|
purpose | string |
Required | cannot be null | IdentityTokenPayload |
familyId | string |
Required | cannot be null | IdentityTokenPayload |
userId | string |
Required | cannot be null | IdentityTokenPayload |
string |
Required | cannot be null | IdentityTokenPayload | |
exp | number |
Required | cannot be null | IdentityTokenPayload |
purpose
purpose
-
is required
-
Type:
string
-
cannot be null
-
defined in: IdentityTokenPayload
purpose Type
string
purpose Constraints
enum: the value of this property must be equal to one of the following values:
Value | Explanation |
---|---|
"purchase" |
familyId
familyId
-
is required
-
Type:
string
-
cannot be null
-
defined in: IdentityTokenPayload
familyId Type
string
userId
userId
-
is required
-
Type:
string
-
cannot be null
-
defined in: IdentityTokenPayload
userId Type
string
mail
-
is required
-
Type:
string
-
cannot be null
-
defined in: IdentityTokenPayload
mail Type
string
exp
exp
-
is required
-
Type:
number
-
cannot be null
-
defined in: IdentityTokenPayload
exp Type
number