Interface UserProfileService
- All Known Implementing Classes:
CacheUserProfileService
,CrestUserProfileService
public interface UserProfileService
The
UserProfileService
is responsible for requesting user profile attributes.
Note that only user profile properties that are enabled in Access Management will be available.-
Method Summary
Modifier and TypeMethodDescriptiongetUserProfile
(Context context, String username) Returns a promise that will be completed with anUserProfile
or with anUserProfileException
in case of errors.
-
Method Details
-
getUserProfile
Returns a promise that will be completed with anUserProfile
or with anUserProfileException
in case of errors.- Parameters:
context
- The request context.username
- The username that identifies the user to retrieve the profile attributes for.- Returns:
- a promise that will be completed with
UserProfile
or with anResourceException
in case of errors.
-