{
  "openapi": "3.1.0",
  "info": {
    "title": "security",
    "version": "1.0"
  },
  "servers": [
    {
      "url": "https://{OrangeLogicURL}/webapi/security",
      "variables": {
        "OrangeLogicURL": {
          "default": "OrangeLogicURL"
        }
      }
    }
  ],
  "components": {
    "securitySchemes": {
      "sec0": {
        "type": "oauth2",
        "flows": {
          "clientCredentials": {
            "tokenUrl": "https://example.com/oauth2/token",
            "scopes": {}
          }
        }
      }
    }
  },
  "security": [
    {
      "sec0": []
    }
  ],
  "paths": {
    "/bearerauthentication/getbearertoken_42P_v1": {
      "get": {
        "summary": "Get bearer token",
        "description": "Retrieve the non-expiring bearer token of an Orange Logic user",
        "operationId": "get-bearer-token",
        "parameters": [
          {
            "name": "UserEmail",
            "in": "query",
            "description": "The email address of an Orange Logic user.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n  \"bearerToken\": \"Bearer dvpKCR0cOsg3m.4BJgS0z74yBBnyJYp79JPFQCIrcx6SmGTU0gc3wD1UBt5uALSDX97XocdZ0Gg6OvHlDggrzoBEN8opbyykf1Y0Poalh1I*\",\n  \"errorMessage\": null\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "bearerToken": {
                      "type": "string",
                      "example": "Bearer dvpKCR0cOsg3m.4BJgS0z74yBBnyJYp79JPFQCIrcx6SmGTU0gc3wD1UBt5uALSDX97XocdZ0Gg6OvHlDggrzoBEN8opbyykf1Y0Poalh1I*"
                    },
                    "errorMessage": {}
                  }
                }
              }
            }
          }
        },
        "deprecated": false,
        "x-readme": {
          "code-samples": [
            {
              "language": "text",
              "code": "  'https://mangovations.com/webapi/security/bearerauthentication/getbearertoken_42P_v1?UserEmail=kristen.harrison%40mangovations.com' \\\n  -H 'accept: text/plain'"
            }
          ],
          "samples-languages": [
            "text"
          ]
        }
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": false,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true
}
