+
    VùCi‘-  ã            	       ó
  € R t ^RIHtHtHtHtHt ^RIHt ^RI	H
t
 ^RIHt ^RIHt ^RIHt ^RIHt ^ RIHt  ! R	 R
]
]]]]4      t ! R R]
]]]]4      t ! R R]
]]]4      t ! R R]]]]4      t ! R R]]]]4      tR# )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                   ó.   a € ] tR t^t o RtRR ltRtV tR# )ÚServerzS
An all-in-one endpoint featuring all four major grant types
and extension grants.
Nc                óÜ  € \        V4      V n        \        V4      V n        \	        V4      V n        \        V4      V n        \        V4      V n	        \        V3/ VB V n        \        WW$4      V n        \        P                  ! V RRV P                  RV P                  RV P                  /V P                  R7       \         P                  ! V RRV P                  RV P
                  RV P                  RV P                  R	V P                  /V P                  R
7       \"        P                  ! V RRV P                  /R7       \$        P                  ! W4       \&        P                  ! W4       R# )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ÚtokenÚnone©Údefault_response_typeÚresponse_typesÚdefault_token_typeÚauthorization_codeÚ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   &&&&&*,ÚR/usr/lib/python3/dist-packages/oauthlib/oauth2/rfc6749/endpoints/pre_configured.pyr*   ÚServer.__init__!   sF  € ô, 1Ð1BÓCˆŒÜ+Ð,=Ó>ˆÔÜCÐDUÓVˆÔÜ!7Ð8IÓ!JˆÔÜ.Ð/@ÓAˆÔÜ!0Ð1BÑ!MÀfÑ!MˆÔä!ØÐ0@ó
ˆŒô 	×&Ò&ØØ"(à˜Ÿ™Ø˜×,Ñ,Ø˜Ÿ™ðð
  $Ÿ{™{õ		
ô 	×ÒØØ3à$ d§o¡oØ˜D×/Ñ/Ø$ d×&<Ñ&<Ø ×!3Ñ!3Ø>À×@VÑ@Vðð  $Ÿ{™{õ	
ô 	×!Ò!Ø °xÀÇÁÐ6Mõ	
ô 	×#Ò# DÔ<Ü×#Ò# DÖ<ó    )r#   r)   r&   r(   r$   r%   r'   ©NNN©Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__Ú__doc__r*   Ú__static_attributes__Ú__classdictcell__©Ú__classdict__s   @r2   r   r      s   ø‡ € ñ÷
<=ò <=r4   r   c                   ó.   a € ] tR t^`t o RtRR ltRtV tR# )ÚWebApplicationServerzLAn all-in-one endpoint featuring Authorization code grant and Bearer tokens.Nc                óâ  € \        V4      V n        \        V4      V n        \	        WW44      V n        \        P                  ! V RRV P                  /V P
                  R7       \        P                  ! V RRV P                  RV P                  /V P
                  R7       \        P                  ! V RRV P
                  /R7       \        P                  ! W4       \        P                  ! W4       R# )	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    N)r   r#   r   r'   r   r)   r   r*   r   r
   r   r	   ©r+   r,   r.   r-   r/   r1   s   &&&&&,r2   r*   ÚWebApplicationServer.__init__e   sÐ   € ô* 1Ð1BÓCˆŒÜ.Ð/@ÓAˆÔÜ!ØÐ0@ó
ˆŒô 	×&Ò&ØØ"(Ø" D§O¡OÐ4Ø#Ÿ{™{õ		
ô 	×ÒØØ3à$ d§o¡oØ ×!3Ñ!3ðð  $Ÿ{™{õ	
ô 	×!Ò!Ø °xÀÇÁÐ6Mõ	
ô 	×#Ò# DÔ<Ü×#Ò# DÖ<r4   )r#   r)   r'   r5   r6   r>   s   @r2   rA   rA   `   s   ø‡ € ñ W÷-=ò -=r4   rA   c                   ó.   a € ] tR t^•t o RtRR ltRtV tR# )ÚMobileApplicationServerzGAn all-in-one endpoint featuring Implicit code grant and Bearer tokens.Nc                óV  € \        V4      V n        \        WW44      V n        \        P
                  ! V RRV P                  /V P                  R7       \        P
                  ! V RRV P                  /R7       \        P
                  ! WR.R7       \        P
                  ! WR.R7       R# )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	   rC   s   &&&&&,r2   r*   Ú MobileApplicationServer.__init__š   sŸ   € ô* ,Ð,=Ó>ˆÔÜ!ØÐ0@ó
ˆŒô 	×&Ò&ØØ")Ø# T×%8Ñ%8Ð9Ø#Ÿ{™{õ		
ô 	×!Ò!Ø °xÀÇÁÐ6Mõ	
ô 	×#Ò#Ø¸NÐ;Kõ	
ô 	×#Ò#Ø¸NÐ;K÷	
r4   )r)   r$   r5   r6   r>   s   @r2   rF   rF   •   s   ø‡ € ñ R÷'
ò '
r4   rF   c                   ó.   a € ] tR t^Ät o RtRR ltRtV tR# )ÚLegacyApplicationServerz]An all-in-one endpoint featuring Resource Owner Password Credentials grant and Bearer tokens.Nc                ó‚  € \        V4      V n        \        V4      V n        \	        WW44      V n        \        P                  ! V RRV P                  RV P                  /V P
                  R7       \        P                  ! V RRV P
                  /R7       \        P                  ! W4       \        P                  ! W4       R# )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    N)r   r%   r   r'   r   r)   r   r*   r
   r   r	   rC   s   &&&&&,r2   r*   Ú LegacyApplicationServer.__init__É   s«   € ô* DÐDUÓVˆÔÜ.Ð/@ÓAˆÔÜ!ØÐ0@ó
ˆŒô 	×ÒØØ)à˜D×/Ñ/Ø ×!3Ñ!3ðð  $Ÿ{™{õ	
ô 	×!Ò!Ø °xÀÇÁÐ6Mõ	
ô 	×#Ò# DÔ<Ü×#Ò# DÖ<r4   )r)   r%   r'   r5   r6   r>   s   @r2   rM   rM   Ä   s   ø‡ € ñ h÷'=ò '=r4   rM   c                   ó.   a € ] tR t^ót o RtRR ltRtV tR# )ÚBackendApplicationServerzLAn all-in-one endpoint featuring Client Credentials grant and Bearer tokens.Nc                óV  € \        V4      V n        \        WW44      V n        \        P
                  ! V RRV P                  /V P                  R7       \        P
                  ! V RRV P                  /R7       \        P
                  ! WR.R7       \        P
                  ! WR.R7       R# )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    rH   rI   N)	r   r&   r   r)   r   r*   r
   r   r	   rC   s   &&&&&,r2   r*   Ú!BackendApplicationServer.__init__ø   sŸ   € ô* "8Ð8IÓ!JˆÔÜ!ØÐ0@ó
ˆŒô 	×ÒØØ3Ø-¨t×/EÑ/EÐFØ#Ÿ{™{õ		
ô 	×!Ò!Ø °xÀÇÁÐ6Mõ	
ô 	×#Ò#Ø¸NÐ;Kõ	
ô 	×#Ò#Ø¸NÐ;K÷	
r4   )r)   r&   r5   r6   r>   s   @r2   rQ   rQ   ó   s   ø‡ € ñ W÷'
ò '
r4   rQ   N)r;   r   r   r   r   r   r   Útokensr   Úauthorizationr   Ú
introspectr	   Úresourcer
   Ú
revocationr   r   r   Ú#oauthlib.oauth2.rfc8628.grant_typesr   r   rA   rF   rM   rQ   © r4   r2   Ú<module>r[      s£   ðñ÷õ õ !Ý 0Ý *Ý &Ý *Ý  Ý ?ôD=ØÐ-¨}Ð>NÐPbôD=ôN2=ØÐ-¨}Ð>NÐPbô2=ôj,
ØÐ-Ð/?ÐASô,
ô^,=ØÐ%Ð'7Ð9Kô,=ô^,
ØÐ%Ð'7Ð9Kö,
r4   