References
TerraCore v0
#
IamToken- Android
- iOS
Name | Mandatory | Description | Type |
---|---|---|---|
accessToken | yes | Access token | string |
expiresIn | yes | Expire timestamp | int |
refreshToken | yes | Token used for refreshing expired access token | string |
scope | yes | Scope | string |
tokenType | yes | Type | string |
Name | Mandatory | Description | Type |
---|---|---|---|
accessToken | yes | Access token | String |
expiresIn | yes | Expire timestamp | Int |
refreshToken | yes | Token used for refreshing expired access token | String |
idToken | no | Identity token | String |
tokenType | yes | Type | String |
#
User- Android
- iOS
Name | Mandatory | Description | Type |
---|---|---|---|
sub | yes | User identification | string |
name | yes | User name | string |
email | no | User email | string |
phoneNumber | no | User phone | string |
picture | no | User profile picture | string |
birthday | no | User birthday | string |
address | no | User address | string |
roles | no | List of user role | string[] |
permissions | no | List of user permission | string[] |
Name | Mandatory | Description | Type |
---|---|---|---|
sub | yes | User identification | String |
name | yes | User name | String |
email | no | User email | String |
phoneNumber | no | User phone | String |
picture | no | User profile picture | String |
birthday | no | User birthday | String |
address | no | User address | String |
roles | no | List of user role | [String] |
permissions | no | List of user permission | [String] |
data | no | List of user metadata | [String : Any] |