Interface UserProfileService
-
- All Known Implementing Classes:
CacheUserProfileService
,CrestUserProfileService
public interface UserProfileService
TheUserProfileService
is responsible for requesting user profile attributes. Note that only user profile properties that are enabled in Access Management will be available.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Promise<UserProfile,UserProfileException>
getUserProfile(Context context, String username)
Returns a promise that will be completed with anUserProfile
or with anUserProfileException
in case of errors.
-
-
-
Method Detail
-
getUserProfile
Promise<UserProfile,UserProfileException> getUserProfile(Context context, String username)
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.
-
-