Skip to content

Commit 16c63ef

Browse files
feat: client credential no mandatory with pkce enable
1 parent 1f1a793 commit 16c63ef

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

demo/models/oAuth2/oAuth2.raml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
#%RAML 1.0
2+
title: oauth2
3+
description: Best API ever
4+
securitySchemes:
5+
oAuth2:
6+
type: OAuth 2.0
7+
settings:
8+
authorizationGrants:
9+
[ client_credentials, password, authorization_code, implicit ]
10+
authorizationUri: https://api.example.com/oauth2/authorize
11+
accessTokenUri: https://api.example.com/oauth2/token
12+
redirectUri: https://tudev-app.com/callback
13+
/products:
14+
get:
15+
securedBy:
16+
- oAuth2
17+
responses:
18+
200:
19+
body:
20+
application/json:
21+
type: string
22+
example: |
23+
{
24+
"message": "OK"
25+
}

0 commit comments

Comments
 (0)