Interface UserProfileService
-
- All Known Implementing Classes:
CacheUserProfileService,CrestUserProfileService
public interface UserProfileServiceTheUserProfileServiceis 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 anUserProfileor with anUserProfileExceptionin case of errors.
-
-
-
Method Detail
-
getUserProfile
Promise<UserProfile,UserProfileException> getUserProfile(Context context, String username)
Returns a promise that will be completed with anUserProfileor with anUserProfileExceptionin 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
UserProfileor with anResourceExceptionin case of errors.
-
-