File: rfc6750.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 (30 lines) | stat: -rw-r--r-- 833 bytes parent folder | download | duplicates (4)
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
.. _specs/rfc6750:

RFC6750: The OAuth 2.0 Authorization Framework: Bearer Token Usage
==================================================================

.. meta::
    :description: API references of RFC6750 in Python implementation.
        Guide on how to use Bearer Token and its validator.

This section contains the generic implementation of RFC6750_.

.. _RFC6750: https://tools.ietf.org/html/rfc6750

Guide on Bearer Token
---------------------

Bearer token is used in OAuth 2.0 framework to protect resources. You need
to implement the missing methods of :class:`BearerTokenValidator` before
using it. Learn how to use it in :ref:`flask_oauth2_resource_protector`.

API Reference
-------------

.. module:: authlib.oauth2.rfc6750

.. autoclass:: BearerTokenValidator
    :members:

.. autoclass:: BearerToken
    :members: