-
Notifications
You must be signed in to change notification settings - Fork 98
Expand file tree
/
Copy pathmultiple_auth.yml
More file actions
39 lines (35 loc) · 819 Bytes
/
multiple_auth.yml
File metadata and controls
39 lines (35 loc) · 819 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
openapi: 3.0.0
info:
title: Multiple auth
version: 1.0.0
paths: {}
components:
securitySchemes:
BasicAuth:
type: http
scheme: basic
BearerAuth:
type: http
scheme: bearer
ApiKeyAuth:
type: apiKey
in: header
name: X-API-Key
OpenID:
type: openIdConnect
openIdConnectUrl: https://example.com/.well-known/openid-configuration
OAuth2:
type: oauth2
flows:
authorizationCode:
authorizationUrl: https://example.com/oauth/authorize
tokenUrl: https://example.com/oauth/token
scopes:
read: Grants read access
write: Grants write access
admin: Grants access to admin operations
security:
- BasicAuth: []
BearerAuth: []
- ApiKeyAuth: []
OAuth2: [read]