Typo. Authenticat<i>on

This commit is contained in:
Tom Christie 2011-06-07 14:12:02 +01:00
parent a8980892c4
commit 44dfa05397
2 changed files with 8 additions and 8 deletions

View File

@ -13,13 +13,13 @@ from djangorestframework.utils import as_tuple
import base64
__all__ = (
'BaseAuthenticaton',
'BasicAuthenticaton',
'UserLoggedInAuthenticaton'
'BaseAuthentication',
'BasicAuthentication',
'UserLoggedInAuthentication'
)
class BaseAuthenticaton(object):
class BaseAuthentication(object):
"""
All authentication classes should extend BaseAuthentication.
"""
@ -47,7 +47,7 @@ class BaseAuthenticaton(object):
return None
class BasicAuthenticaton(BaseAuthenticaton):
class BasicAuthentication(BaseAuthentication):
"""
Use HTTP Basic authentication.
"""
@ -78,7 +78,7 @@ class BasicAuthenticaton(BaseAuthenticaton):
return None
class UserLoggedInAuthenticaton(BaseAuthenticaton):
class UserLoggedInAuthentication(BaseAuthentication):
"""
Use Django's session framework for authentication.
"""

View File

@ -56,8 +56,8 @@ class View(ResourceMixin, RequestMixin, ResponseMixin, AuthMixin, DjangoView):
"""
List of all authenticating methods to attempt.
"""
authentication = ( authentication.UserLoggedInAuthenticaton,
authentication.BasicAuthenticaton )
authentication = ( authentication.UserLoggedInAuthentication,
authentication.BasicAuthentication )
"""
List of all permissions that must be checked.