push to github

This commit is contained in:
Jonas Roussel
2020-05-30 01:14:08 +02:00
commit 0b5585e7eb
7 changed files with 121 additions and 0 deletions

12
example/example.dart Normal file
View File

@ -0,0 +1,12 @@
import 'package:jsonwebtoken/jsonwebtoken.dart';
main() {
final jwt = JWT(payload: {
'hello': 'world',
'iat': 1590774250,
});
final token = jwt.sign(key: 'test');
print(token);
}