ó
    ych‘-  ã            	       ó  • S r SSKJrJrJrJrJr  SSKJr  SSK	J
r
  SSKJr  SSKJr  SSKJr  SS	KJr  S
SKJr   " S S\
\\\\5      r " S S\
\\\\5      r " S S\
\\\5      r " S S\\\\5      r " S S\\\\5      rg)zÊ
oauthlib.oauth2.rfc6749.endpoints.pre_configured
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

This module is an implementation of various endpoints needed
for providing OAuth 2.0 RFC6749 servers.
é   )ÚAuthorizationCodeGrantÚClientCredentialsGrantÚImplicitGrantÚRefreshTokenGrantÚ%ResourceOwnerPasswordCredentialsGrant)ÚBearerTokené   )ÚAuthorizationEndpoint)ÚIntrospectEndpoint)ÚResourceEndpoint)ÚRevocationEndpoint)ÚTokenEndpointé    )ÚDeviceCodeGrantc                   ó(   • \ rS rSrSr   SS jrSrg)ÚServeré   zS
An all-in-one endpoint featuring all four major grant types
and extension grants.
Nc           
      ó¼  • [        U5      U l        [        U5      U l        [	        U5      U l        [        U5      U l        [        U5      U l	        [        U40 UD6U l        [        XX$5      U l        [        R                  " U SU R                  U R                  U R                  S.U R                  S9  [         R                  " U SU R                  U R
                  U R                  U R                  U R                  S.U R                  S9  ["        R                  " U SSU R                  0S9  [$        R                  " X5        [&        R                  " X5        g	)
a   Construct a new all-grants-in-one server.

:param request_validator: An implementation of
                          oauthlib.oauth2.RequestValidator.
:param token_expires_in: An int or a function to generate a token
                         expiration offset (in seconds) given a
                         oauthlib.common.Request object.
:param token_generator: A function to generate a token from a request.
:param refresh_token_generator: A function to generate a token from a
                                request for the refresh token.
:param kwargs: Extra parameters to pass to authorization-,
               token-, resource-, and revocation-endpoint constructors.
Úcode)r   ÚtokenÚnone©Údefault_response_typeÚresponse_typesÚdefault_token_typeÚauthorization_code)r   ÚpasswordÚclient_credentialsÚrefresh_tokenz,urn:ietf:params:oauth:grant-type:device_code©Údefault_grant_typeÚgrant_typesr   ÚBearer©Údefault_tokenÚtoken_typesN)r   Ú
auth_grantr   Úimplicit_grantr   Úpassword_grantr   Úcredentials_grantr   Úrefresh_grantr   Údevice_code_grantr   Úbearerr
   Ú__init__r   r   r   r   )ÚselfÚrequest_validatorÚtoken_expires_inÚtoken_generatorÚrefresh_token_generatorÚargsÚkwargss          Úy/var/www/djangovue.mamus.xyz/django/venv/lib/python3.13/site-packages/oauthlib/oauth2/rfc6749/endpoints/pre_configured.pyr.   ÚServer.__init__!   s6  € ô, 1Ð1BÓCˆŒÜ+Ð,=Ó>ˆÔÜCÐDUÓVˆÔÜ!7Ð8IÓ!JˆÔÜ.Ð/@ÓAˆÔÜ!0Ð1BÑ!MÀfÑ!MˆÔä!ØÐ0@ó
ˆŒô 	×&Ò&ØØ"(àŸ™Ø×,Ñ,ØŸ™ñð
  $Ÿ{™{ò		
ô 	×ÒØØ3à&*§o¡oØ ×/Ñ/Ø&*×&<Ñ&<Ø!%×!3Ñ!3Ø@D×@VÑ@Vñð  $Ÿ{™{ò	
ô 	×!Ò!Ø °xÀÇÁÐ6Mò	
ô 	×#Ò# DÔ<Ü×#Ò# DÕ<ó    )r'   r-   r*   r,   r(   r)   r+   ©NNN©Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__Ú__doc__r.   Ú__static_attributes__© r8   r6   r   r      s   † ñð ØØ $÷<=r8   r   c                   ó(   • \ rS rSrSr   SS jrSrg)ÚWebApplicationServeré`   zLAn all-in-one endpoint featuring Authorization code grant and Bearer tokens.Nc                 óÌ  • [        U5      U l        [        U5      U l        [	        XX45      U l        [        R                  " U SSU R                  0U R
                  S9  [        R                  " U SU R                  U R                  S.U R
                  S9  [        R                  " U SSU R
                  0S9  [        R                  " X5        [        R                  " X5        g)	až  Construct a new web application server.

:param request_validator: An implementation of
                          oauthlib.oauth2.RequestValidator.
:param token_expires_in: An int or a function to generate a token
                         expiration offset (in seconds) given a
                         oauthlib.common.Request object.
:param token_generator: A function to generate a token from a request.
:param refresh_token_generator: A function to generate a token from a
                                request for the refresh token.
:param kwargs: Extra parameters to pass to authorization-,
               token-, resource-, and revocation-endpoint constructors.
r   r   r   )r   r   r    r#   r$   N)r   r'   r   r+   r   r-   r
   r.   r   r   r   r   ©r/   r0   r2   r1   r3   r5   s         r6   r.   ÚWebApplicationServer.__init__e   sÌ   € ô* 1Ð1BÓCˆŒÜ.Ð/@ÓAˆÔÜ!ØÐ0@ó
ˆŒô 	×&Ò&ØØ"(Ø" D§O¡OÐ4Ø#Ÿ{™{ò		
ô 	×ÒØØ3à&*§o¡oØ!%×!3Ñ!3ñð  $Ÿ{™{ò	
ô 	×!Ò!Ø °xÀÇÁÐ6Mò	
ô 	×#Ò# DÔ<Ü×#Ò# DÕ<r8   )r'   r-   r+   r9   r:   rA   r8   r6   rC   rC   `   s   † ñ Wð
 ØØ $÷-=r8   rC   c                   ó(   • \ rS rSrSr   SS jrSrg)ÚMobileApplicationServeré•   zGAn all-in-one endpoint featuring Implicit code grant and Bearer tokens.Nc                 ó<  • [        U5      U l        [        XX45      U l        [        R
                  " U SSU R                  0U R                  S9  [        R
                  " U SSU R                  0S9  [        R
                  " XS/S9  [        R
                  " XS/S9  g)a�  Construct a new implicit grant server.

:param request_validator: An implementation of
                          oauthlib.oauth2.RequestValidator.
:param token_expires_in: An int or a function to generate a token
                         expiration offset (in seconds) given a
                         oauthlib.common.Request object.
:param token_generator: A function to generate a token from a request.
:param refresh_token_generator: A function to generate a token from a
                                request for the refresh token.
:param kwargs: Extra parameters to pass to authorization-,
               token-, resource-, and revocation-endpoint constructors.
r   r   r#   r$   Úaccess_token©Úsupported_token_typesN)	r   r(   r   r-   r
   r.   r   r   r   rF   s         r6   r.   Ú MobileApplicationServer.__init__š   sŸ   € ô* ,Ð,=Ó>ˆÔÜ!ØÐ0@ó
ˆŒô 	×&Ò&ØØ")Ø# T×%8Ñ%8Ð9Ø#Ÿ{™{ò		
ô 	×!Ò!Ø °xÀÇÁÐ6Mò	
ô 	×#Ò#Ø¸NÐ;Kò	
ô 	×#Ò#Ø¸NÐ;Kó	
r8   )r-   r(   r9   r:   rA   r8   r6   rI   rI   •   s   † ñ Rð
 ØØ $÷'
r8   rI   c                   ó(   • \ rS rSrSr   SS jrSrg)ÚLegacyApplicationServeréÄ   z]An all-in-one endpoint featuring Resource Owner Password Credentials grant and Bearer tokens.Nc                 ór  • [        U5      U l        [        U5      U l        [	        XX45      U l        [        R                  " U SU R                  U R                  S.U R
                  S9  [        R                  " U SSU R
                  0S9  [        R                  " X5        [        R                  " X5        g)a´  Construct a resource owner password credentials grant server.

:param request_validator: An implementation of
                          oauthlib.oauth2.RequestValidator.
:param token_expires_in: An int or a function to generate a token
                         expiration offset (in seconds) given a
                         oauthlib.common.Request object.
:param token_generator: A function to generate a token from a request.
:param refresh_token_generator: A function to generate a token from a
                                request for the refresh token.
:param kwargs: Extra parameters to pass to authorization-,
               token-, resource-, and revocation-endpoint constructors.
r   )r   r   r    r#   r$   N)r   r)   r   r+   r   r-   r   r.   r   r   r   rF   s         r6   r.   Ú LegacyApplicationServer.__init__É   s§   € ô* DÐDUÓVˆÔÜ.Ð/@ÓAˆÔÜ!ØÐ0@ó
ˆŒô 	×ÒØØ)à ×/Ñ/Ø!%×!3Ñ!3ñð  $Ÿ{™{ò	
ô 	×!Ò!Ø °xÀÇÁÐ6Mò	
ô 	×#Ò# DÔ<Ü×#Ò# DÕ<r8   )r-   r)   r+   r9   r:   rA   r8   r6   rQ   rQ   Ä   s   † ñ hð
 ØØ $÷'=r8   rQ   c                   ó(   • \ rS rSrSr   SS jrSrg)ÚBackendApplicationServeréó   zLAn all-in-one endpoint featuring Client Credentials grant and Bearer tokens.Nc                 ó<  • [        U5      U l        [        XX45      U l        [        R
                  " U SSU R                  0U R                  S9  [        R
                  " U SSU R                  0S9  [        R
                  " XS/S9  [        R
                  " XS/S9  g)a£  Construct a client credentials grant server.

:param request_validator: An implementation of
                          oauthlib.oauth2.RequestValidator.
:param token_expires_in: An int or a function to generate a token
                         expiration offset (in seconds) given a
                         oauthlib.common.Request object.
:param token_generator: A function to generate a token from a request.
:param refresh_token_generator: A function to generate a token from a
                                request for the refresh token.
:param kwargs: Extra parameters to pass to authorization-,
               token-, resource-, and revocation-endpoint constructors.
r   r    r#   r$   rL   rM   N)	r   r*   r   r-   r   r.   r   r   r   rF   s         r6   r.   Ú!BackendApplicationServer.__init__ø   sŸ   € ô* "8Ð8IÓ!JˆÔÜ!ØÐ0@ó
ˆŒô 	×ÒØØ3Ø-¨t×/EÑ/EÐFØ#Ÿ{™{ò		
ô 	×!Ò!Ø °xÀÇÁÐ6Mò	
ô 	×#Ò#Ø¸NÐ;Kò	
ô 	×#Ò#Ø¸NÐ;Kó	
r8   )r-   r*   r9   r:   rA   r8   r6   rV   rV   ó   s   † ñ Wð
 ØØ $÷'
r8   rV   N)r?   r"   r   r   r   r   r   Útokensr   Úauthorizationr
   Ú
introspectr   Úresourcer   Ú
revocationr   r   r   Ú#oauthlib.oauth2.rfc8628.grant_typesr   r   rC   rI   rQ   rV   rA   r8   r6   Ú<module>r`      s£   ðñ÷õ õ !Ý 0Ý *Ý &Ý *Ý  Ý ?ôD=ØÐ-¨}Ð>NÐPbôD=ôN2=ØÐ-¨}Ð>NÐPbô2=ôj,
ØÐ-Ð/?ÐASô,
ô^,=ØÐ%Ð'7Ð9Kô,=ô^,
ØÐ%Ð'7Ð9Kõ,
r8   