dreamfactorysoftware / df-core

The DreamFactory Core services and resources.
Apache License 2.0
14 stars 32 forks source link

Add session token expiration time to user public info #111

Closed ghost closed 1 year ago

ghost commented 1 year ago
{
  "session_token": "SESSION TOKEN",
  "session_id": "TOKEN ID",
  "id": 1,
  "name": "...",
  "first_name": "...",
  "last_name": "....",
  "email": "...",
  "is_sys_admin": true,
  "last_login_date": "2023-01-25 07:43:52",
  "host": "1af0289b6a01",
  "token_expiry_date": "2023-01-26 07:44:54",     <---- This is new field added to show expiration eation date
  "is_root_admin": true
}