36 lines
695 B
JSON
36 lines
695 B
JSON
{
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
"title": "AuthorizationGrantInput",
|
|
"description": "Input for the authorization grant policy.",
|
|
"type": "object",
|
|
"required": [
|
|
"client",
|
|
"grant_type",
|
|
"scope"
|
|
],
|
|
"properties": {
|
|
"client": {
|
|
"type": "object",
|
|
"additionalProperties": true
|
|
},
|
|
"grant_type": {
|
|
"$ref": "#/definitions/GrantType"
|
|
},
|
|
"scope": {
|
|
"type": "string"
|
|
},
|
|
"user": {
|
|
"type": "object",
|
|
"additionalProperties": true
|
|
}
|
|
},
|
|
"definitions": {
|
|
"GrantType": {
|
|
"type": "string",
|
|
"enum": [
|
|
"authorization_code",
|
|
"client_credentials"
|
|
]
|
|
}
|
|
}
|
|
} |