Skip to content

Commit c83a23d

Browse files
committed
Create authentication.md
1 parent 7bbbead commit c83a23d

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

Resources/doc/authentication.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
Swagger UI Bundle
2+
=================
3+
4+
## Authentication options
5+
6+
`swagger-ui` supports `http` and `oauth` authentication, and both of these can be easily configured in this bundle:
7+
8+
9+
### OAuth
10+
```
11+
al_swagger_ui:
12+
oauth:
13+
enable: true
14+
app_name: "Your app name"
15+
client_id: "unique_client_id"
16+
realm: "your-realms"
17+
```
18+
19+
Coupled with the correct OAuth authentication definition in your API declarations,

0 commit comments

Comments
 (0)