jwt_decode 0.0.1 copy "jwt_decode: ^0.0.1" to clipboard
jwt_decode: ^0.0.1 copied to clipboard

outdated

A Dart package to decode jsonwebtokens

jwt_decode #

A easy library to decode Jsonwebtokens with a single function call.

Using #

The easiest way to use this library is via the top-level function parseJwt().

import 'package:jwt_decode/jwt_decode.dart';

var token = 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c';
var payload = Jwt.parseJwt(token);
print(payload);
116
likes
0
pub points
98%
popularity

Publisher

unverified uploader

A Dart package to decode jsonwebtokens

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter

More

Packages that depend on jwt_decode