File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ public function __construct(
5454 /**
5555 * Get a token
5656 *
57- * @param string $grant_type Token type that should be granted
57+ * @param 'authorization_code'|'refresh_token' $grant_type Token type that should be granted
5858 * @param ?string $code Code of the flow
5959 * @param ?string $refresh_token Refresh token
6060 * @param ?string $client_id Client ID
Original file line number Diff line number Diff line change 128128 "properties" : {
129129 "grant_type" : {
130130 "type" : " string" ,
131+ "enum" : [
132+ " authorization_code" ,
133+ " refresh_token"
134+ ],
131135 "description" : " Token type that should be granted"
132136 },
133137 "code" : {
Original file line number Diff line number Diff line change 2283422834 "properties": {
2283522835 "grant_type": {
2283622836 "type": "string",
22837+ "enum": [
22838+ "authorization_code",
22839+ "refresh_token"
22840+ ],
2283722841 "description": "Token type that should be granted"
2283822842 },
2283922843 "code": {
You can’t perform that action at this time.
0 commit comments