Skip to content

Latest commit

 

History

History
23 lines (17 loc) · 465 Bytes

README.md

File metadata and controls

23 lines (17 loc) · 465 Bytes

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>',
  );
}