Create sequence diagrams with simple online tool

Swimlanes.io is a free webapp for making sequence diagrams. You simply edit the text on the left and the diagram is updated in real time. You can download your sequence diagrams as images or distribute with a link.

Title: 3Speak - client - Session Management Client -> 3Speak: Step 1. Request **Access Token** note: - https://studio.3speak.tv/mobile/login?username=sagarkothari88 - parameter - `username` is Hive username - http Method - GET - cURL - `curl --location --request GET 'https://studio.3speak.tv/mobile/login?username=sagarkothari88'` - Client asks 3Speak server to provide access token 3Speak -> Client: Provide **Access Token** note: - 3Speak gets the posting-public key of Hive-username - 3Speak generates a JWT token - 3Speak encodes this token with posting-public-key of Hive-user - Here is example output ``` { "memo": "#28A2K2zxWrh1n....." } ``` Client -> 3Speak: Step 2. Request **Cookie** note: - Client decodes the memo sent by 3Speak - Decoded memo is JWT token - Client sends another request in which it requests for cookie - https://studio.3speak.tv/mobile/login?username=sagarkothari88&access_token=eyJhbGci.. - parameter - `username` is Hive username - http Method - GET - cURL - `curl --location --request GET 'https://studio.3speak.tv/mobile/login?username=sagarkothari88&access_token=eyJhbGci'` 3Speak -> Client: Provide **Cookie** note: - Client receives response - Client stores cookie received from response headers - `set-cookie`