Metadata-Version: 1.1
Name: djangorestframework-firebase
Version: 0.2.0
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
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.authentication.FirebaseAuthentication',
          )
          ...
        }
        ```
        
        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',
        }
        ```
        
        Alternatively, you can configure the Firebase credentials directly, like so:
        
        ```
        FIREBASE_AUTH = {
            'FIREBASE_CREDENTIALS': {
                'type': "service_account",
                'project_id': "",
                'private_key_id': "",
                'private_key': "",
                'client_email': "",
                'client_id': "",
                'auth_uri': "https://accounts.google.com/o/oauth2/auth",
                'token_uri': "https://accounts.google.com/o/oauth2/token",
                'auth_provider_x509_cert_url': "https://www.googleapis.com/oauth2/v1/certs",
                'client_x509_cert_url': ""
            }
        }
        ```
        
        ## Publishing
        
        `python setup.py sdist`
        
        `twine upload dist/*`
        
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
