Package org.keycloak.models
Class UserModel.SearchableFields
- java.lang.Object
-
- org.keycloak.models.UserModel.SearchableFields
-
-
Field Summary
Fields Modifier and Type Field Description static SearchableModelField<UserModel>ASSIGNED_GROUPstatic SearchableModelField<UserModel>ASSIGNED_ROLEstatic SearchableModelField<UserModel>ATTRIBUTESearch for attribute value.static SearchableModelField<UserModel>CONSENT_CLIENT_FEDERATION_LINKSearch for users that have consent set for a particular client that originates in the given client provider.static SearchableModelField<UserModel>CONSENT_FOR_CLIENTSearch for users that have consent set for a particular client.static SearchableModelField<UserModel>CONSENT_WITH_CLIENT_SCOPESearch for users that have consent that has given client scope.static SearchableModelField<UserModel>EMAILstatic SearchableModelField<UserModel>EMAIL_VERIFIEDstatic SearchableModelField<UserModel>ENABLEDstatic SearchableModelField<UserModel>FEDERATION_LINKstatic SearchableModelField<UserModel>FIRST_NAMEstatic SearchableModelField<UserModel>IDstatic SearchableModelField<UserModel>IDP_AND_USERThis field can only searched either for users coming from an IDP, then the operand is (idp_alias), or as user coming from a particular IDP with given username there, then the operand is a pair (idp_alias, idp_user_id).static SearchableModelField<UserModel>LAST_NAMEstatic SearchableModelField<UserModel>REALM_IDstatic SearchableModelField<UserModel>SERVICE_ACCOUNT_CLIENTID of the client corresponding to the service accountstatic SearchableModelField<UserModel>USERNAMESearch for user's username in case sensitive mode.static SearchableModelField<UserModel>USERNAME_CASE_INSENSITIVESearch for user's username in case insensitive mode.
-
Constructor Summary
Constructors Constructor Description SearchableFields()
-
-
-
Field Detail
-
ID
public static final SearchableModelField<UserModel> ID
-
REALM_ID
public static final SearchableModelField<UserModel> REALM_ID
-
FIRST_NAME
public static final SearchableModelField<UserModel> FIRST_NAME
-
LAST_NAME
public static final SearchableModelField<UserModel> LAST_NAME
-
EMAIL
public static final SearchableModelField<UserModel> EMAIL
-
ENABLED
public static final SearchableModelField<UserModel> ENABLED
-
EMAIL_VERIFIED
public static final SearchableModelField<UserModel> EMAIL_VERIFIED
-
FEDERATION_LINK
public static final SearchableModelField<UserModel> FEDERATION_LINK
-
USERNAME
public static final SearchableModelField<UserModel> USERNAME
Search for user's username in case sensitive mode.
-
USERNAME_CASE_INSENSITIVE
public static final SearchableModelField<UserModel> USERNAME_CASE_INSENSITIVE
Search for user's username in case insensitive mode.
-
IDP_AND_USER
public static final SearchableModelField<UserModel> IDP_AND_USER
This field can only searched either for users coming from an IDP, then the operand is (idp_alias), or as user coming from a particular IDP with given username there, then the operand is a pair (idp_alias, idp_user_id). It is also possible to search regardless ofidp_alias, then the pair is(null, idp_user_id).
-
ASSIGNED_ROLE
public static final SearchableModelField<UserModel> ASSIGNED_ROLE
-
ASSIGNED_GROUP
public static final SearchableModelField<UserModel> ASSIGNED_GROUP
-
CONSENT_FOR_CLIENT
public static final SearchableModelField<UserModel> CONSENT_FOR_CLIENT
Search for users that have consent set for a particular client.
-
CONSENT_CLIENT_FEDERATION_LINK
public static final SearchableModelField<UserModel> CONSENT_CLIENT_FEDERATION_LINK
Search for users that have consent set for a particular client that originates in the given client provider.
-
CONSENT_WITH_CLIENT_SCOPE
public static final SearchableModelField<UserModel> CONSENT_WITH_CLIENT_SCOPE
Search for users that have consent that has given client scope.
-
SERVICE_ACCOUNT_CLIENT
public static final SearchableModelField<UserModel> SERVICE_ACCOUNT_CLIENT
ID of the client corresponding to the service account
-
ATTRIBUTE
public static final SearchableModelField<UserModel> ATTRIBUTE
Search for attribute value. The parameters is a pair(attribute_name, values...)whereattribute_nameis always checked for equality, and the value (which can be any numbert of values, none for operators like EXISTS or potentially many for e.g. IN) is checked per the operator.
-
-