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 Details

    • 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.
    • redirectUris

      protected List<String> redirectUris
    • webOrigins

      protected List<String> webOrigins
    • 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
    • authorizationServicesEnabled

      protected Boolean authorizationServicesEnabled
    • directGrantsOnly

      @Deprecated protected Boolean directGrantsOnly
      Deprecated.
    • publicClient

      protected Boolean publicClient
    • frontchannelLogout

      protected Boolean frontchannelLogout
    • protocol

      protected String protocol
    • attributes

      protected Map<String,String> attributes
    • authenticationFlowBindingOverrides

      protected Map<String,String> authenticationFlowBindingOverrides
    • fullScopeAllowed

      protected Boolean fullScopeAllowed
    • nodeReRegistrationTimeout

      protected Integer nodeReRegistrationTimeout
    • registeredNodes

      protected Map<String,Integer> registeredNodes
    • protocolMappers

      protected List<ProtocolMapperRepresentation> protocolMappers
    • clientTemplate

      @Deprecated protected String clientTemplate
      Deprecated.
    • defaultClientScopes

      protected List<String> defaultClientScopes
    • optionalClientScopes

      protected List<String> optionalClientScopes
    • origin

      protected String origin
  • Constructor Details

    • ClientRepresentation

      public ClientRepresentation()
  • Method Details

    • 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)
    • getRedirectUris

      public List<String> getRedirectUris()
    • setRedirectUris

      public void setRedirectUris(List<String> redirectUris)
    • getWebOrigins

      public List<String> getWebOrigins()
    • setWebOrigins

      public void setWebOrigins(List<String> webOrigins)
    • 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)
    • getAttributes

      public Map<String,String> getAttributes()
    • setAttributes

      public void setAttributes(Map<String,String> attributes)
    • getAuthenticationFlowBindingOverrides

      public Map<String,String> getAuthenticationFlowBindingOverrides()
    • setAuthenticationFlowBindingOverrides

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

      public Integer getNodeReRegistrationTimeout()
    • setNodeReRegistrationTimeout

      public void setNodeReRegistrationTimeout(Integer nodeReRegistrationTimeout)
    • getRegisteredNodes

      public Map<String,Integer> getRegisteredNodes()
    • setRegisteredNodes

      public void setRegisteredNodes(Map<String,Integer> registeredNodes)
    • 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.
    • getDefaultClientScopes

      public List<String> getDefaultClientScopes()
    • setDefaultClientScopes

      public void setDefaultClientScopes(List<String> defaultClientScopes)
    • getOptionalClientScopes

      public List<String> getOptionalClientScopes()
    • setOptionalClientScopes

      public void setOptionalClientScopes(List<String> optionalClientScopes)
    • getAuthorizationSettings

      public ResourceServerRepresentation getAuthorizationSettings()
    • setAuthorizationSettings

      public void setAuthorizationSettings(ResourceServerRepresentation authorizationSettings)
    • getAccess

      public Map<String,Boolean> getAccess()
    • setAccess

      public void setAccess(Map<String,Boolean> access)
    • getOrigin

      public String getOrigin()
      Returns id of ClientStorageProvider that loaded this user
      Returns:
      NULL if user stored locally
    • setOrigin

      public void setOrigin(String origin)