Firebase based authentication for Django REST framework
Project description
# Django Rest Framework Firebase Auth
## Installation
```
pip install djangorestframework-firebase
```
On your project's `settings.py` add this to the `REST_FRAMEWORK` configuration
```
REST_FRAMEWORK = {
...
'DEFAULT_AUTHENTICATION_CLASSES': (
'rest_framework_firebase_auth.authentication.Firebaseuthentication',
)
...
}
```
Get admin credentials `.json` from the Firebase SDK and add them to your project
Also in your project's `settings.py` :
```
FIREBASE_AUTH = {
'FIREBASE_ACCOUNT_KEY_FILE': 'path_to_your_credentials.json',
}
```
## Installation
```
pip install djangorestframework-firebase
```
On your project's `settings.py` add this to the `REST_FRAMEWORK` configuration
```
REST_FRAMEWORK = {
...
'DEFAULT_AUTHENTICATION_CLASSES': (
'rest_framework_firebase_auth.authentication.Firebaseuthentication',
)
...
}
```
Get admin credentials `.json` from the Firebase SDK and add them to your project
Also in your project's `settings.py` :
```
FIREBASE_AUTH = {
'FIREBASE_ACCOUNT_KEY_FILE': 'path_to_your_credentials.json',
}
```
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file djangorestframework-firebase-0.1.2.tar.gz.
File metadata
- Download URL: djangorestframework-firebase-0.1.2.tar.gz
- Upload date:
- Size: 4.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
52dfe48696c42dc56f5c0b599a4800f848acfb68242b9cb42329efe9888478e0
|
|
| MD5 |
860f71b5562fc1cc9aed741e1ec88fa0
|
|
| BLAKE2b-256 |
beba85a42cbdaf934a7bedb824288b22fb4aa68cef15ef3648defd2bcb15e32b
|
File details
Details for the file djangorestframework_firebase-0.1.2-py2-none-any.whl.
File metadata
- Download URL: djangorestframework_firebase-0.1.2-py2-none-any.whl
- Upload date:
- Size: 4.4 kB
- Tags: Python 2
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b771d5ca34268ca9da5253fb7ca1541775ca9797f0badae9bdaf4df502aa815e
|
|
| MD5 |
c9821b57492928a5e9f796075d26c187
|
|
| BLAKE2b-256 |
1d9a338bc446571cf617c4fc41abb3d80d2b03e642122aeb49523429cacca283
|