Skip to content

🐛 [firebase_app_check] .getToken() should return a AppCheckToken class #8970

Open
@nilsreichardt

Description

@nilsreichardt

Currently, the await FirebaseAppCheck.instance.getToken() method has a String? return type. But should return a AppCheckToken class like the native SDKs does. The reason for this is that this class has also attributes like expireTimeMillis: https://firebase.google.com/docs/reference/js/app-check.appchecktoken#appchecktokenexpiretimemillis.

This would be require a breaking change.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions