diff --git a/README.md b/README.md index 0874ddd..0c9121c 100644 --- a/README.md +++ b/README.md @@ -1,11 +1,10 @@ # JSON Web Token -[![Build Status](http://img.shields.io/travis/kylef/JSONWebToken.swift/master.svg?style=flat)](https://travis-ci.org/kylef/JSONWebToken.swift) - -Swift implementation of [JSON Web Token](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32). +Fork of https://github.com/kylef/JSONWebToken.swift that resolves the issue "Get raw claim set data" ((https://github.com/kylef/JSONWebToken.swift/issues/69) ## Installation +======= Swift Pacakage Manager is the recommended installation method for JSONWebToken, [CocoaPods](http://cocoapods.org/) is also supported. ```ruby @@ -94,7 +93,7 @@ This library supports the following algorithms: - `hs256` - HMAC using SHA-256 hash algorithm (default) - `hs384` - HMAC using SHA-384 hash algorithm - `hs512` - HMAC using SHA-512 hash algorithm - + ## License JSONWebToken is licensed under the BSD license. See [LICENSE](LICENSE) for more info. diff --git a/Sources/JWT/ClaimSet.swift b/Sources/JWT/ClaimSet.swift index 114c04e..a35e73d 100644 --- a/Sources/JWT/ClaimSet.swift +++ b/Sources/JWT/ClaimSet.swift @@ -15,7 +15,7 @@ func parseTimeInterval(_ value: Any?) -> Date? { } public struct ClaimSet { - var claims: [String: Any] + public internal (set) var claims: [String: Any] public init(claims: [String: Any]? = nil) { self.claims = claims ?? [:]