Skip to content

Commit

Permalink
fix: typos and spelling different from codespell dictionary.
Browse files Browse the repository at this point in the history
  • Loading branch information
oliamb committed Oct 5, 2023
1 parent f7c8369 commit 78cfc8d
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion docs/oauth2/grants/custom_grant.rst
Expand Up @@ -47,7 +47,7 @@ This example shows how to add a simple extension to the `Token endpoint`:

* creation of a new class ``MyCustomGrant``, and implement ``create_token_response``.
* do basics and custom request validations, then call a custom method
of `Request Validator` to extend the interface for the implementor.
of `Request Validator` to extend the interface for the implementer.
* instantiate the new grant, and bind it with an existing ``Server``.

.. code-block:: python
Expand Down
2 changes: 1 addition & 1 deletion docs/oauth2/server.rst
Expand Up @@ -48,7 +48,7 @@ User (or Resource Owner)
^^^^^^^^^^^^^^^^^^^^^^^^

The user of your site which resources might be accessed by clients upon
authorization from the user. In our example we will re-use the User
authorization from the user. In our example we will reuse the User
model provided in django.contrib.auth.models. How the user authenticates
is orthogonal from OAuth and may be any way you prefer::

Expand Down
2 changes: 1 addition & 1 deletion oauthlib/oauth1/rfc5849/errors.py
Expand Up @@ -2,7 +2,7 @@
oauthlib.oauth1.rfc5849.errors
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error used both by OAuth 1 clients and provicers to represent the spec
Error used both by OAuth 1 clients and providers to represent the spec
defined error responses for all four core grant types.
"""
from oauthlib.common import add_params_to_uri, urlencode
Expand Down
6 changes: 3 additions & 3 deletions oauthlib/oauth1/rfc5849/request_validator.py
Expand Up @@ -472,7 +472,7 @@ def validate_client_key(self, client_key, request):
Note that if the dummy client is supplied it should validate in same
or nearly the same amount of time as a valid one.
Ensure latency inducing tasks are mimiced even for dummy clients.
Ensure latency inducing tasks are mimicked even for dummy clients.
For example, use::
from your_datastore import Client
Expand Down Expand Up @@ -510,7 +510,7 @@ def validate_request_token(self, client_key, token, request):
Note that if the dummy request_token is supplied it should validate in
the same nearly the same amount of time as a valid one.
Ensure latency inducing tasks are mimiced even for dummy clients.
Ensure latency inducing tasks are mimicked even for dummy clients.
For example, use::
from your_datastore import RequestToken
Expand Down Expand Up @@ -545,7 +545,7 @@ def validate_access_token(self, client_key, token, request):
Note that if the dummy access token is supplied it should validate in
the same or nearly the same amount of time as a valid one.
Ensure latency inducing tasks are mimiced even for dummy clients.
Ensure latency inducing tasks are mimicked even for dummy clients.
For example, use::
from your_datastore import AccessToken
Expand Down

0 comments on commit 78cfc8d

Please sign in to comment.