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 boolean
addReadTokenRoleOnCreate
protected String
alias
protected boolean
authenticateByDefault
protected Map<String,String>
config
protected String
displayName
protected boolean
enabled
protected String
firstBrokerLoginFlowAlias
protected String
internalId
protected boolean
linkOnly
protected String
postBrokerLoginFlowAlias
protected String
providerId
protected boolean
storeToken
protected boolean
trustEmail
protected String
updateProfileFirstLoginMode
Deprecated.static String
UPFLM_MISSING
static String
UPFLM_OFF
static String
UPFLM_ON
-
Constructor Summary
Constructors Constructor Description IdentityProviderRepresentation()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description String
getAlias()
Map<String,String>
getConfig()
String
getDisplayName()
String
getFirstBrokerLoginFlowAlias()
String
getInternalId()
String
getPostBrokerLoginFlowAlias()
String
getProviderId()
String
getUpdateProfileFirstLoginMode()
Deprecated.deprecated and replaced by configuration on IdpReviewProfileAuthenticatorboolean
isAddReadTokenRoleOnCreate()
boolean
isAuthenticateByDefault()
Deprecated.Replaced by configuration option in identity provider authenticatorboolean
isEnabled()
boolean
isLinkOnly()
boolean
isStoreToken()
boolean
isTrustEmail()
void
setAddReadTokenRoleOnCreate(boolean addReadTokenRoleOnCreate)
void
setAlias(String alias)
void
setAuthenticateByDefault(boolean authenticateByDefault)
Deprecated.void
setConfig(Map<String,String> config)
void
setDisplayName(String displayName)
void
setEnabled(boolean enabled)
void
setFirstBrokerLoginFlowAlias(String firstBrokerLoginFlowAlias)
void
setInternalId(String internalId)
void
setLinkOnly(boolean linkOnly)
void
setPostBrokerLoginFlowAlias(String postBrokerLoginFlowAlias)
void
setProviderId(String providerId)
void
setStoreToken(boolean storeToken)
void
setTrustEmail(boolean trustEmail)
void
setUpdateProfileFirstLogin(boolean updateProfileFirstLogin)
Deprecated.void
setUpdateProfileFirstLoginMode(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)
-
-