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

            Bug ID: 43077
           Summary: Add encode_claims/decode_claims to Koha::Token
   Initiative type: ---
        Sponsorship ---
            status:
           Product: Koha
           Version: Main
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: Architecture, internals, and plumbing
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]
            Blocks: 42383
  Target Milestone: ---

Koha::Token currently only supports JWTs with a single 'id' claim
(generate_jwt/check_jwt/decode_jwt). This adds general-purpose
encode_claims/decode_claims methods that support arbitrary claim hashes, and
refactors the existing id-based methods as thin wrappers on top. This will be
used by the upcoming Koha::Module::Policy classes (Bug 42383) which serialize
per-module capability hashes as JWTs in API response headers.


Referenced Bugs:

https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42383
[Bug 42383] Migrate check-in page to Vue
-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
_______________________________________________
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