Guides

Authentication

Configure credentials for the scheme described by the API model. Keep credentials outside source control.

{
  "alternatives": [
    [
      {
        "in": "header",
        "name": "Authorization",
        "prefix": "Bearer",
        "scheme": "PersonalToken",
        "type": "http"
      }
    ],
    [
      {
        "in": "header",
        "name": "Authorization",
        "prefix": "Bearer",
        "scheme": "ClientCredentialsToken",
        "type": "http"
      }
    ],
    [
      {
        "in": "header",
        "name": "Authorization",
        "prefix": "Basic",
        "scheme": "BasicAuth",
        "type": "http"
      }
    ],
    [
      {
        "in": "header",
        "name": "Authorization",
        "prefix": "Bearer",
        "scheme": "ClientCredentialsToken",
        "type": "http"
      },
      {
        "in": "header",
        "name": "X-Signature",
        "prefix": "",
        "scheme": "HmacSignature",
        "type": "apiKey"
      },
      {
        "in": "header",
        "name": "X-Signature-Timestamp",
        "prefix": "",
        "scheme": "HmacSignatureTimestamp",
        "type": "apiKey"
      }
    ]
  ],
  "in": "header",
  "name": "Authorization",
  "prefix": "Bearer",
  "scheme": "UserToken",
  "type": "http"
}