yourkarma / JWT

A JSON Web Token implementation in Objective-C.
MIT License
351 stars 107 forks source link

JWT, JWK and JWA separation. #174

Open lolgear opened 6 years ago

lolgear commented 6 years ago

New Issue Checklist

Issue Info

Info Value
Platform Name e.g. ios / osx / tvos / watchos
Platform Version e.g. 8.0
CocoaLumberjack Version e.g. 2.3.0
Integration Method e.g. carthage / cocoapods / manually
Xcode Version e.g. Xcode 7.3
Repro rate e.g. all the time (100%) / sometimes x% / only once
Demo project link e.g. link to a demo project that highlights the issue

Issue Description and Steps

Although JWT implementation is not a rocket science, it has become huge. I would like to separate implementations of key extraction ( JWK ), jWT handling and algorithms implementations ( JWA ).

So, at the end we would have different targets for testing and it will reduce API and elements coupling.