Skip to content

Consolidate the generation of the token result #74

Description

@atn832

Right now, getIdToken and getIdTokenResult return different pieces of information (for example the authentication and expiration dates are different). However they should be based on the same information.

Judging from the FirebaseAuth code, getIdToken and getIdTokenResult are based on the same data. So ideally [our] payload generation should be consolidated into a shared function.

Originally posted by @atn832 in #73 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions