File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ On your project's `settings.py` add this to the `REST_FRAMEWORK` configuration
12
12
REST_FRAMEWORK = {
13
13
...
14
14
'DEFAULT_AUTHENTICATION_CLASSES': (
15
- 'rest_framework_firebase_auth .authentication.Firebaseuthentication ',
15
+ 'rest_framework_firebase .authentication.FirebaseAuthentication ',
16
16
)
17
17
...
18
18
}
Original file line number Diff line number Diff line change 16
16
cred = credentials .Certificate (api_settings .FIREBASE_ACCOUNT_KEY_FILE )
17
17
firebase = firebase_admin .initialize_app (cred )
18
18
19
- class BaseFirebaseuthentication (BaseAuthentication ):
19
+ class BaseFirebaseAuthentication (BaseAuthentication ):
20
20
"""
21
21
Token based authentication using firebase.
22
22
"""
@@ -87,7 +87,7 @@ def authenticate_credentials(self, payload):
87
87
return user
88
88
89
89
90
- class Firebaseuthentication ( BaseFirebaseuthentication ):
90
+ class FirebaseAuthentication ( BaseFirebaseAuthentication ):
91
91
"""
92
92
Clients should authenticate by passing the token key in the "Authorization"
93
93
HTTP header, prepended with the string specified in the setting
You can’t perform that action at this time.
0 commit comments