packagist kreait/firebase-php 0.10.2

latest releases: 7.x-dev, dev-dependabot/github_actions/codecov/codecov-action-4.3.1, 7.10.0...
7 years ago

See https://github.com/kreait/firebase-php/blob/0.10.2/doc/authentication.md for the updated authentication method. The previous methods still work.

  • Added support for authentication overrides when using a Google Service account
  • It is now easier to override authentication credentials through
    $firebase->setAuthOverride($uid, array $claims = []).
    • There's no need to create and set the needed custom tokens yourself.
    • The new method works regardless of whether you use a database secret or
      a Google Service Account for the basic authentication.
  • Updated authentication docs
  • Added methods:
    • Firebase::setAuthOverride(string $uid, array $claims = [])
    • Firebase::removeAuthOverride()
  • Deprecated methods:
    • Firebase::setAuthToken()
    • Firebase::getAuthToken()
    • Firebase::hasAuthToken()
    • Firebase::removeAuthToken()

Don't miss a new firebase-php release

NewReleases is sending notifications on new releases.