Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

Here is the JSONSchema for the OAuth object.

{
  "$async": true,
  "$schema": "http://json-schema.org/draft-07/schema",
  "$id": "http://broker.servicepower.com/schemas/sub_schemas/OAuth.json",
  "properties": {
    "Provider": {
      "description": "Identity Provider",
      "type": "string",
      "default": "Cognito",
      "enum": [
        "Cognito"
      ]
    },
    "ClientId": {
      "description": "Application Client Id",
      "type": "string",
      "default": ""
    },
    "ClientSecret": {
      "description": "Application Client Secret",
      "type": "string",
      "default": ""
    },
    "AutoCreateUser": {
      "description": "",
      "type": "boolean",
      "default": false
    },
    "Scopes": {
      "description": "OAuth 2.0 scopes",
      "type": "array",
      "items": {
        "type": "string"
      },
      "default": []
    },
    "ScopeURLs": {
      "description": "Resource URLs associated with an OAuth 2.0 scopes",
      "type": "object",
      "properties": {},
      "default": {}
    }
  },
  "additionalProperties": false,
  "type": "object"
}