JSONWebToken.swift
JSONWebToken.swift copied to clipboard
make "claims" of "ClaimSet" readable
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.
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?