Package org.keycloak.representations.idm
Class ClientRepresentation
- java.lang.Object
-
- org.keycloak.representations.idm.ClientRepresentation
-
- Direct Known Subclasses:
AbstractResourceService.Client
,ApplicationRepresentation
public class ClientRepresentation extends Object
- Version:
- $Revision: 1 $
- Author:
- Bill Burke
-
-
Field Summary
-
Constructor Summary
Constructors Constructor Description ClientRepresentation()
-
Method Summary
-
-
-
Field Detail
-
id
protected String id
-
clientId
protected String clientId
-
name
protected String name
-
description
protected String description
-
rootUrl
protected String rootUrl
-
adminUrl
protected String adminUrl
-
baseUrl
protected String baseUrl
-
surrogateAuthRequired
protected Boolean surrogateAuthRequired
-
enabled
protected Boolean enabled
-
alwaysDisplayInConsole
protected Boolean alwaysDisplayInConsole
-
clientAuthenticatorType
protected String clientAuthenticatorType
-
secret
protected String secret
-
registrationAccessToken
protected String registrationAccessToken
-
defaultRoles
@Deprecated protected String[] defaultRoles
Deprecated.
-
notBefore
protected Integer notBefore
-
bearerOnly
protected Boolean bearerOnly
-
consentRequired
protected Boolean consentRequired
-
standardFlowEnabled
protected Boolean standardFlowEnabled
-
implicitFlowEnabled
protected Boolean implicitFlowEnabled
-
directAccessGrantsEnabled
protected Boolean directAccessGrantsEnabled
-
serviceAccountsEnabled
protected Boolean serviceAccountsEnabled
-
oauth2DeviceAuthorizationGrantEnabled
protected Boolean oauth2DeviceAuthorizationGrantEnabled
-
authorizationServicesEnabled
protected Boolean authorizationServicesEnabled
-
directGrantsOnly
@Deprecated protected Boolean directGrantsOnly
Deprecated.
-
publicClient
protected Boolean publicClient
-
frontchannelLogout
protected Boolean frontchannelLogout
-
protocol
protected String protocol
-
fullScopeAllowed
protected Boolean fullScopeAllowed
-
nodeReRegistrationTimeout
protected Integer nodeReRegistrationTimeout
-
protocolMappers
protected List<ProtocolMapperRepresentation> protocolMappers
-
clientTemplate
@Deprecated protected String clientTemplate
Deprecated.
-
origin
protected String origin
-
-
Method Detail
-
getId
public String getId()
-
setId
public void setId(String id)
-
getName
public String getName()
-
setName
public void setName(String name)
-
getDescription
public String getDescription()
-
setDescription
public void setDescription(String description)
-
getClientId
public String getClientId()
-
setClientId
public void setClientId(String clientId)
-
isEnabled
public Boolean isEnabled()
-
setEnabled
public void setEnabled(Boolean enabled)
-
isAlwaysDisplayInConsole
public Boolean isAlwaysDisplayInConsole()
-
setAlwaysDisplayInConsole
public void setAlwaysDisplayInConsole(Boolean alwaysDisplayInConsole)
-
isSurrogateAuthRequired
public Boolean isSurrogateAuthRequired()
-
setSurrogateAuthRequired
public void setSurrogateAuthRequired(Boolean surrogateAuthRequired)
-
getRootUrl
public String getRootUrl()
-
setRootUrl
public void setRootUrl(String rootUrl)
-
getAdminUrl
public String getAdminUrl()
-
setAdminUrl
public void setAdminUrl(String adminUrl)
-
getBaseUrl
public String getBaseUrl()
-
setBaseUrl
public void setBaseUrl(String baseUrl)
-
getClientAuthenticatorType
public String getClientAuthenticatorType()
-
setClientAuthenticatorType
public void setClientAuthenticatorType(String clientAuthenticatorType)
-
getSecret
public String getSecret()
-
setSecret
public void setSecret(String secret)
-
getRegistrationAccessToken
public String getRegistrationAccessToken()
-
setRegistrationAccessToken
public void setRegistrationAccessToken(String registrationAccessToken)
-
getDefaultRoles
@Deprecated public String[] getDefaultRoles()
Deprecated.
-
setDefaultRoles
@Deprecated public void setDefaultRoles(String[] defaultRoles)
Deprecated.
-
getNotBefore
public Integer getNotBefore()
-
setNotBefore
public void setNotBefore(Integer notBefore)
-
isBearerOnly
public Boolean isBearerOnly()
-
setBearerOnly
public void setBearerOnly(Boolean bearerOnly)
-
isConsentRequired
public Boolean isConsentRequired()
-
setConsentRequired
public void setConsentRequired(Boolean consentRequired)
-
isStandardFlowEnabled
public Boolean isStandardFlowEnabled()
-
setStandardFlowEnabled
public void setStandardFlowEnabled(Boolean standardFlowEnabled)
-
isImplicitFlowEnabled
public Boolean isImplicitFlowEnabled()
-
setImplicitFlowEnabled
public void setImplicitFlowEnabled(Boolean implicitFlowEnabled)
-
isDirectAccessGrantsEnabled
public Boolean isDirectAccessGrantsEnabled()
-
setDirectAccessGrantsEnabled
public void setDirectAccessGrantsEnabled(Boolean directAccessGrantsEnabled)
-
isServiceAccountsEnabled
public Boolean isServiceAccountsEnabled()
-
setServiceAccountsEnabled
public void setServiceAccountsEnabled(Boolean serviceAccountsEnabled)
-
getAuthorizationServicesEnabled
public Boolean getAuthorizationServicesEnabled()
-
setAuthorizationServicesEnabled
public void setAuthorizationServicesEnabled(Boolean authorizationServicesEnabled)
-
isDirectGrantsOnly
@Deprecated public Boolean isDirectGrantsOnly()
Deprecated.
-
setDirectGrantsOnly
public void setDirectGrantsOnly(Boolean directGrantsOnly)
-
isPublicClient
public Boolean isPublicClient()
-
setPublicClient
public void setPublicClient(Boolean publicClient)
-
isFullScopeAllowed
public Boolean isFullScopeAllowed()
-
setFullScopeAllowed
public void setFullScopeAllowed(Boolean fullScopeAllowed)
-
getProtocol
public String getProtocol()
-
setProtocol
public void setProtocol(String protocol)
-
getAuthenticationFlowBindingOverrides
public Map<String,String> getAuthenticationFlowBindingOverrides()
-
setAuthenticationFlowBindingOverrides
public void setAuthenticationFlowBindingOverrides(Map<String,String> authenticationFlowBindingOverrides)
-
getNodeReRegistrationTimeout
public Integer getNodeReRegistrationTimeout()
-
setNodeReRegistrationTimeout
public void setNodeReRegistrationTimeout(Integer nodeReRegistrationTimeout)
-
isFrontchannelLogout
public Boolean isFrontchannelLogout()
-
setFrontchannelLogout
public void setFrontchannelLogout(Boolean frontchannelLogout)
-
getProtocolMappers
public List<ProtocolMapperRepresentation> getProtocolMappers()
-
setProtocolMappers
public void setProtocolMappers(List<ProtocolMapperRepresentation> protocolMappers)
-
getClientTemplate
@Deprecated public String getClientTemplate()
Deprecated.
-
isUseTemplateConfig
@Deprecated public Boolean isUseTemplateConfig()
Deprecated.
-
isUseTemplateScope
@Deprecated public Boolean isUseTemplateScope()
Deprecated.
-
isUseTemplateMappers
@Deprecated public Boolean isUseTemplateMappers()
Deprecated.
-
getAuthorizationSettings
public ResourceServerRepresentation getAuthorizationSettings()
-
setAuthorizationSettings
public void setAuthorizationSettings(ResourceServerRepresentation authorizationSettings)
-
getOrigin
public String getOrigin()
Returns id of ClientStorageProvider that loaded this user- Returns:
- NULL if user stored locally
-
setOrigin
public void setOrigin(String origin)
-
-