summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorEunchong Yu <kroisse@gmail.com>2013-05-16 18:08:51 +0900
committerEunchong Yu <kroisse@gmail.com>2013-05-16 18:08:51 +0900
commit9da6a06fd586dded554923493ded1340f2cdd22a (patch)
treeb400e015072a5535b459bb697cf0f6350c5ba54a /examples
parent4f0f00122a9d5be9efdbb8413c3618bed3f3a380 (diff)
downloadoauthlib-9da6a06fd586dded554923493ded1340f2cdd22a.tar.gz
Fix some typo
Diffstat (limited to 'examples')
-rw-r--r--examples/skeleton_oauth2_web_application_server.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/skeleton_oauth2_web_application_server.py b/examples/skeleton_oauth2_web_application_server.py
index 95f7db2..5ef1081 100644
--- a/examples/skeleton_oauth2_web_application_server.py
+++ b/examples/skeleton_oauth2_web_application_server.py
@@ -16,9 +16,9 @@ from oauthlib.oauth2.ext.django import OAuth2ProviderDecorator
class SkeletonValidator(RequestValidator):
- # Ordered roughly in order of apperance in the authorization grant flow
+ # Ordered roughly in order of appearance in the authorization grant flow
- # Pre- and Post-authorization.
+ # Pre- and post-authorization.
def validate_client_id(self, client_id, request, *args, **kwargs):
# Simple validity check, does client exist? Not banned?
@@ -83,7 +83,7 @@ class SkeletonValidator(RequestValidator):
pass
def save_bearer_token(self, token, request, *args, **kwargs):
- # Remeber to associate it with request.scopes, request.user and
+ # Remember to associate it with request.scopes, request.user and
# request.client. The two former will be set when you validate
# the authorization code. Don't forget to save both the
# access_token and the refresh_token and set expiration for the