File tree Expand file tree Collapse file tree 4 files changed +21
-3
lines changed Expand file tree Collapse file tree 4 files changed +21
-3
lines changed Original file line number Diff line number Diff line change @@ -34,13 +34,15 @@ Index
34
34
tutorial/tutorial
35
35
rest-framework/rest-framework
36
36
views/views
37
+ settings
37
38
38
39
.. toctree ::
39
40
:maxdepth: 1
40
41
41
42
contributing
42
43
changelog
43
44
45
+
44
46
Indices and tables
45
47
==================
46
48
Original file line number Diff line number Diff line change
1
+ Permissions
2
+ ===========
3
+
4
+ Django OAuth Toolkit provides a few utility classes to use along with other permissions in Django REST Framework,
5
+ so you can easily add scoped-based permission checks to your API views.
6
+
7
+
8
+
9
+ TokenHasScope
10
+ -------------
11
+
12
+ TODO: add docs for TokenHasScope permission class with usage examples
13
+
14
+
15
+ TokenHasReadWriteScope
16
+ ----------------------
17
+
18
+ TODO: add docs for TokenHasReadWriteScope permission class with usage examples
Original file line number Diff line number Diff line change @@ -5,3 +5,4 @@ Django Rest Framework
5
5
:maxdepth: 2
6
6
7
7
getting_started
8
+ permissions
Original file line number Diff line number Diff line change @@ -18,7 +18,4 @@ For example:
18
18
}
19
19
20
20
21
- Reference
22
- =========
23
-
24
21
TODO: add reference documentation for DOT settings
You can’t perform that action at this time.
0 commit comments