firebase_auth_admin_verify 1.0.0 copy "firebase_auth_admin_verify: ^1.0.0" to clipboard
firebase_auth_admin_verify: ^1.0.0 copied to clipboard

discontinuedreplaced by: openid_client

A Firebase auth JWT verification tool, conforming to the standards set up by Firebase itself.

Firebase Auth Admin Verify #

Pub Version

A JWT verification tool specifically for Firebase Auth JWTs.

Installation #

Add firebase_auth_admin_verify as a dependency in your pubspec.yaml file.

Usage

import 'package:firebase_auth_admin_verify/firebase_auth_admin_verify.dart';

try {
  // **With project id:**
  final jwt1 = await verifyFirebaseToken('ey...', projectId: 'my-project-id');

  // **With service file at the root:**
  final jwt2 = await verifyFirebaseToken('ey...');

  // **With service account file:**
  final jwt3 = await verifyFirebaseToken('ey...', serviceFilePath: 'path/to/service-account.json');
} catch (e) {

}

For more detailed examples you can check out the example project.

4
likes
130
pub points
11%
popularity

Publisher

verified publisherdbilgin.com

A Firebase auth JWT verification tool, conforming to the standards set up by Firebase itself.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

http, jose

More

Packages that depend on firebase_auth_admin_verify