I'm using let payload: Payload = try JWT.decode(...) to get the dictionary data to pass off to a 3rd party library. I'm getting a deprecated notice so I try let claimSet: ClaimSet = JWT.decode(...); claimSet.claims but get the error 'claims' is inaccessible due to 'internal' protection level.
EDIT: Forgot to mention I'm using Carthage.
I'm using
let payload: Payload = try JWT.decode(...)to get the dictionary data to pass off to a 3rd party library. I'm getting a deprecated notice so I trylet claimSet: ClaimSet = JWT.decode(...); claimSet.claimsbut get the error'claims' is inaccessible due to 'internal' protection level.EDIT: Forgot to mention I'm using Carthage.