mirror of
https://github.com/element-hq/matrix-authentication-service.git
synced 2026-05-12 17:25:05 +00:00
46c565cc89
Also enables the `preserve_order` feature, hence the big schema output diff.
37 lines
751 B
JSON
37 lines
751 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": {
|
|
"user": {
|
|
"type": "object",
|
|
"additionalProperties": true
|
|
},
|
|
"client": {
|
|
"type": "object",
|
|
"additionalProperties": true
|
|
},
|
|
"scope": {
|
|
"type": "string"
|
|
},
|
|
"grant_type": {
|
|
"$ref": "#/definitions/GrantType"
|
|
}
|
|
},
|
|
"definitions": {
|
|
"GrantType": {
|
|
"type": "string",
|
|
"enum": [
|
|
"authorization_code",
|
|
"client_credentials",
|
|
"urn:ietf:params:oauth:grant-type:device_code"
|
|
]
|
|
}
|
|
}
|
|
} |