smart-on-fhir / Swift-SMART

Swift SMART on FHIR framework for iOS and OS X
Other
135 stars 47 forks source link

idToken exposed to Client #16

Closed raheelsayeed closed 6 years ago

raheelsayeed commented 6 years ago

This Pull Request makes idToken available to the smart Client through the Server. (Client.Server.idToken).

This would allow Clients to resolve user profile through the IdToken when using scopes like openid profile.

More on IdToken use: SMART-on-FHIR Documentation

p2 commented 6 years ago

Can you please use tabs for indentation?

p2 commented 6 years ago

(and add a comment preceded by /// so the documentation picks it up :) )

raheelsayeed commented 6 years ago

Still learning ;) I'll issue a new cleaner PR.

p2 commented 6 years ago

No need, this one would work! To update PRs just push to your branch. Always check the "Files changed" tab in Github to check whether you've introduced/removed whitespace that's not needed and other nitty bitties.