o
    RD©i%  ã                   @   s‚   d dl mZ ddlmZmZmZmZ G dd„ deeƒZG dd„ deeƒZG dd	„ d	eeƒZ	G d
d„ deeƒZ
G dd„ dee
ƒZdS )é    )ÚViewé   )ÚClientProtectedResourceMixinÚProtectedResourceMixinÚReadWriteScopedResourceMixinÚScopedResourceMixinc                   @   ó   e Zd ZdZdS )ÚProtectedResourceViewz]
    Generic view protecting resources by providing OAuth2 authentication out of the box
    N©Ú__name__Ú
__module__Ú__qualname__Ú__doc__© r   r   úV/var/www/Datamplify/venv/lib/python3.10/site-packages/oauth2_provider/views/generic.pyr	      ó    r	   c                   @   r   )ÚScopedProtectedResourceViewzu
    Generic view protecting resources by providing OAuth2 authentication and Scopes handling
    out of the box
    Nr
   r   r   r   r   r      ó    r   c                   @   r   )ÚReadWriteScopedResourceViewz¼
    Generic view protecting resources with OAuth2 authentication and read/write scopes.
    GET, HEAD, OPTIONS http methods require "read" scope. Otherwise "write" scope is required.
    Nr
   r   r   r   r   r      r   r   c                   @   r   )ÚClientProtectedResourceViewzŸView for protecting a resource with client-credentials method.
    This involves allowing access tokens, Basic Auth and plain credentials in request body.
    Nr
   r   r   r   r   r   %   r   r   c                   @   r   )Ú!ClientProtectedScopedResourceViewzIImpose scope restrictions if client protection fallsback to access token.Nr
   r   r   r   r   r   -   s    r   N)Údjango.views.genericr   Úmixinsr   r   r   r   r	   r   r   r   r   r   r   r   r   Ú<module>   s    		