Skip to content

[firebase_auth] IdTokenResult object needs to have a token constructor #5

Closed
@mehmetf

Description

@mehmetf

We have applications that implement FirebaseUser class. In order to support this use case, classes such as IdTokenResult need to be open to being constructed as opposed to having only an internal API.

I propose to add:

  IdTokenResult.fromToken(String token):
      _data = <String, String>{'token': token},
      _app = null;

to it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions