{ "opencollection": "1.0.0", "info": { "name": "IO.Common Accounts Auth API", "version": "1.0" }, "request": { "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://identity.scanbro.com/connect/authorize", "accessTokenUrl": "https://identity.scanbro.com/connect/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "items": [ { "info": { "name": "Auth", "type": "folder" }, "items": [ { "info": { "name": "Login endpoint for Swagger - exchanges credentials for OAuth token and sets cookie", "type": "http" }, "http": { "method": "POST", "url": "{{baseUrl}}/api/v1/Auth/login", "params": [ { "name": "Account", "value": "", "type": "query", "description": "Account" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Login endpoint for Swagger - exchanges credentials for OAuth token and sets cookie" }, { "info": { "name": "Logout endpoint - clears authentication cookie", "type": "http" }, "http": { "method": "POST", "url": "{{baseUrl}}/api/v1/Auth/logout", "params": [ { "name": "Account", "value": "", "type": "query", "description": "Account" } ] }, "docs": "Logout endpoint - clears authentication cookie" }, { "info": { "name": "Check authentication status", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/api/v1/Auth/status", "params": [ { "name": "Account", "value": "", "type": "query", "description": "Account" } ] }, "docs": "Check authentication status" } ] } ], "bundled": true }