Package org.keycloak.representations.idm
Class IdentityProviderRepresentation
- java.lang.Object
-
- org.keycloak.representations.idm.IdentityProviderRepresentation
-
public class IdentityProviderRepresentation extends Object
- Author:
- Pedro Igor
-
-
Field Summary
Fields 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 Summary
Constructors Constructor Description IdentityProviderRepresentation()
-
Method Summary
All 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
-
alias
protected String alias
-
displayName
protected String displayName
-
internalId
protected String internalId
-
providerId
protected String providerId
-
enabled
protected boolean enabled
-
UPFLM_ON
public static final String UPFLM_ON
- See Also:
- Constant Field Values
-
UPFLM_MISSING
public static final String UPFLM_MISSING
- See Also:
- Constant Field Values
-
UPFLM_OFF
public 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 usersmissing- update profile page is presented for users with missing some of mandatory user profile fieldsoff- update profile page is newer shown after first login
- See Also:
UPFLM_ON,UPFLM_MISSING,UPFLM_OFF
-
trustEmail
protected boolean trustEmail
-
storeToken
protected boolean storeToken
-
addReadTokenRoleOnCreate
protected boolean addReadTokenRoleOnCreate
-
authenticateByDefault
protected boolean authenticateByDefault
-
linkOnly
protected boolean linkOnly
-
firstBrokerLoginFlowAlias
protected String firstBrokerLoginFlowAlias
-
postBrokerLoginFlowAlias
protected String postBrokerLoginFlowAlias
-
-
Method Detail
-
getInternalId
public String getInternalId()
-
setInternalId
public void setInternalId(String internalId)
-
getAlias
public String getAlias()
-
setAlias
public void setAlias(String alias)
-
getProviderId
public String getProviderId()
-
setProviderId
public void setProviderId(String providerId)
-
isEnabled
public boolean isEnabled()
-
setEnabled
public void setEnabled(boolean enabled)
-
isLinkOnly
public boolean isLinkOnly()
-
setLinkOnly
public 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.
-
getFirstBrokerLoginFlowAlias
public String getFirstBrokerLoginFlowAlias()
-
setFirstBrokerLoginFlowAlias
public void setFirstBrokerLoginFlowAlias(String firstBrokerLoginFlowAlias)
-
getPostBrokerLoginFlowAlias
public String getPostBrokerLoginFlowAlias()
-
setPostBrokerLoginFlowAlias
public void setPostBrokerLoginFlowAlias(String postBrokerLoginFlowAlias)
-
isStoreToken
public boolean isStoreToken()
-
setStoreToken
public void setStoreToken(boolean storeToken)
-
isAddReadTokenRoleOnCreate
public boolean isAddReadTokenRoleOnCreate()
-
setAddReadTokenRoleOnCreate
public void setAddReadTokenRoleOnCreate(boolean addReadTokenRoleOnCreate)
-
isTrustEmail
public boolean isTrustEmail()
-
setTrustEmail
public void setTrustEmail(boolean trustEmail)
-
getDisplayName
public String getDisplayName()
-
setDisplayName
public void setDisplayName(String displayName)
-
-