Salesforce · JSON Structure

Salesforce Security Schemes Structure

Type: object Properties: 3 Required: 3
Fortune 500AIAnalyticsCloudCommerceCRMCustomer ServiceEnterpriseMarketingPlatformSales

SecuritySchemes is a JSON Structure definition published by Salesforce, describing 3 properties, of which 3 are required. It conforms to the https://json-structure.org/draft/2020-12/schema meta-schema.

Properties

openIDConnectDiscovery bearerAuth oAuth2

Meta-schema: https://json-structure.org/draft/2020-12/schema

JSON Structure

Raw ↑
{
  "type": "object",
  "name": "SecuritySchemes",
  "properties": {
    "openIDConnectDiscovery": {
      "type": "object",
      "properties": {
        "type": {
          "type": "string"
        },
        "openIdConnectUrl": {
          "type": "string"
        }
      },
      "required": [
        "type",
        "openIdConnectUrl"
      ]
    },
    "bearerAuth": {
      "type": "object",
      "properties": {
        "type": {
          "type": "string"
        },
        "description": {
          "type": "string"
        },
        "scheme": {
          "type": "string"
        }
      },
      "required": [
        "type",
        "description",
        "scheme"
      ]
    },
    "oAuth2": {
      "type": "object",
      "properties": {
        "type": {
          "type": "string"
        },
        "description": {
          "type": "string"
        },
        "flows": {
          "type": "object",
          "properties": {
            "implicit": {
              "type": "object",
              "properties": {
                "authorizationUrl": {
                  "type": "string"
                },
                "scopes": {
                  "type": "object",
                  "properties": {
                    "visualforce": {
                      "type": "string"
                    },
                    "address": {
                      "type": "string"
                    },
                    "custom_permissions": {
                      "type": "string"
                    },
                    "openid": {
                      "type": "string"
                    },
                    "profile": {
                      "type": "string"
                    },
                    "refresh_token": {
                      "type": "string"
                    },
                    "wave_api": {
                      "type": "string"
                    },
                    "web": {
                      "type": "string"
                    },
                    "phone": {
                      "type": "string"
                    },
                    "offline_access": {
                      "type": "string"
                    },
                    "chatter_api": {
                      "type": "string"
                    },
                    "id": {
                      "type": "string"
                    },
                    "api": {
                      "type": "string"
                    },
                    "eclair_api": {
                      "type": "string"
                    },
                    "email": {
                      "type": "string"
                    },
                    "pardot_api": {
                      "type": "string"
                    },
                    "full": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "visualforce",
                    "address",
                    "custom_permissions",
                    "openid",
                    "profile",
                    "refresh_token",
                    "wave_api",
                    "web",
                    "phone",
                    "offline_access",
                    "chatter_api",
                    "id",
                    "api",
                    "eclair_api",
                    "email",
                    "pardot_api",
                    "full"
                  ]
                }
              },
              "required": [
                "authorizationUrl",
                "scopes"
              ]
            },
            "password": {
              "type": "object",
              "properties": {
                "tokenUrl": {
                  "type": "string"
                },
                "scopes": {
                  "type": "object",
                  "properties": {
                    "api": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "api"
                  ]
                }
              },
              "required": [
                "tokenUrl",
                "scopes"
              ]
            },
            "authorizationCode": {
              "type": "object",
              "properties": {
                "authorizationUrl": {
                  "type": "string"
                },
                "tokenUrl": {
                  "type": "string"
                },
                "scopes": {
                  "type": "object",
                  "properties": {
                    "visualforce": {
                      "type": "string"
                    },
                    "address": {
                      "type": "string"
                    },
                    "custom_permissions": {
                      "type": "string"
                    },
                    "openid": {
                      "type": "string"
                    },
                    "profile": {
                      "type": "string"
                    },
                    "refresh_token": {
                      "type": "string"
                    },
                    "wave_api": {
                      "type": "string"
                    },
                    "web": {
                      "type": "string"
                    },
                    "phone": {
                      "type": "string"
                    },
                    "offline_access": {
                      "type": "string"
                    },
                    "chatter_api": {
                      "type": "string"
                    },
                    "id": {
                      "type": "string"
                    },
                    "api": {
                      "type": "string"
                    },
                    "eclair_api": {
                      "type": "string"
                    },
                    "email": {
                      "type": "string"
                    },
                    "pardot_api": {
                      "type": "string"
                    },
                    "full": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "visualforce",
                    "address",
                    "custom_permissions",
                    "openid",
                    "profile",
                    "refresh_token",
                    "wave_api",
                    "web",
                    "phone",
                    "offline_access",
                    "chatter_api",
                    "id",
                    "api",
                    "eclair_api",
                    "email",
                    "pardot_api",
                    "full"
                  ]
                }
              },
              "required": [
                "authorizationUrl",
                "tokenUrl",
                "scopes"
              ]
            }
          },
          "required": [
            "implicit",
            "password",
            "authorizationCode"
          ]
        }
      },
      "required": [
        "type",
        "description",
        "flows"
      ]
    }
  },
  "required": [
    "openIDConnectDiscovery",
    "bearerAuth",
    "oAuth2"
  ],
  "$schema": "https://json-structure.org/draft/2020-12/schema"
}