...
| draw.io Diagram |
|---|
| border | true |
|---|
| diagramName | ThunderSecurityAgentFlow |
|---|
| simpleViewer | false |
|---|
| width | links | auto |
|---|
| tbstyle | top |
|---|
| lbox | true |
|---|
| diagramWidth | 673 |
|---|
| revision | 1 |
|---|
|
...
| draw.io Diagram |
|---|
| border | true |
|---|
| diagramName | ThunderSecuritySequenceDiagram |
|---|
| simpleViewer | false | width |
|---|
| links | auto |
|---|
| tbstyle | top |
|---|
| lbox | true |
|---|
| diagramWidth | 801 |
|---|
| revision | 1 |
|---|
|
...
| Code Block |
|---|
| language | bash |
|---|
| title | WPEFrameworkSecurityUtility |
|---|
|
cd /opt/logs# /usr/bin/WPEFrameworkSecurityUtility
{"token":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1cmwiOiJodHRwOi8vbG9jYWxob3N0In0.u1b-drnYqxLlxAHqTLEFu8PmJ2iKNvrnvmyO0ofvrOI********","success":true} |
Native apps will have to send this token as a query string to JSONRPC::LinkType object as shown below.
...
| Code Block |
|---|
| language | bash |
|---|
| title | HTTP Requests |
|---|
|
cd /opt/logs# /usr/bin/WPEFrameworkSecurityUtility
{"token":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1cmwiOiJodHRwOi8vbG9jYWxob3N0In0.u1b-drnYqxLlxAHqTLEFu8PmJ2iKNvrnvmyO0ofvrOI********","success":true}
cd /opt/logs# curl -H "Content-Type: application/json" -H "Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1cmwiOiJodHRwOi8vbG9jYWxob3N0In0.u1b-drnYqxLlxAHqTLEFu8PmJ2iKNvrnvmyO0ofvrOI********" -X POST -d '{"jsonrpc":"2.0","id":1,"method":"org.rdk.DisplaySettings.1.getCurrentResolution"}' http://127.0.0.1:9998/jsonrpc
{"jsonrpc":"2.0","id":1,"result":{"resolution":"1080p60","success":true}} |
...