Package org.keycloak.representations.idm
Class IdentityProviderRepresentation
- java.lang.Object
- 
- org.keycloak.representations.idm.IdentityProviderRepresentation
 
- 
 public class IdentityProviderRepresentation extends Object - Author:
- Pedro Igor
 
- 
- 
Field SummaryFields Modifier and Type Field Description protected booleanaddReadTokenRoleOnCreateprotected Stringaliasprotected booleanauthenticateByDefaultprotected Map<String,String>configprotected StringdisplayNameprotected booleanenabledprotected StringfirstBrokerLoginFlowAliasprotected StringinternalIdprotected booleanlinkOnlyprotected StringpostBrokerLoginFlowAliasprotected StringproviderIdprotected booleanstoreTokenprotected booleantrustEmailprotected StringupdateProfileFirstLoginModeDeprecated.static StringUPFLM_MISSINGstatic StringUPFLM_OFFstatic StringUPFLM_ON
 - 
Constructor SummaryConstructors Constructor Description IdentityProviderRepresentation()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description StringgetAlias()Map<String,String>getConfig()StringgetDisplayName()StringgetFirstBrokerLoginFlowAlias()StringgetInternalId()StringgetPostBrokerLoginFlowAlias()StringgetProviderId()StringgetUpdateProfileFirstLoginMode()Deprecated.deprecated and replaced by configuration on IdpReviewProfileAuthenticatorbooleanisAddReadTokenRoleOnCreate()booleanisAuthenticateByDefault()Deprecated.Replaced by configuration option in identity provider authenticatorbooleanisEnabled()booleanisLinkOnly()booleanisStoreToken()booleanisTrustEmail()voidsetAddReadTokenRoleOnCreate(boolean addReadTokenRoleOnCreate)voidsetAlias(String alias)voidsetAuthenticateByDefault(boolean authenticateByDefault)Deprecated.voidsetConfig(Map<String,String> config)voidsetDisplayName(String displayName)voidsetEnabled(boolean enabled)voidsetFirstBrokerLoginFlowAlias(String firstBrokerLoginFlowAlias)voidsetInternalId(String internalId)voidsetLinkOnly(boolean linkOnly)voidsetPostBrokerLoginFlowAlias(String postBrokerLoginFlowAlias)voidsetProviderId(String providerId)voidsetStoreToken(boolean storeToken)voidsetTrustEmail(boolean trustEmail)voidsetUpdateProfileFirstLogin(boolean updateProfileFirstLogin)Deprecated.voidsetUpdateProfileFirstLoginMode(String updateProfileFirstLoginMode)Deprecated.deprecated and replaced by configuration on IdpReviewProfileAuthenticator
 
- 
- 
- 
Field Detail- 
aliasprotected String alias 
 - 
displayNameprotected String displayName 
 - 
internalIdprotected String internalId 
 - 
providerIdprotected String providerId 
 - 
enabledprotected boolean enabled 
 - 
UPFLM_ONpublic static final String UPFLM_ON - See Also:
- Constant Field Values
 
 - 
UPFLM_MISSINGpublic static final String UPFLM_MISSING - See Also:
- Constant Field Values
 
 - 
UPFLM_OFFpublic static final String UPFLM_OFF - See Also:
- Constant Field Values
 
 - 
updateProfileFirstLoginMode@Deprecated protected String updateProfileFirstLoginMode Deprecated.Mode of profile update after first login when user is created over this identity provider. Possible values:- on- update profile page is presented for all users
- missing- update profile page is presented for users with missing some of mandatory user profile fields
- off- update profile page is newer shown after first login
 - See Also:
- UPFLM_ON,- UPFLM_MISSING,- UPFLM_OFF
 
 - 
trustEmailprotected boolean trustEmail 
 - 
storeTokenprotected boolean storeToken 
 - 
addReadTokenRoleOnCreateprotected boolean addReadTokenRoleOnCreate 
 - 
authenticateByDefaultprotected boolean authenticateByDefault 
 - 
linkOnlyprotected boolean linkOnly 
 - 
firstBrokerLoginFlowAliasprotected String firstBrokerLoginFlowAlias 
 - 
postBrokerLoginFlowAliasprotected String postBrokerLoginFlowAlias 
 
- 
 - 
Method Detail- 
getInternalIdpublic String getInternalId() 
 - 
setInternalIdpublic void setInternalId(String internalId) 
 - 
getAliaspublic String getAlias() 
 - 
setAliaspublic void setAlias(String alias) 
 - 
getProviderIdpublic String getProviderId() 
 - 
setProviderIdpublic void setProviderId(String providerId) 
 - 
isEnabledpublic boolean isEnabled() 
 - 
setEnabledpublic void setEnabled(boolean enabled) 
 - 
isLinkOnlypublic boolean isLinkOnly() 
 - 
setLinkOnlypublic void setLinkOnly(boolean linkOnly) 
 - 
setUpdateProfileFirstLogin@Deprecated public void setUpdateProfileFirstLogin(boolean updateProfileFirstLogin) Deprecated.Deprecated because replaced byupdateProfileFirstLoginMode. Kept here to allow import of old realms.
 - 
getUpdateProfileFirstLoginMode@Deprecated public String getUpdateProfileFirstLoginMode() Deprecated.deprecated and replaced by configuration on IdpReviewProfileAuthenticator
 - 
setUpdateProfileFirstLoginMode@Deprecated public void setUpdateProfileFirstLoginMode(String updateProfileFirstLoginMode) Deprecated.deprecated and replaced by configuration on IdpReviewProfileAuthenticator
 - 
isAuthenticateByDefault@Deprecated public boolean isAuthenticateByDefault() Deprecated.Replaced by configuration option in identity provider authenticator
 - 
setAuthenticateByDefault@Deprecated public void setAuthenticateByDefault(boolean authenticateByDefault) Deprecated.
 - 
getFirstBrokerLoginFlowAliaspublic String getFirstBrokerLoginFlowAlias() 
 - 
setFirstBrokerLoginFlowAliaspublic void setFirstBrokerLoginFlowAlias(String firstBrokerLoginFlowAlias) 
 - 
getPostBrokerLoginFlowAliaspublic String getPostBrokerLoginFlowAlias() 
 - 
setPostBrokerLoginFlowAliaspublic void setPostBrokerLoginFlowAlias(String postBrokerLoginFlowAlias) 
 - 
isStoreTokenpublic boolean isStoreToken() 
 - 
setStoreTokenpublic void setStoreToken(boolean storeToken) 
 - 
isAddReadTokenRoleOnCreatepublic boolean isAddReadTokenRoleOnCreate() 
 - 
setAddReadTokenRoleOnCreatepublic void setAddReadTokenRoleOnCreate(boolean addReadTokenRoleOnCreate) 
 - 
isTrustEmailpublic boolean isTrustEmail() 
 - 
setTrustEmailpublic void setTrustEmail(boolean trustEmail) 
 - 
getDisplayNamepublic String getDisplayName() 
 - 
setDisplayNamepublic void setDisplayName(String displayName) 
 
- 
 
-