https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43077

Martin Renvoize (ashimema) <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Text to go in the|                            |Developers: `Koha::Token`
      release notes|                            |gains `encode_claims` and
                   |                            |`decode_claims`, which sign
                   |                            |and verify a JWT carrying
                   |                            |any hashref of claims,
                   |                            |including nested hashes and
                   |                            |arrays. `generate_jwt`,
                   |                            |`check_jwt` and
                   |                            |`decode_jwt` now wrap these
                   |                            |methods.
                   |                            |
                   |                            |**Upgrade notes**
                   |                            |- `decode_jwt` now returns
                   |                            |undef and logs a warning
                   |                            |for an invalid or expired
                   |                            |token, instead of dying.
                   |                            |Callers that relied on the
                   |                            |exception must check the
                   |                            |return value.
                   |                            |- JWTs are always signed
                   |                            |with the Koha secret. A
                   |                            |secret passed by the caller
                   |                            |is ignored.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to