{ "swagger": "2.0", "info": { "version": "1.0.0", "title": "OpenTox OpenSSO" }, "host": "enm.in-silico.ch", "schemes": [ "https" ], "paths": { "/miniaa/authenticate": { "post": { "description": "Authentication against OpenSSO. Returns token. Requires Username and Password.", "operationId": "login", "consumes": [ "text/plain" ], "tags": [ "authentication" ], "produces": [ "text/plain" ], "parameters": [ { "in": "formData", "name": "username", "description": "username", "required": true, "type": "string" }, { "in": "formData", "name": "password", "description": "password", "required": true, "type": "password", "format": "password" } ], "responses": { "200": { "description": "Successful response" }, "400": { "description": "Bad Request" }, "401": { "description": "Unauthorized" } } } }, "/miniaa/logout": { "post": { "description": "Devalidates a token. Requires Subjectid.", "operationId": "login", "tags": [ "authentication" ], "consumes": [ "text/plain" ], "produces": [ "text/plain" ], "parameters": [ { "in": "formData", "name": "subjectid", "description": "subjectid", "required": true, "type": "string" } ], "responses": { "200": { "description": "Successful response" }, "400": { "description": "Bad Request" }, "401": { "description": "Unauthorized" } } } } } }