telenordigital / connect-ios-sdk

Docs 📒👉
https://telenordigital.github.io/id-docs.telenordigital.com/integrate-ios-sdk.html
Apache License 2.0
9 stars 8 forks source link

Validate ID token upon receiving it instead of when reading it #43

Closed jorunfa closed 6 years ago

jorunfa commented 6 years ago

JsonResponseSerializerWithDate is a hack to get a hold of the Date header from the server, as headers are not part of the responseObject given by the Http library we are using.

Because of the complications of ID token validation the test for non-nil id token was removed.