keycloak-service
公開メンバ関数 | 非公開変数類 | 全メンバ一覧
org.keycloak.authentication.requiredactions.util.UserUpdateProfileContext クラス
org.keycloak.authentication.requiredactions.util.UserUpdateProfileContext の継承関係図
Inheritance graph
org.keycloak.authentication.requiredactions.util.UserUpdateProfileContext 連携図
Collaboration graph

公開メンバ関数

 UserUpdateProfileContext (RealmModel realm, UserModel user)
 
boolean isEditUsernameAllowed ()
 
String getUsername ()
 
void setUsername (String username)
 
String getEmail ()
 
void setEmail (String email)
 
String getFirstName ()
 
void setFirstName (String firstName)
 
String getLastName ()
 
void setLastName (String lastName)
 
Map< String, List< String > > getAttributes ()
 
void setSingleAttribute (String name, String value)
 
void setAttribute (String key, List< String > value)
 
String getFirstAttribute (String name)
 
List< String > getAttribute (String key)
 

非公開変数類

final RealmModel realm
 
final UserModel user
 

詳解

著者
Marek Posolda

構築子と解体子

◆ UserUpdateProfileContext()

org.keycloak.authentication.requiredactions.util.UserUpdateProfileContext.UserUpdateProfileContext ( RealmModel  realm,
UserModel  user 
)
inline
34  {
35  this.realm = realm;
36  this.user = user;
37  }
final UserModel user
Definition: UserUpdateProfileContext.java:32
final RealmModel realm
Definition: UserUpdateProfileContext.java:31

関数詳解

◆ getAttribute()

List<String> org.keycloak.authentication.requiredactions.util.UserUpdateProfileContext.getAttribute ( String  key)
inline

org.keycloak.authentication.requiredactions.util.UpdateProfileContextを実装しています。

105  {
106  return user.getAttribute(key);
107  }
final UserModel user
Definition: UserUpdateProfileContext.java:32

◆ getAttributes()

Map<String, List<String> > org.keycloak.authentication.requiredactions.util.UserUpdateProfileContext.getAttributes ( )
inline

org.keycloak.authentication.requiredactions.util.UpdateProfileContextを実装しています。

85  {
86  return user.getAttributes();
87  }
final UserModel user
Definition: UserUpdateProfileContext.java:32

◆ getEmail()

String org.keycloak.authentication.requiredactions.util.UserUpdateProfileContext.getEmail ( )
inline

org.keycloak.authentication.requiredactions.util.UpdateProfileContextを実装しています。

55  {
56  return user.getEmail();
57  }
final UserModel user
Definition: UserUpdateProfileContext.java:32

◆ getFirstAttribute()

String org.keycloak.authentication.requiredactions.util.UserUpdateProfileContext.getFirstAttribute ( String  name)
inline

org.keycloak.authentication.requiredactions.util.UpdateProfileContextを実装しています。

100  {
101  return user.getFirstAttribute(name);
102  }
final UserModel user
Definition: UserUpdateProfileContext.java:32

◆ getFirstName()

String org.keycloak.authentication.requiredactions.util.UserUpdateProfileContext.getFirstName ( )
inline

org.keycloak.authentication.requiredactions.util.UpdateProfileContextを実装しています。

65  {
66  return user.getFirstName();
67  }
final UserModel user
Definition: UserUpdateProfileContext.java:32

◆ getLastName()

String org.keycloak.authentication.requiredactions.util.UserUpdateProfileContext.getLastName ( )
inline

org.keycloak.authentication.requiredactions.util.UpdateProfileContextを実装しています。

75  {
76  return user.getLastName();
77  }
final UserModel user
Definition: UserUpdateProfileContext.java:32

◆ getUsername()

String org.keycloak.authentication.requiredactions.util.UserUpdateProfileContext.getUsername ( )
inline

org.keycloak.authentication.requiredactions.util.UpdateProfileContextを実装しています。

45  {
46  return user.getUsername();
47  }
final UserModel user
Definition: UserUpdateProfileContext.java:32

◆ isEditUsernameAllowed()

boolean org.keycloak.authentication.requiredactions.util.UserUpdateProfileContext.isEditUsernameAllowed ( )
inline

org.keycloak.authentication.requiredactions.util.UpdateProfileContextを実装しています。

40  {
41  return realm.isEditUsernameAllowed();
42  }
final RealmModel realm
Definition: UserUpdateProfileContext.java:31

◆ setAttribute()

void org.keycloak.authentication.requiredactions.util.UserUpdateProfileContext.setAttribute ( String  key,
List< String >  value 
)
inline

org.keycloak.authentication.requiredactions.util.UpdateProfileContextを実装しています。

95  {
96  user.setAttribute(key, value);
97  }
final UserModel user
Definition: UserUpdateProfileContext.java:32

◆ setEmail()

void org.keycloak.authentication.requiredactions.util.UserUpdateProfileContext.setEmail ( String  email)
inline

org.keycloak.authentication.requiredactions.util.UpdateProfileContextを実装しています。

60  {
61  user.setEmail(email);
62  }
final UserModel user
Definition: UserUpdateProfileContext.java:32

◆ setFirstName()

void org.keycloak.authentication.requiredactions.util.UserUpdateProfileContext.setFirstName ( String  firstName)
inline

org.keycloak.authentication.requiredactions.util.UpdateProfileContextを実装しています。

70  {
71  user.setFirstName(firstName);
72  }
final UserModel user
Definition: UserUpdateProfileContext.java:32

◆ setLastName()

void org.keycloak.authentication.requiredactions.util.UserUpdateProfileContext.setLastName ( String  lastName)
inline

org.keycloak.authentication.requiredactions.util.UpdateProfileContextを実装しています。

80  {
81  user.setLastName(lastName);
82  }
final UserModel user
Definition: UserUpdateProfileContext.java:32

◆ setSingleAttribute()

void org.keycloak.authentication.requiredactions.util.UserUpdateProfileContext.setSingleAttribute ( String  name,
String  value 
)
inline

org.keycloak.authentication.requiredactions.util.UpdateProfileContextを実装しています。

90  {
91  user.setSingleAttribute(name, value);
92  }
final UserModel user
Definition: UserUpdateProfileContext.java:32

◆ setUsername()

void org.keycloak.authentication.requiredactions.util.UserUpdateProfileContext.setUsername ( String  username)
inline

org.keycloak.authentication.requiredactions.util.UpdateProfileContextを実装しています。

50  {
51  user.setUsername(username);
52  }
final UserModel user
Definition: UserUpdateProfileContext.java:32

メンバ詳解

◆ realm

final RealmModel org.keycloak.authentication.requiredactions.util.UserUpdateProfileContext.realm
private

◆ user

final UserModel org.keycloak.authentication.requiredactions.util.UserUpdateProfileContext.user
private

このクラス詳解は次のファイルから抽出されました: