jwt_decode 0.1.0
jwt_decode: ^0.1.0

Flutter Android iOS web

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);
11
likes
80
pub points
91%
popularity

A Dart package to decode jsonwebtokens

Repository (GitHub)
View/report issues

Documentation

API reference

Uploader

sidsbrmnn@gmail.com

License

BSD (LICENSE)

Dependencies

flutter

More

Packages that depend on jwt_decode