firebase_auth_token 1.0.5 copy "firebase_auth_token: ^1.0.5" to clipboard
firebase_auth_token: ^1.0.5 copied to clipboard

outdated

Extract user from verified Firebase Auth id token. The Firebase public key is cached and updated autimatically.

example/lib/main.dart

import 'package:firebase_auth_token/firebase_auth_token.dart';

void main() async {
  final fat = FirebaseAuthToken(projectId: 'example');
  final authenticatedUser = await fat.getUserFromToken('token');
  // ignore: avoid_print
  print(authenticatedUser);
}
5
likes
0
points
100
downloads

Publisher

unverified uploader

Weekly Downloads

Extract user from verified Firebase Auth id token. The Firebase public key is cached and updated autimatically.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

http, jose, synchronized

More

Packages that depend on firebase_auth_token