iain-logan / jwt

A Scala implementation of the JWT specification
MIT License
48 stars 16 forks source link

Optional private claims #4

Open iain-logan opened 8 years ago

iain-logan commented 8 years ago

The current implementation does not cater for optional claims.

As a result of the exchange that occurred in #2 , the conclusion was drawn that support for optional claims is in fact desirable. As such, they will be implemented.

In the mean time, in #2 @luksow demonstrates a workaround that shows how optional claims can be achieved currently.