Skip to content

FirebaseAuth should expose authData synchronously #124

@davideast

Description

@davideast

Currently the only way to get authData from FirebaseAuth is to subscribe to the observable, which uses the async ref.onAuth() method.

Firebase provides a synchronous method ref.getAuth()method that should be exposed through FirebaseAuth:

interface FirebaseAuth {
  getAuth(): FirebaseAuthState
}

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions