SHARE
TWEET

JWT-SYNOPTIC

gaepiaz Oct 18th, 2019 82 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. // Header
  2. {
  3.   "kid": "YWFjYjU=",
  4.   "typ": "JWT",
  5.   "alg": "RS256"
  6. }
  7.  
  8. // Payload
  9. {
  10.   "sub": "medico",
  11.   "identifier": "medico^^^&NLLOGIN",
  12.   "nbf": 1571229948,
  13.   "ui": {
  14.     "embedded": true,
  15.     "layout": {
  16.       "footer": "false",
  17.       "banner": "false",
  18.       "menu": "false",
  19.       "splash": "false"
  20.     },
  21.     "locale": "it-IT"
  22.   },
  23.   "roles": [
  24.     {
  25.       "code": "NURSE",
  26.       "facilities": [
  27.         {
  28.           "code": "C4C-DEV",
  29.           "level": 0
  30.         }
  31.       ]
  32.     }
  33.   ],
  34.   "iss": "Dedalus",
  35.   "context": [
  36.     {
  37.       "key": "currentPatient",
  38.       "resource": {
  39.         "resourceType": "Patient",
  40.         "id": "634441",
  41.         "identifier": [
  42.           {
  43.             "system": "http://xvalue.dedalus.eu/dm/person/master_key",
  44.             "value": "634441"
  45.           }
  46.         ]
  47.       }
  48.     },
  49.     {
  50.       "key": "currentEncounter",
  51.       "resource": {
  52.         "resourceType": "Encounter",
  53.         "id": "1260",
  54.         "identifier": [
  55.           {
  56.             "system": "VISIT_HOSP",
  57.             "value": "1260"
  58.           }
  59.         ]
  60.       }
  61.     },
  62.     {
  63.       "key": "currentOrganization",
  64.       "resource": {
  65.         "resourceType": "Organization",
  66.         "id": "C4C-BU",
  67.         "identifier": [
  68.           {
  69.             "system": "ID_ROOT_ORG",
  70.             "value": "C4C-DEV"
  71.           }
  72.         ]
  73.       }
  74.     }
  75.   ],
  76.   "exp": 1607399148,
  77.   "given_name": "LEONARD HENRY",
  78.   "iat": 1571229948,
  79.   "family_name": "MCCOY",
  80.   "jti": "9f97089204254960ab3a34b95471d60a"
  81. }
  82.  
  83. // encoded data
  84. eyJraWQiOiJZV0ZqWWpVPSIsInR5cCI6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hdCI6MTU3MTIyOTk0OCwiZmFtaWx5X25hbWUiOiJNQ0NPWSIsImp0aSI6IjlmOTcwODkyMDQyNTQ5NjBhYjNhMzRiOTU0NzFkNjBhIn0.N5rHTkDXOt5HLyQiVmWwbgsu3D9oWh0Wpf7vfE4I03AD0nXHH2WN7wB87Q3BH6D9s4N_dTbNCnHd7LhtJ6NYGLhtWnC_JuetUs53KtbZp58xPL4NO_IR8HH0DhihUnrIr1mrvpX0GJIkalVZpZ9c-BfqMvhhQcKGLJge6wmLUnk
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top