Skip to content
/ ivmjwt Public

Sign and verify JWT tokens signed with RSA (SHA-256)

License

Notifications You must be signed in to change notification settings

dasiyes/ivmjwt

Repository files navigation

ivmJWT Library

codecov

ivmJWT is a helper library for working with JWT

This library will respect the standard [RFC7519] to a certain extend but not tested for its complete compliance.

The first [beta] release supports only signing and verifying RSA (SHA-256).

Get started

  • install:
  dependencies:
    ivmjwt: ^0.1

and then run pub get.

  • issue a new JWT RS256 signed token
final _claims = json.decode('{"iss": "Ivmanto.com", "maxAge": 1800, "ivmanto": "dev"}') as Map<String, dynamic>;
final ivmjwt = IvmJWT(SegmentPayload.fromJson(_claims));
final result = await ivmjwt.issueJWTRS256();

About

Sign and verify JWT tokens signed with RSA (SHA-256)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages