File manager - Edit - /snap/core20/2866/usr/lib/python3/dist-packages/oauthlib/oauth2/rfc6749/endpoints/__pycache__/revocation.cpython-38.pyc
Back
U ��I]� � @ sf d Z ddlmZmZ ddlZddlmZ ddlmZm Z ddl mZmZ e� e�ZG d d � 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 � )�absolute_import�unicode_literalsN)�Request� )�OAuth2Error�UnsupportedTokenTypeError� )�BaseEndpoint�catch_errors_and_unavailabilityc @ s8 e Zd ZdZdZdZd dd�Zedd 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. )Zaccess_tokenZ refresh_token)�POSTNFc C s&