Files
shorebird/packages/jwt
dependabot[bot] 12ade01071 chore(deps): bump the dart-deps group across 1 directory with 4 updates (#3815)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Eric Seidel <eric@shorebird.dev>
2026-06-23 22:03:28 +00:00
..
2023-04-04 12:39:42 -05:00

jwt

License: MIT

A Dart JWT Library.

import 'package:jwt/jwt.dart' as jwt;

Future<void> main() async {
  // Verify and extract a JWT token.
  final Jwt token = await jwt.verify(
    '<TOKEN>',
    issuer: '<ISSUER>',
    audience: '<AUDIENCE>',
    publicKeysUrl: '<PUBLIC_KEYS_URL>',
  );
}