File: api.rst

package info (click to toggle)
python-authlib 1.6.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,016 kB
  • sloc: python: 26,998; makefile: 53; sh: 14
file content (41 lines) | stat: -rw-r--r-- 880 bytes parent folder | download | duplicates (3)
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
40
41
API References of Django OAuth 2.0 Server
=========================================

This part of the documentation covers the interface of Django OAuth 2.0
Server.

.. module:: authlib.integrations.django_oauth2

.. autoclass:: AuthorizationServer
    :members:
        register_grant,
        register_endpoint,
        get_consent_grant,
        create_authorization_response,
        create_token_response,
        create_endpoint_response

.. autoclass:: ResourceProtector
    :member-order: bysource
    :members:

.. autoclass:: BearerTokenValidator
    :member-order: bysource
    :members:

.. autoclass:: RevocationEndpoint
    :member-order: bysource
    :members:


.. data:: client_authenticated

    Signal when client is authenticated

.. data:: token_revoked

    Signal when token is revoked

.. data:: token_authenticated

    Signal when token is authenticated