Forgejo · Schema

OAuth2Application represents an OAuth2 application.

GitSource Code ManagementSelf-HostedDevOpsCI/CDOpen SourceForgeRepositoriesIssuesPull Requests

Properties

Name Type Description
client_id string
client_secret string
confidential_client boolean
created string
id integer
name string
redirect_uris array
View JSON Schema on GitHub

JSON Schema

oauth2application.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "OAuth2Application represents an OAuth2 application.",
  "type": "object",
  "properties": {
    "client_id": {
      "type": "string",
      "x-go-name": "ClientID"
    },
    "client_secret": {
      "type": "string",
      "x-go-name": "ClientSecret"
    },
    "confidential_client": {
      "type": "boolean",
      "x-go-name": "ConfidentialClient"
    },
    "created": {
      "type": "string",
      "format": "date-time",
      "x-go-name": "Created"
    },
    "id": {
      "type": "integer",
      "format": "int64",
      "x-go-name": "ID"
    },
    "name": {
      "type": "string",
      "x-go-name": "Name"
    },
    "redirect_uris": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "x-go-name": "RedirectURIs"
    }
  },
  "x-go-package": "forgejo.org/modules/structs"
}