kylef / JSONWebToken.swift

Swift implementation of JSON Web Token (JWT).
http://jwt.io
BSD 2-Clause "Simplified" License
763 stars 226 forks source link

make "claims" of "ClaimSet" readable #99

Open Wooder opened 6 years ago

Wooder commented 6 years ago

As discussed in https://github.com/kylef/JSONWebToken.swift/issues/69 in some cases access to the raw json data is needed. Therefore „claims“ should be exposed.

chadmoone commented 6 years ago

I totally missed this before creating #106, which is a slightly different approach to the same thing. Personally, I don't see why set should be internal, though my primary concern is also with the ability to read it publicly.

@kylef Do you have a preference? Any chance we can get one of these in?