firebase_auth_token 1.0.1 firebase_auth_token: ^1.0.1 copied to clipboard
Extract user from verified Firebase Auth id token.
firebase_auth_token #
Extract user from verified Firebase Auth id token.
Getting started #
There is just one class FirebaseAuthToken
with just one method getUserFromToken({authentication-token})
which will return a AuthUser
object if the token is valid or else it will throw an exception.
final user = await FirebaseAuthToken.getUserFromToken('{token}');
License #
This project is licensed under the MIT License - see the license file for details.