Top Fields Constructors Methods
org.keycloak.representations.idm

public Class ClientRepresentation

extends Object
Class Inheritance
Known Direct Subclasses
org.keycloak.representations.idm.ApplicationRepresentation
Imports
org.keycloak.representations.idm.authorization.ResourceServerRepresentation, java.util.List, .Map

Author
Bill Burke
Version
$Revision: 1 $

Field Summary

Modifier and TypeField and Description
private Map<String, Boolean>
protected String
protected Boolean
protected Map<String, String>
protected Map<String, String>
protected Boolean
private ResourceServerRepresentation
protected String
protected Boolean
protected String
protected String
protected String
clientTemplate

Deprecated
protected Boolean
protected List<String>
protected String[]
defaultRoles

Deprecated
protected String
protected Boolean
protected Boolean
directGrantsOnly

Deprecated
protected Boolean
protected Boolean
protected Boolean
protected String
protected Boolean
protected String
protected Integer
protected Integer
protected List<String>
protected String
protected String
protected List<ProtocolMapperRepresentation>
protected Boolean
protected List<String>
protected Map<String, Integer>
protected String
protected String
protected String
protected Boolean
protected Boolean
protected Boolean
private Boolean
useTemplateConfig

Deprecated
private Boolean
useTemplateMappers

Deprecated
private Boolean
useTemplateScope

Deprecated
protected List<String>

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public Map<String, Boolean>
public String
public Map<String, String>
public Map<String, String>
public Boolean
public ResourceServerRepresentation
public String
public String
public String
public String
getClientTemplate()

Deprecated
public List<String>
public String[]
getDefaultRoles()

Deprecated
public String
public String
public String
public Integer
public Integer
public List<String>
public String

Returns:

NULL if user stored locally
getOrigin
()

Returns id of ClientStorageProvider that loaded this user

public String
public List<ProtocolMapperRepresentation>
public List<String>
public Map<String, Integer>
public String
public String
public String
public List<String>
public Boolean
public Boolean
public Boolean
public Boolean
public Boolean
isDirectGrantsOnly()

Deprecated
public Boolean
public Boolean
public Boolean
public Boolean
public Boolean
public Boolean
public Boolean
public Boolean
public Boolean
isUseTemplateConfig()

Deprecated
public Boolean
isUseTemplateMappers()

Deprecated
public Boolean
isUseTemplateScope()

Deprecated
public void
public void
setAdminUrl(String adminUrl)

public void
setAlwaysDisplayInConsole(Boolean alwaysDisplayInConsole)

public void
public void
setAuthenticationFlowBindingOverrides(Map<String, String> authenticationFlowBindingOverrides)

public void
setAuthorizationServicesEnabled(Boolean authorizationServicesEnabled)

public void
public void
setBaseUrl(String baseUrl)

public void
setBearerOnly(Boolean bearerOnly)

public void
setClientAuthenticatorType(String clientAuthenticatorType)

public void
setClientId(String clientId)

public void
setConsentRequired(Boolean consentRequired)

public void
setDefaultClientScopes(List<String> defaultClientScopes)

public void
setDefaultRoles(String[] defaultRoles)

Deprecated
public void
setDescription(String description)

public void
setDirectAccessGrantsEnabled(Boolean directAccessGrantsEnabled)

public void
setDirectGrantsOnly(Boolean directGrantsOnly)

public void
public void
setFrontchannelLogout(Boolean frontchannelLogout)

public void
setFullScopeAllowed(Boolean fullScopeAllowed)

public void
public void
setImplicitFlowEnabled(Boolean implicitFlowEnabled)

public void
public void
setNodeReRegistrationTimeout(Integer nodeReRegistrationTimeout)

public void
setNotBefore(Integer notBefore)

public void
setOptionalClientScopes(List<String> optionalClientScopes)

public void
setOrigin(String origin)

public void
setProtocol(String protocol)

public void
public void
setPublicClient(Boolean publicClient)

public void
setRedirectUris(List<String> redirectUris)

public void
setRegisteredNodes(Map<String, Integer> registeredNodes)

public void
setRegistrationAccessToken(String registrationAccessToken)

public void
setRootUrl(String rootUrl)

public void
setSecret(String secret)

public void
setServiceAccountsEnabled(Boolean serviceAccountsEnabled)

public void
setStandardFlowEnabled(Boolean standardFlowEnabled)

public void
setSurrogateAuthRequired(Boolean surrogateAuthRequired)

public void
setWebOrigins(List<String> webOrigins)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

accessback to summary
private Map<String, Boolean> access
adminUrlback to summary
protected String adminUrl
alwaysDisplayInConsoleback to summary
protected Boolean alwaysDisplayInConsole
attributesback to summary
protected Map<String, String> attributes
authenticationFlowBindingOverridesback to summary
protected Map<String, String> authenticationFlowBindingOverrides
authorizationServicesEnabledback to summary
protected Boolean authorizationServicesEnabled
authorizationSettingsback to summary
private ResourceServerRepresentation authorizationSettings
baseUrlback to summary
protected String baseUrl
bearerOnlyback to summary
protected Boolean bearerOnly
clientAuthenticatorTypeback to summary
protected String clientAuthenticatorType
clientIdback to summary
protected String clientId
clientTemplateback to summary
protected String clientTemplate

Deprecated

Annotations
@Deprecated
consentRequiredback to summary
protected Boolean consentRequired
defaultClientScopesback to summary
protected List<String> defaultClientScopes
defaultRolesback to summary
protected String[] defaultRoles

Deprecated

Annotations
@Deprecated
descriptionback to summary
protected String description
directAccessGrantsEnabledback to summary
protected Boolean directAccessGrantsEnabled
directGrantsOnlyback to summary
protected Boolean directGrantsOnly

Deprecated

Annotations
@Deprecated
enabledback to summary
protected Boolean enabled
frontchannelLogoutback to summary
protected Boolean frontchannelLogout
fullScopeAllowedback to summary
protected Boolean fullScopeAllowed
idback to summary
protected String id
implicitFlowEnabledback to summary
protected Boolean implicitFlowEnabled
nameback to summary
protected String name
nodeReRegistrationTimeoutback to summary
protected Integer nodeReRegistrationTimeout
notBeforeback to summary
protected Integer notBefore
optionalClientScopesback to summary
protected List<String> optionalClientScopes
originback to summary
protected String origin
protocolback to summary
protected String protocol
protocolMappersback to summary
protected List<ProtocolMapperRepresentation> protocolMappers
publicClientback to summary
protected Boolean publicClient
redirectUrisback to summary
protected List<String> redirectUris
registeredNodesback to summary
protected Map<String, Integer> registeredNodes
registrationAccessTokenback to summary
protected String registrationAccessToken
rootUrlback to summary
protected String rootUrl
secretback to summary
protected String secret
serviceAccountsEnabledback to summary
protected Boolean serviceAccountsEnabled
standardFlowEnabledback to summary
protected Boolean standardFlowEnabled
surrogateAuthRequiredback to summary
protected Boolean surrogateAuthRequired
useTemplateConfigback to summary
private Boolean useTemplateConfig

Deprecated

Annotations
@Deprecated
useTemplateMappersback to summary
private Boolean useTemplateMappers

Deprecated

Annotations
@Deprecated
useTemplateScopeback to summary
private Boolean useTemplateScope

Deprecated

Annotations
@Deprecated
webOriginsback to summary
protected List<String> webOrigins

Constructor Detail

ClientRepresentationback to summary
public ClientRepresentation()

Method Detail

getAccessback to summary
public Map<String, Boolean> getAccess()
getAdminUrlback to summary
public String getAdminUrl()
getAttributesback to summary
public Map<String, String> getAttributes()
getAuthenticationFlowBindingOverridesback to summary
public Map<String, String> getAuthenticationFlowBindingOverrides()
getAuthorizationServicesEnabledback to summary
public Boolean getAuthorizationServicesEnabled()
getAuthorizationSettingsback to summary
public ResourceServerRepresentation getAuthorizationSettings()
getBaseUrlback to summary
public String getBaseUrl()
getClientAuthenticatorTypeback to summary
public String getClientAuthenticatorType()
getClientIdback to summary
public String getClientId()
getClientTemplateback to summary
public String getClientTemplate()

Deprecated

Annotations
@Deprecated
getDefaultClientScopesback to summary
public List<String> getDefaultClientScopes()
getDefaultRolesback to summary
public String[] getDefaultRoles()

Deprecated

Annotations
@Deprecated
getDescriptionback to summary
public String getDescription()
getIdback to summary
public String getId()
getNameback to summary
public String getName()
getNodeReRegistrationTimeoutback to summary
public Integer getNodeReRegistrationTimeout()
getNotBeforeback to summary
public Integer getNotBefore()
getOptionalClientScopesback to summary
public List<String> getOptionalClientScopes()
getOriginback to summary
public String getOrigin()

Returns id of ClientStorageProvider that loaded this user

Returns:String

NULL if user stored locally

getProtocolback to summary
public String getProtocol()
getProtocolMappersback to summary
public List<ProtocolMapperRepresentation> getProtocolMappers()
getRedirectUrisback to summary
public List<String> getRedirectUris()
getRegisteredNodesback to summary
public Map<String, Integer> getRegisteredNodes()
getRegistrationAccessTokenback to summary
public String getRegistrationAccessToken()
getRootUrlback to summary
public String getRootUrl()
getSecretback to summary
public String getSecret()
getWebOriginsback to summary
public List<String> getWebOrigins()
isAlwaysDisplayInConsoleback to summary
public Boolean isAlwaysDisplayInConsole()
isBearerOnlyback to summary
public Boolean isBearerOnly()
isConsentRequiredback to summary
public Boolean isConsentRequired()
isDirectAccessGrantsEnabledback to summary
public Boolean isDirectAccessGrantsEnabled()
isDirectGrantsOnlyback to summary
public Boolean isDirectGrantsOnly()

Deprecated

Annotations
@Deprecated
isEnabledback to summary
public Boolean isEnabled()
isFrontchannelLogoutback to summary
public Boolean isFrontchannelLogout()
isFullScopeAllowedback to summary
public Boolean isFullScopeAllowed()
isImplicitFlowEnabledback to summary
public Boolean isImplicitFlowEnabled()
isPublicClientback to summary
public Boolean isPublicClient()
isServiceAccountsEnabledback to summary
public Boolean isServiceAccountsEnabled()
isStandardFlowEnabledback to summary
public Boolean isStandardFlowEnabled()
isSurrogateAuthRequiredback to summary
public Boolean isSurrogateAuthRequired()
isUseTemplateConfigback to summary
public Boolean isUseTemplateConfig()

Deprecated

Annotations
@Deprecated
isUseTemplateMappersback to summary
public Boolean isUseTemplateMappers()

Deprecated

Annotations
@Deprecated
isUseTemplateScopeback to summary
public Boolean isUseTemplateScope()

Deprecated

Annotations
@Deprecated
setAccessback to summary
public void setAccess(Map<String, Boolean> access)
setAdminUrlback to summary
public void setAdminUrl(String adminUrl)
setAlwaysDisplayInConsoleback to summary
public void setAlwaysDisplayInConsole(Boolean alwaysDisplayInConsole)
setAttributesback to summary
public void setAttributes(Map<String, String> attributes)
setAuthenticationFlowBindingOverridesback to summary
public void setAuthenticationFlowBindingOverrides(Map<String, String> authenticationFlowBindingOverrides)
setAuthorizationServicesEnabledback to summary
public void setAuthorizationServicesEnabled(Boolean authorizationServicesEnabled)
setAuthorizationSettingsback to summary
public void setAuthorizationSettings(ResourceServerRepresentation authorizationSettings)
setBaseUrlback to summary
public void setBaseUrl(String baseUrl)
setBearerOnlyback to summary
public void setBearerOnly(Boolean bearerOnly)
setClientAuthenticatorTypeback to summary
public void setClientAuthenticatorType(String clientAuthenticatorType)
setClientIdback to summary
public void setClientId(String clientId)
setConsentRequiredback to summary
public void setConsentRequired(Boolean consentRequired)
setDefaultClientScopesback to summary
public void setDefaultClientScopes(List<String> defaultClientScopes)
setDefaultRolesback to summary
public void setDefaultRoles(String[] defaultRoles)

Deprecated

Annotations
@Deprecated
setDescriptionback to summary
public void setDescription(String description)
setDirectAccessGrantsEnabledback to summary
public void setDirectAccessGrantsEnabled(Boolean directAccessGrantsEnabled)
setDirectGrantsOnlyback to summary
public void setDirectGrantsOnly(Boolean directGrantsOnly)
setEnabledback to summary
public void setEnabled(Boolean enabled)
setFrontchannelLogoutback to summary
public void setFrontchannelLogout(Boolean frontchannelLogout)
setFullScopeAllowedback to summary
public void setFullScopeAllowed(Boolean fullScopeAllowed)
setIdback to summary
public void setId(String id)
setImplicitFlowEnabledback to summary
public void setImplicitFlowEnabled(Boolean implicitFlowEnabled)
setNameback to summary
public void setName(String name)
setNodeReRegistrationTimeoutback to summary
public void setNodeReRegistrationTimeout(Integer nodeReRegistrationTimeout)
setNotBeforeback to summary
public void setNotBefore(Integer notBefore)
setOptionalClientScopesback to summary
public void setOptionalClientScopes(List<String> optionalClientScopes)
setOriginback to summary
public void setOrigin(String origin)
setProtocolback to summary
public void setProtocol(String protocol)
setProtocolMappersback to summary
public void setProtocolMappers(List<ProtocolMapperRepresentation> protocolMappers)
setPublicClientback to summary
public void setPublicClient(Boolean publicClient)
setRedirectUrisback to summary
public void setRedirectUris(List<String> redirectUris)
setRegisteredNodesback to summary
public void setRegisteredNodes(Map<String, Integer> registeredNodes)
setRegistrationAccessTokenback to summary
public void setRegistrationAccessToken(String registrationAccessToken)
setRootUrlback to summary
public void setRootUrl(String rootUrl)
setSecretback to summary
public void setSecret(String secret)
setServiceAccountsEnabledback to summary
public void setServiceAccountsEnabled(Boolean serviceAccountsEnabled)
setStandardFlowEnabledback to summary
public void setStandardFlowEnabled(Boolean standardFlowEnabled)
setSurrogateAuthRequiredback to summary
public void setSurrogateAuthRequired(Boolean surrogateAuthRequired)
setWebOriginsback to summary
public void setWebOrigins(List<String> webOrigins)