PHP WebShell
Текущая директория: /usr/lib/python3/dist-packages/oauthlib/oauth2/rfc6749/endpoints/__pycache__
Просмотр файла: revocation.cpython-310.pyc
o
���a\ � @ sR d Z ddlZddlmZ ddlmZ ddlmZmZ e� e
�ZG dd � d e�ZdS )
z�
oauthlib.oauth2.rfc6749.endpoint.revocation
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
An implementation of the OAuth 2 `Token Revocation`_ spec (draft 11).
.. _`Token Revocation`: https://tools.ietf.org/html/draft-ietf-oauth-revocation-11
� N)�Request� )�OAuth2Error� )�BaseEndpoint�catch_errors_and_unavailabilityc @ s@ e Zd ZdZdZdZ d
dd�Ze dd d
��Zdd� Z dS )�RevocationEndpointz�Token revocation endpoint.
Endpoint used by authenticated clients to revoke access and refresh tokens.
Commonly this will be part of the Authorization Endpoint.
)�access_token�
refresh_token)�POSTNFc C s&