frasertweedale / hs-jose

Haskell JOSE and JWT library
http://hackage.haskell.org/package/jose
Apache License 2.0
122 stars 46 forks source link

write example application #20

Closed frasertweedale closed 7 years ago

frasertweedale commented 7 years ago

It will help people to have some canonical examples of how to use the lib.

For example: https://twitter.com/mjmalone/status/772941668395778048

load/verify serialized JWTs, and mint & sign new JWTs w/ option of symmetric or asymmetric crypto. keys provided, not generated.

frasertweedale commented 7 years ago

Example program has been added in 2a604da5ee76c61dc4a45bed8718f48313556e3f.

Waiting for feedback so see if it is "enough".

frasertweedale commented 7 years ago

Requester is happy:

@hackuador sorry for the delayed response. that's super helpful! thanks so much!

https://twitter.com/mjmalone/status/778699007094689792