-
Notifications
You must be signed in to change notification settings - Fork 0
PublicInfo
Äkwav edited this page Sep 9, 2019
·
2 revisions
Sometimes you have something, that has some public information. For example a User and his Profile.
But not everyone should have Access to the User object, only to the Profile. After all you don't want to share every private detail with the world. So how do we connect the profile to the user?
By implementing the IHasPublicInfo interface and GetPublicInfo Command.
In case of the User it is possible that different Profiles are returned depending on if the requesting Resource is in the Users friendlist or not.