ktamas77 / firebase-php

Firebase PHP Client
792 stars 215 forks source link

Credentials provided by firebase #85

Closed ahmu83 closed 5 years ago

ahmu83 commented 6 years ago

The credentials provided by firebase are in the following manner var config = { apiKey: "", authDomain: "", databaseURL: "", projectId: "", storageBucket: "", messagingSenderId: "" }; how can I translate them to the constants that are shown in the example (DEFAULT_URL, DEFAULT_TOKEN & DEFAULT_PATH)

ktamas77 commented 5 years ago

DEFAULT_URL = $databaseURL DEFAULT_PATH = DEFAULT_TOKEN = apiKey