Metadata-Version: 2.1
Name: djangorestframework-firebase
Version: 0.1.2
Summary: Firebase based authentication for Django REST framework
Home-page: https://github.com/wesleylima/django-rest-framework-firebase
Author: Wesley Lima
Author-email: weslima@gmail.com
License: MIT
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Environment :: Web Environment
Classifier: Framework :: Django
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Topic :: Internet :: WWW/HTTP
Requires-Dist: firebase-admin (<3.0.0,>=2.0.0)

# 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',
}
```


