Interface UpdateProfileContext
- All Known Implementing Classes:
- SerializedBrokeredIdentityContext,- UserUpdateProfileContext
public interface UpdateProfileContext
Abstraction, which allows to display updateProfile page in various contexts (Required action of already existing user, or first identity provider
 login when user doesn't yet exists in Keycloak DB)
- Author:
- Marek Posolda
- 
Method SummaryModifier and TypeMethodDescriptiongetAttribute(String key) Deprecated.getAttributeStream(String name) Obtains all values associated with the specified attribute name.getEmail()getFirstAttribute(String name) booleanbooleanvoidsetAttribute(String key, List<String> value) voidvoidsetFirstName(String firstName) voidsetLastName(String lastName) voidsetSingleAttribute(String name, String value) voidsetUsername(String username) 
- 
Method Details- 
getUserProfileContextUserProfileContext getUserProfileContext()
- 
isEditUsernameAllowedboolean isEditUsernameAllowed()
- 
getUsernameString getUsername()
- 
setUsername
- 
isEditEmailAllowedboolean isEditEmailAllowed()
- 
getEmailString getEmail()
- 
setEmail
- 
getFirstNameString getFirstName()
- 
setFirstName
- 
getLastNameString getLastName()
- 
setLastName
- 
getAttributes
- 
setSingleAttribute
- 
setAttribute
- 
getFirstAttribute
- 
getAttributeDeprecated.UsegetAttributeStreaminstead.
- 
getAttributeStreamObtains all values associated with the specified attribute name.- Parameters:
- name- the name of the attribute.
- Returns:
- a non-null Streamof attribute values.
 
 
- 
getAttributeStreaminstead.