## Uses of Interface
org.keycloak.models.ClientModel

- Packages that use ClientModel
  Package | Description
  --- | ---
  org.keycloak.authentication |
  org.keycloak.authentication.authenticators.client |
  org.keycloak.authorization.admin |
  org.keycloak.events |
  org.keycloak.exportimport.util |
  org.keycloak.federation.ldap.mappers.membership.role |
  org.keycloak.forms.account.freemarker.model |
  org.keycloak.forms.login.freemarker.model |
  org.keycloak.models |
  org.keycloak.models.cache.infinispan |
  org.keycloak.models.cache.infinispan.entities |
  org.keycloak.models.jpa |
  org.keycloak.models.jpa.session |
  org.keycloak.models.mongo.keycloak.adapters |
  org.keycloak.models.mongo.utils |
  org.keycloak.models.session |
  org.keycloak.models.sessions.infinispan |
  org.keycloak.models.utils |
  org.keycloak.protocol |
  org.keycloak.protocol.oidc |
  org.keycloak.protocol.oidc.installation |
  org.keycloak.protocol.oidc.utils |
  org.keycloak.protocol.saml |
  org.keycloak.protocol.saml.installation |
  org.keycloak.services |
  org.keycloak.services.clientregistration |
  org.keycloak.services.managers |
  org.keycloak.services.resources |
  org.keycloak.services.resources.admin |
  org.keycloak.storage |
  org.keycloak.storage.adapter |
  org.keycloak.storage.changeset |
  org.keycloak.storage.federated |
  org.keycloak.storage.jpa |

- - ### Uses of ClientModel in org.keycloak.authentication

    Fields in org.keycloak.authentication declared as ClientModel
    Modifier and Type | Field and Description
    --- | ---
    `protected ClientModel` | AuthenticationProcessor.`client`

    Methods in org.keycloak.authentication that return ClientModel
    Modifier and Type | Method and Description
    --- | ---
    `ClientModel` | AuthenticationProcessor.`getClient()`
    `ClientModel` | AuthenticationProcessor.Result.`getClient()`
    `ClientModel` | ClientAuthenticationFlowContext.`getClient()` Current client attached to this flow.

    Methods in org.keycloak.authentication with parameters of type ClientModel
    Modifier and Type | Method and Description
    --- | ---
    `Map<String,Object>` | ClientAuthenticatorFactory.`getAdapterConfiguration(ClientModel client)` Get configuration, which needs to be used for adapter ( keycloak.json ) of particular client.
    `void` | AuthenticationProcessor.`setClient(ClientModel client)`
    `void` | AuthenticationProcessor.Result.`setClient(ClientModel client)`
    `void` | ClientAuthenticationFlowContext.`setClient(ClientModel client)` Attach a specific client to this flow.

  - ### Uses of ClientModel in org.keycloak.authentication.authenticators.client

    Methods in org.keycloak.authentication.authenticators.client with parameters of type ClientModel
    Modifier and Type | Method and Description
    --- | ---
    `Map<String,Object>` | JWTClientAuthenticator.`getAdapterConfiguration(ClientModel client)`
    `Map<String,Object>` | ClientIdAndSecretAuthenticator.`getAdapterConfiguration(ClientModel client)`

  - ### Uses of ClientModel in org.keycloak.authorization.admin

    Constructors in org.keycloak.authorization.admin with parameters of type ClientModel
    Constructor and Description
    `AuthorizationService(KeycloakSession session, ClientModel client, RealmAuth auth)`
    `ResourceServerService(AuthorizationProvider authorization, ResourceServer resourceServer, ClientModel client, RealmAuth auth)`

  - ### Uses of ClientModel in org.keycloak.events

    Methods in org.keycloak.events with parameters of type ClientModel
    Modifier and Type | Method and Description
    --- | ---
    `EventBuilder` | EventBuilder.`client(ClientModel client)`

  - ### Uses of ClientModel in org.keycloak.exportimport.util

    Methods in org.keycloak.exportimport.util with parameters of type ClientModel
    Modifier and Type | Method and Description
    --- | ---
    `static ClientRepresentation` | ExportUtils.`exportClient(ClientModel client)` Full export of application including claims and secret

  - ### Uses of ClientModel in org.keycloak.federation.ldap.mappers.membership.role

    Methods in org.keycloak.federation.ldap.mappers.membership.role with parameters of type ClientModel
    Modifier and Type | Method and Description
    --- | ---
    `Set<RoleModel>` | RoleLDAPFederationMapper.LDAPRoleMappingsUserDelegate.`getClientRoleMappings(ClientModel client)`

  - ### Uses of ClientModel in org.keycloak.forms.account.freemarker.model

    Methods in org.keycloak.forms.account.freemarker.model that return ClientModel
    Modifier and Type | Method and Description
    --- | ---
    `ClientModel` | ApplicationsBean.ApplicationEntry.`getClient()`

    Constructors in org.keycloak.forms.account.freemarker.model with parameters of type ClientModel
    Constructor and Description
    `ApplicationEntry(List<RoleModel> realmRolesAvailable, MultivaluedHashMap<String,ApplicationsBean.ClientRoleEntry> resourceRolesAvailable, List<RoleModel> realmRolesGranted, MultivaluedHashMap<String,ApplicationsBean.ClientRoleEntry> resourceRolesGranted, ClientModel client, List<String> claimsGranted, List<String> additionalGrants)`

  - ### Uses of ClientModel in org.keycloak.forms.login.freemarker.model

    Fields in org.keycloak.forms.login.freemarker.model declared as ClientModel
    Modifier and Type | Field and Description
    --- | ---
    `protected ClientModel` | ClientBean.`client`

    Constructors in org.keycloak.forms.login.freemarker.model with parameters of type ClientModel
    Constructor and Description
    `ClientBean(ClientModel client, URI requestUri)`
    `OAuthGrantBean(String code, ClientSessionModel clientSession, ClientModel client, List<RoleModel> realmRolesRequested, javax.ws.rs.core.MultivaluedMap<String,RoleModel> resourceRolesRequested, List<ProtocolMapperModel> protocolMappersRequested, String accessRequestMessage)`

  - ### Uses of ClientModel in org.keycloak.models

    Fields in org.keycloak.models declared as ClientModel
    Modifier and Type | Field and Description
    --- | ---
    `protected ClientModel` | ClientConfigResolver.`client`

    Methods in org.keycloak.models that return ClientModel
    Modifier and Type | Method and Description
    --- | ---
    `ClientModel` | RealmProvider.`addClient(RealmModel realm, String clientId)`
    `ClientModel` | RealmProvider.`addClient(RealmModel realm, String id, String clientId)`
    `ClientModel` | RealmModel.`addClient(String name)`
    `ClientModel` | RealmModel.`addClient(String id, String clientId)`
    `ClientModel` | UserConsentModel.`getClient()`
    `ClientModel` | RealmModel.ClientRemovedEvent.`getClient()`
    `ClientModel` | KeycloakContext.`getClient()`
    `ClientModel` | ClientSessionModel.`getClient()`
    `ClientModel` | RealmModel.`getClientByClientId(String clientId)`
    `ClientModel` | RealmProvider.`getClientByClientId(String clientId, RealmModel realm)`
    `ClientModel` | RealmModel.`getClientById(String id)`
    `ClientModel` | RealmProvider.`getClientById(String id, RealmModel realm)`
    `ClientModel` | RealmModel.ClientCreationEvent.`getCreatedClient()`
    `ClientModel` | RealmModel.`getMasterAdminClient()`

    Methods in org.keycloak.models that return types with arguments of type ClientModel
    Modifier and Type | Method and Description
    --- | ---
    `List<ClientModel>` | RealmModel.`getClients()`
    `List<ClientModel>` | RealmProvider.`getClients(RealmModel realm)`

    Methods in org.keycloak.models with parameters of type ClientModel
    Modifier and Type | Method and Description
    --- | ---
    `RoleModel` | RealmProvider.`addClientRole(RealmModel realm, ClientModel client, String name)`
    `RoleModel` | RealmProvider.`addClientRole(RealmModel realm, ClientModel client, String id, String name)`
    `ClientSessionModel` | UserSessionProvider.`createClientSession(RealmModel realm, ClientModel client)`
    `long` | UserSessionProvider.`getActiveUserSessions(RealmModel realm, ClientModel client)`
    `RoleModel` | RealmProvider.`getClientRole(RealmModel realm, ClientModel client, String name)`
    `Set<RoleModel>` | RoleMapperModel.`getClientRoleMappings(ClientModel app)`
    `Set<RoleModel>` | RealmProvider.`getClientRoles(RealmModel realm, ClientModel client)`
    `long` | UserSessionProvider.`getOfflineSessionsCount(RealmModel realm, ClientModel client)`
    `List<UserSessionModel>` | UserSessionProvider.`getOfflineUserSessions(RealmModel realm, ClientModel client, int first, int max)`
    `UserModel` | UserProvider.`getServiceAccount(ClientModel client)`
    `UserModel` | UserFederationManager.`getServiceAccount(ClientModel client)`
    `List<UserSessionModel>` | UserSessionProvider.`getUserSessions(RealmModel realm, ClientModel client)`
    `List<UserSessionModel>` | UserSessionProvider.`getUserSessions(RealmModel realm, ClientModel client, int firstResult, int maxResults)`
    `void` | UserSessionProvider.`onClientRemoved(RealmModel realm, ClientModel client)`
    `void` | UserProvider.`preRemove(RealmModel realm, ClientModel client)`
    `void` | UserFederationManager.`preRemove(RealmModel realm, ClientModel client)`
    `void` | KeycloakContext.`setClient(ClientModel client)`
    `void` | RealmModel.`setMasterAdminClient(ClientModel client)`

    Constructors in org.keycloak.models with parameters of type ClientModel
    Constructor and Description
    `ClientConfigResolver(ClientModel client)`
    `UserConsentModel(ClientModel client)`

  - ### Uses of ClientModel in org.keycloak.models.cache.infinispan

    Fields in org.keycloak.models.cache.infinispan declared as ClientModel
    Modifier and Type | Field and Description
    --- | ---
    `protected ClientModel` | ClientAdapter.`updated`

    Methods in org.keycloak.models.cache.infinispan that return ClientModel
    Modifier and Type | Method and Description
    --- | ---
    `ClientModel` | RealmCacheSession.`addClient(RealmModel realm, String clientId)`
    `ClientModel` | RealmCacheSession.`addClient(RealmModel realm, String id, String clientId)`
    `ClientModel` | RealmAdapter.`addClient(String name)`
    `ClientModel` | RealmAdapter.`addClient(String id, String clientId)`
    `ClientModel` | RealmAdapter.`getClientByClientId(String clientId)`
    `ClientModel` | RealmCacheSession.`getClientByClientId(String clientId, RealmModel realm)`
    `ClientModel` | RealmAdapter.`getClientById(String id)`
    `ClientModel` | RealmCacheSession.`getClientById(String id, RealmModel realm)`
    `ClientModel` | RealmAdapter.`getMasterAdminClient()`

    Methods in org.keycloak.models.cache.infinispan that return types with arguments of type ClientModel
    Modifier and Type | Method and Description
    --- | ---
    `List<ClientModel>` | RealmAdapter.`getClients()`
    `List<ClientModel>` | RealmCacheSession.`getClients(RealmModel realm)`

    Methods in org.keycloak.models.cache.infinispan with parameters of type ClientModel
    Modifier and Type | Method and Description
    --- | ---
    `RoleModel` | RealmCacheSession.`addClientRole(RealmModel realm, ClientModel client, String name)`
    `RoleModel` | RealmCacheSession.`addClientRole(RealmModel realm, ClientModel client, String id, String name)`
    `RoleModel` | RealmCacheSession.`getClientRole(RealmModel realm, ClientModel client, String name)`
    `Set<RoleModel>` | UserAdapter.`getClientRoleMappings(ClientModel app)`
    `Set<RoleModel>` | GroupAdapter.`getClientRoleMappings(ClientModel app)`
    `Set<RoleModel>` | RealmCacheSession.`getClientRoles(RealmModel realm, ClientModel client)`
    `UserModel` | UserCacheSession.`getServiceAccount(ClientModel client)`
    `protected void` | RealmCacheSession.`invalidateClient(RealmModel realm, ClientModel client)`
    `void` | UserCacheSession.`preRemove(RealmModel realm, ClientModel client)`
    `void` | RealmAdapter.`setMasterAdminClient(ClientModel client)`

  - ### Uses of ClientModel in org.keycloak.models.cache.infinispan.entities

    Constructors in org.keycloak.models.cache.infinispan.entities with parameters of type ClientModel
    Constructor and Description
    `CachedClient(Long revision, RealmModel realm, ClientModel model)`

  - ### Uses of ClientModel in org.keycloak.models.jpa

    Classes in org.keycloak.models.jpa that implement ClientModel
    Modifier and Type | Class and Description
    --- | ---
    `class` | `ClientAdapter`

    Methods in org.keycloak.models.jpa that return ClientModel
    Modifier and Type | Method and Description
    --- | ---
    `ClientModel` | JpaRealmProvider.`addClient(RealmModel realm, String clientId)`
    `ClientModel` | JpaRealmProvider.`addClient(RealmModel realm, String id, String clientId)`
    `ClientModel` | RealmAdapter.`addClient(String name)`
    `ClientModel` | RealmAdapter.`addClient(String id, String clientId)`
    `ClientModel` | RealmAdapter.`getClientByClientId(String clientId)`
    `ClientModel` | JpaRealmProvider.`getClientByClientId(String clientId, RealmModel realm)`
    `ClientModel` | RealmAdapter.`getClientById(String id)`
    `ClientModel` | JpaRealmProvider.`getClientById(String id, RealmModel realm)`
    `ClientModel` | RealmAdapter.`getMasterAdminClient()`

    Methods in org.keycloak.models.jpa that return types with arguments of type ClientModel
    Modifier and Type | Method and Description
    --- | ---
    `List<ClientModel>` | RealmAdapter.`getClients()`
    `List<ClientModel>` | JpaRealmProvider.`getClients(RealmModel realm)`

    Methods in org.keycloak.models.jpa with parameters of type ClientModel
    Modifier and Type | Method and Description
    --- | ---
    `RoleModel` | JpaRealmProvider.`addClientRole(RealmModel realm, ClientModel client, String name)`
    `RoleModel` | JpaRealmProvider.`addClientRole(RealmModel realm, ClientModel client, String id, String name)`
    `RoleModel` | JpaRealmProvider.`getClientRole(RealmModel realm, ClientModel client, String name)`
    `Set<RoleModel>` | UserAdapter.`getClientRoleMappings(ClientModel app)`
    `Set<RoleModel>` | GroupAdapter.`getClientRoleMappings(ClientModel app)`
    `Set<RoleModel>` | JpaRealmProvider.`getClientRoles(RealmModel realm, ClientModel client)`
    `UserModel` | JpaUserProvider.`getServiceAccount(ClientModel client)`
    `void` | JpaUserProvider.`preRemove(RealmModel realm, ClientModel client)`
    `void` | RealmAdapter.`setMasterAdminClient(ClientModel client)`

  - ### Uses of ClientModel in org.keycloak.models.jpa.session

    Methods in org.keycloak.models.jpa.session with parameters of type ClientModel
    Modifier and Type | Method and Description
    --- | ---
    `void` | JpaUserSessionPersisterProvider.`onClientRemoved(RealmModel realm, ClientModel client)`

  - ### Uses of ClientModel in org.keycloak.models.mongo.keycloak.adapters

    Methods in org.keycloak.models.mongo.keycloak.adapters that return ClientModel
    Modifier and Type | Method and Description
    --- | ---
    `ClientModel` | MongoRealmProvider.`addClient(RealmModel realm, String clientId)`
    `ClientModel` | MongoRealmProvider.`addClient(RealmModel realm, String id, String clientId)`
    `ClientModel` | RealmAdapter.`addClient(String name)`
    `ClientModel` | RealmAdapter.`addClient(String id, String clientId)`
    `ClientModel` | RealmAdapter.`getClientByClientId(String clientId)`
    `ClientModel` | MongoRealmProvider.`getClientByClientId(String clientId, RealmModel realm)`
    `ClientModel` | RealmAdapter.`getClientById(String id)`
    `ClientModel` | MongoRealmProvider.`getClientById(String id, RealmModel realm)`
    `ClientModel` | RealmAdapter.`getMasterAdminClient()`

    Methods in org.keycloak.models.mongo.keycloak.adapters that return types with arguments of type ClientModel
    Modifier and Type | Method and Description
    --- | ---
    `List<ClientModel>` | RealmAdapter.`getClients()`
    `List<ClientModel>` | MongoRealmProvider.`getClients(RealmModel realm)`

    Methods in org.keycloak.models.mongo.keycloak.adapters with parameters of type ClientModel
    Modifier and Type | Method and Description
    --- | ---
    `RoleModel` | MongoRealmProvider.`addClientRole(RealmModel realm, ClientModel client, String name)`
    `RoleModel` | MongoRealmProvider.`addClientRole(RealmModel realm, ClientModel client, String id, String name)`
    `RoleModel` | MongoRealmProvider.`getClientRole(RealmModel realm, ClientModel client, String name)`
    `Set<RoleModel>` | UserAdapter.`getClientRoleMappings(ClientModel app)`
    `Set<RoleModel>` | GroupAdapter.`getClientRoleMappings(ClientModel app)`
    `Set<RoleModel>` | MongoRealmProvider.`getClientRoles(RealmModel realm, ClientModel client)`
    `UserModel` | MongoUserProvider.`getServiceAccount(ClientModel client)`
    `void` | MongoUserSessionPersisterProvider.`onClientRemoved(RealmModel realm, ClientModel client)`
    `void` | MongoUserProvider.`preRemove(RealmModel realm, ClientModel client)`
    `void` | RealmAdapter.`setMasterAdminClient(ClientModel client)`

  - ### Uses of ClientModel in org.keycloak.models.mongo.utils

    Methods in org.keycloak.models.mongo.utils with parameters of type ClientModel
    Modifier and Type | Method and Description
    --- | ---
    `static List<MongoRoleEntity>` | MongoModelUtils.`getAllScopesOfClient(ClientModel client, MongoStoreInvocationContext invContext)`

  - ### Uses of ClientModel in org.keycloak.models.session

    Methods in org.keycloak.models.session that return ClientModel
    Modifier and Type | Method and Description
    --- | ---
    `ClientModel` | PersistentClientSessionAdapter.`getClient()`

    Methods in org.keycloak.models.session with parameters of type ClientModel
    Modifier and Type | Method and Description
    --- | ---
    `void` | UserSessionPersisterProvider.`onClientRemoved(RealmModel realm, ClientModel client)`
    `void` | DisabledUserSessionPersisterProvider.`onClientRemoved(RealmModel realm, ClientModel client)`

    Constructors in org.keycloak.models.session with parameters of type ClientModel
    Constructor and Description
    `PersistentClientSessionAdapter(PersistentClientSessionModel model, RealmModel realm, ClientModel client, UserSessionModel userSession)`

  - ### Uses of ClientModel in org.keycloak.models.sessions.infinispan

    Methods in org.keycloak.models.sessions.infinispan that return ClientModel
    Modifier and Type | Method and Description
    --- | ---
    `ClientModel` | ClientSessionAdapter.`getClient()`

    Methods in org.keycloak.models.sessions.infinispan with parameters of type ClientModel
    Modifier and Type | Method and Description
    --- | ---
    `ClientSessionModel` | InfinispanUserSessionProvider.`createClientSession(RealmModel realm, ClientModel client)`
    `long` | InfinispanUserSessionProvider.`getActiveUserSessions(RealmModel realm, ClientModel client)`
    `long` | InfinispanUserSessionProvider.`getOfflineSessionsCount(RealmModel realm, ClientModel client)`
    `List<UserSessionModel>` | InfinispanUserSessionProvider.`getOfflineUserSessions(RealmModel realm, ClientModel client, int first, int max)`
    `List<UserSessionModel>` | InfinispanUserSessionProvider.`getUserSessions(RealmModel realm, ClientModel client)`
    `List<UserSessionModel>` | InfinispanUserSessionProvider.`getUserSessions(RealmModel realm, ClientModel client, int firstResult, int maxResults)`
    `protected List<UserSessionModel>` | InfinispanUserSessionProvider.`getUserSessions(RealmModel realm, ClientModel client, int firstResult, int maxResults, boolean offline)`
    `protected long` | InfinispanUserSessionProvider.`getUserSessionsCount(RealmModel realm, ClientModel client, boolean offline)`
    `void` | InfinispanUserSessionProvider.`onClientRemoved(RealmModel realm, ClientModel client)`

  - ### Uses of ClientModel in org.keycloak.models.utils

    Methods in org.keycloak.models.utils that return ClientModel
    Modifier and Type | Method and Description
    --- | ---
    `static ClientModel` | RepresentationToModel.`createClient(KeycloakSession session, RealmModel realm, ClientRepresentation resourceRep, boolean addDefaultRoles)` Does not create scope or role mappings!
    `static ClientModel` | KeycloakModelUtils.`createClient(RealmModel realm, String name)`

    Methods in org.keycloak.models.utils with parameters of type ClientModel
    Modifier and Type | Method and Description
    --- | ---
    `static void` | RepresentationToModel.`createClientRoleMappings(ClientModel clientModel, UserModel user, List<String> roleNames)`
    `static void` | RepresentationToModel.`createClientScopeMappings(RealmModel realm, ClientModel clientModel, List<ScopeMappingRepresentation> mappings)`
    `static UserCredentialModel` | KeycloakModelUtils.`generateSecret(ClientModel client)`
    `Set<RoleModel>` | UserModelDelegate.`getClientRoleMappings(ClientModel app)`
    `static Set<RoleModel>` | KeycloakModelUtils.`getClientScopeMappings(ClientModel client, ScopeContainerModel container)`
    `static ClientRepresentation` | ModelToRepresentation.`toRepresentation(ClientModel clientModel)`
    `static void` | RepresentationToModel.`updateClient(ClientRepresentation rep, ClientModel resource)`

  - ### Uses of ClientModel in org.keycloak.protocol

    Methods in org.keycloak.protocol with parameters of type ClientModel
    Modifier and Type | Method and Description
    --- | ---
    `protected abstract void` | AbstractLoginProtocolFactory.`addDefaults(ClientModel realm)`
    `javax.ws.rs.core.Response` | ClientInstallationProvider.`generateInstallation(KeycloakSession session, RealmModel realm, ClientModel client, URI serverBaseUri)`
    `void` | LoginProtocolFactory.`setupClientDefaults(ClientRepresentation rep, ClientModel newClient)` Setup default values for new clients.

  - ### Uses of ClientModel in org.keycloak.protocol.oidc

    Methods in org.keycloak.protocol.oidc with parameters of type ClientModel
    Modifier and Type | Method and Description
    --- | ---
    `protected void` | OIDCLoginProtocolFactory.`addDefaults(ClientModel client)`
    `AccessToken` | TokenManager.`createClientAccessToken(KeycloakSession session, Set<RoleModel> requestedRoles, RealmModel realm, ClientModel client, UserModel user, UserSessionModel userSession, ClientSessionModel clientSession)`
    `static Set<RoleModel>` | TokenManager.`getAccess(String scopeParam, boolean applyScopeParam, ClientModel client, UserModel user)`
    `protected AccessToken` | TokenManager.`initToken(RealmModel realm, ClientModel client, UserModel user, UserSessionModel session, ClientSessionModel clientSession, javax.ws.rs.core.UriInfo uriInfo)`
    `TokenManager.RefreshResult` | TokenManager.`refreshAccessToken(KeycloakSession session, javax.ws.rs.core.UriInfo uriInfo, ClientConnection connection, RealmModel realm, ClientModel authorizedClient, String encodedRefreshToken, EventBuilder event, javax.ws.rs.core.HttpHeaders headers)`
    `TokenManager.AccessTokenResponseBuilder` | TokenManager.`responseBuilder(RealmModel realm, ClientModel client, EventBuilder event, KeycloakSession session, UserSessionModel userSession, ClientSessionModel clientSession)`
    `void` | OIDCLoginProtocolFactory.`setupClientDefaults(ClientRepresentation rep, ClientModel newClient)`
    `AccessToken` | TokenManager.`transformAccessToken(KeycloakSession session, AccessToken token, RealmModel realm, ClientModel client, UserModel user, UserSessionModel userSession, ClientSessionModel clientSession)`
    `void` | TokenManager.`transformIDToken(KeycloakSession session, IDToken token, RealmModel realm, ClientModel client, UserModel user, UserSessionModel userSession, ClientSessionModel clientSession)`
    `AccessToken` | TokenManager.`transformUserInfoAccessToken(KeycloakSession session, AccessToken token, RealmModel realm, ClientModel client, UserModel user, UserSessionModel userSession, ClientSessionModel clientSession)`

    Constructors in org.keycloak.protocol.oidc with parameters of type ClientModel
    Constructor and Description
    `AccessTokenResponseBuilder(RealmModel realm, ClientModel client, EventBuilder event, KeycloakSession session, UserSessionModel userSession, ClientSessionModel clientSession)`

  - ### Uses of ClientModel in org.keycloak.protocol.oidc.installation

    Methods in org.keycloak.protocol.oidc.installation with parameters of type ClientModel
    Modifier and Type | Method and Description
    --- | ---
    `javax.ws.rs.core.Response` | KeycloakOIDCJbossSubsystemClientInstallation.`generateInstallation(KeycloakSession session, RealmModel realm, ClientModel client, URI baseUri)`
    `javax.ws.rs.core.Response` | KeycloakOIDCClientInstallation.`generateInstallation(KeycloakSession session, RealmModel realm, ClientModel client, URI baseUri)`
    `static Map<String,Object>` | KeycloakOIDCClientInstallation.`getClientCredentialsAdapterConfig(KeycloakSession session, ClientModel client)`
    `static boolean` | KeycloakOIDCClientInstallation.`showClientCredentialsAdapterConfig(ClientModel client)`

  - ### Uses of ClientModel in org.keycloak.protocol.oidc.utils

    Methods in org.keycloak.protocol.oidc.utils that return ClientModel
    Modifier and Type | Method and Description
    --- | ---
    `ClientModel` | AuthorizeClientUtil.ClientAuthResult.`getClient()`

    Methods in org.keycloak.protocol.oidc.utils with parameters of type ClientModel
    Modifier and Type | Method and Description
    --- | ---
    `static Set<String>` | WebOriginsUtils.`resolveValidWebOrigins(javax.ws.rs.core.UriInfo uriInfo, ClientModel client)`
    `static String` | RedirectUtils.`verifyRedirectUri(javax.ws.rs.core.UriInfo uriInfo, String redirectUri, RealmModel realm, ClientModel client)`

  - ### Uses of ClientModel in org.keycloak.protocol.saml

    Methods in org.keycloak.protocol.saml with parameters of type ClientModel
    Modifier and Type | Method and Description
    --- | ---
    `protected void` | SamlProtocolFactory.`addDefaults(ClientModel client)`
    `protected SAML2LogoutRequestBuilder` | SamlProtocol.`createLogoutRequest(String logoutUrl, ClientSessionModel clientSession, ClientModel client)`
    `static PublicKey` | SamlProtocolUtils.`getEncryptionValidationKey(ClientModel client)`
    `static String` | SamlProtocol.`getLogoutServiceUrl(javax.ws.rs.core.UriInfo uriInfo, ClientModel client, String bindingType)`
    `static PublicKey` | SamlProtocolUtils.`getPublicKey(ClientModel client, String attribute)`
    `static PublicKey` | SamlProtocolUtils.`getSignatureValidationKey(ClientModel client)`
    `protected javax.ws.rs.core.Response` | SamlService.BindingProtocol.`loginRequest(String relayState, AuthnRequestType requestAbstractType, ClientModel client)`
    `protected javax.ws.rs.core.Response` | SamlService.BindingProtocol.`logoutRequest(LogoutRequestType logoutRequest, ClientModel client, String relayState)`
    `void` | SamlProtocolFactory.`setupClientDefaults(ClientRepresentation clientRep, ClientModel newClient)`
    `static void` | SamlProtocolUtils.`verifyDocumentSignature(ClientModel client, Document document)`
    `protected abstract void` | SamlService.BindingProtocol.`verifySignature(SAMLDocumentHolder documentHolder, ClientModel client)`
    `protected void` | SamlService.PostBindingProtocol.`verifySignature(SAMLDocumentHolder documentHolder, ClientModel client)`
    `protected void` | SamlService.RedirectBindingProtocol.`verifySignature(SAMLDocumentHolder documentHolder, ClientModel client)`

    Constructors in org.keycloak.protocol.saml with parameters of type ClientModel
    Constructor and Description
    `SamlClient(ClientModel client)`

  - ### Uses of ClientModel in org.keycloak.protocol.saml.installation

    Methods in org.keycloak.protocol.saml.installation with parameters of type ClientModel
    Modifier and Type | Method and Description
    --- | ---
    `static void` | KeycloakSamlClientInstallation.`baseXml(RealmModel realm, ClientModel client, URI baseUri, SamlClient samlClient, StringBuffer buffer)`
    `javax.ws.rs.core.Response` | SamlSPDescriptorClientInstallation.`generateInstallation(KeycloakSession session, RealmModel realm, ClientModel client, URI serverBaseUri)`
    `javax.ws.rs.core.Response` | SamlIDPDescriptorClientInstallation.`generateInstallation(KeycloakSession session, RealmModel realm, ClientModel client, URI serverBaseUri)`
    `javax.ws.rs.core.Response` | ModAuthMellonClientInstallation.`generateInstallation(KeycloakSession session, RealmModel realm, ClientModel client, URI serverBaseUri)`
    `javax.ws.rs.core.Response` | KeycloakSamlSubsystemInstallation.`generateInstallation(KeycloakSession session, RealmModel realm, ClientModel client, URI baseUri)`
    `javax.ws.rs.core.Response` | KeycloakSamlClientInstallation.`generateInstallation(KeycloakSession session, RealmModel realm, ClientModel client, URI baseUri)`
    `static String` | SamlIDPDescriptorClientInstallation.`getIDPDescriptorForClient(RealmModel realm, ClientModel client, URI serverBaseUri)`
    `static String` | SamlSPDescriptorClientInstallation.`getSPDescriptorForClient(ClientModel client)`

  - ### Uses of ClientModel in org.keycloak.services

    Methods in org.keycloak.services that return ClientModel
    Modifier and Type | Method and Description
    --- | ---
    `ClientModel` | DefaultKeycloakContext.`getClient()`

    Methods in org.keycloak.services with parameters of type ClientModel
    Modifier and Type | Method and Description
    --- | ---
    `void` | DefaultKeycloakContext.`setClient(ClientModel client)`

  - ### Uses of ClientModel in org.keycloak.services.clientregistration

    Methods in org.keycloak.services.clientregistration with parameters of type ClientModel
    Modifier and Type | Method and Description
    --- | ---
    `void` | ClientRegistrationAuth.`requireUpdate(ClientModel client)`
    `void` | ClientRegistrationAuth.`requireView(ClientModel client)`
    `static String` | ClientRegistrationTokenUtils.`updateRegistrationAccessToken(KeycloakSession session, ClientModel client)`
    `static String` | ClientRegistrationTokenUtils.`updateRegistrationAccessToken(RealmModel realm, javax.ws.rs.core.UriInfo uri, ClientModel client)`

  - ### Uses of ClientModel in org.keycloak.services.managers

    Methods in org.keycloak.services.managers that return ClientModel
    Modifier and Type | Method and Description
    --- | ---
    `static ClientModel` | ClientManager.`createClient(KeycloakSession session, RealmModel realm, ClientRepresentation rep, boolean addDefaultRoles)` Should not be called from an import.
    `ClientModel` | Auth.`getClient()`

    Methods in org.keycloak.services.managers that return types with arguments of type ClientModel
    Modifier and Type | Method and Description
    --- | ---
    `Set<ClientModel>` | UserSessionManager.`findClientsWithOfflineToken(RealmModel realm, UserModel user)`

    Methods in org.keycloak.services.managers with parameters of type ClientModel
    Modifier and Type | Method and Description
    --- | ---
    `static void` | AuthenticationManager.`backchannelUserFromClient(KeycloakSession session, RealmModel realm, UserModel user, ClientModel client, javax.ws.rs.core.UriInfo uriInfo, javax.ws.rs.core.HttpHeaders headers)`
    `void` | ClientManager.`enableServiceAccount(ClientModel client)`
    `List<UserSessionModel>` | UserSessionManager.`findOfflineSessions(RealmModel realm, ClientModel client, UserModel user)`
    `static String` | ResourceAdminManager.`getManagementUrl(URI requestUri, ClientModel client)`
    `boolean` | Auth.`hasClientRole(ClientModel app, String role)`
    `boolean` | Auth.`hasOneOfAppRole(ClientModel app, String... roles)`
    `GlobalRequestResult` | ResourceAdminManager.`logoutClient(URI requestUri, RealmModel realm, ClientModel resource)`
    `protected GlobalRequestResult` | ResourceAdminManager.`logoutClient(URI requestUri, RealmModel realm, ClientModel resource, int notBefore)`
    `boolean` | ResourceAdminManager.`logoutClientSession(URI requestUri, RealmModel realm, ClientModel resource, ClientSessionModel clientSession)`
    `protected boolean` | ResourceAdminManager.`logoutClientSessions(URI requestUri, RealmModel realm, ClientModel resource, List<ClientSessionModel> clientSessions)`
    `void` | ResourceAdminManager.`logoutUserFromClient(URI requestUri, RealmModel realm, ClientModel resource, UserModel user)`
    `GlobalRequestResult` | ResourceAdminManager.`pushClientRevocationPolicy(URI requestUri, RealmModel realm, ClientModel client)`
    `protected GlobalRequestResult` | ResourceAdminManager.`pushRevocationPolicy(URI requestUri, RealmModel realm, ClientModel resource, int notBefore)`
    `boolean` | ClientManager.`removeClient(RealmModel realm, ClientModel client)`
    `boolean` | UserSessionManager.`revokeOfflineToken(UserModel user, ClientModel client)`
    `protected boolean` | ResourceAdminManager.`sendLogoutRequest(RealmModel realm, ClientModel resource, List<String> adapterSessionIds, List<String> userSessions, int notBefore, String managementUrl)`
    `protected boolean` | ResourceAdminManager.`sendPushRevocationPolicyRequest(RealmModel realm, ClientModel resource, int notBefore, String managementUrl)`
    `protected boolean` | ResourceAdminManager.`sendTestNodeAvailabilityRequest(RealmModel realm, ClientModel client, String managementUrl)`
    `GlobalRequestResult` | ResourceAdminManager.`testNodesAvailability(URI requestUri, RealmModel realm, ClientModel client)`
    `ClientManager.InstallationAdapterConfig` | ClientManager.`toInstallationRepresentation(RealmModel realmModel, ClientModel clientModel, URI baseUri)`
    `String` | ClientManager.`toJBossSubsystemConfig(RealmModel realmModel, ClientModel clientModel, URI baseUri)`
    `Set<String>` | ClientManager.`validateRegisteredNodes(ClientModel client)`

    Constructors in org.keycloak.services.managers with parameters of type ClientModel
    Constructor and Description
    `Auth(RealmModel realm, AccessToken token, UserModel user, ClientModel client, UserSessionModel session, boolean cookie)`

  - ### Uses of ClientModel in org.keycloak.services.resources

    Fields in org.keycloak.services.resources declared as ClientModel
    Modifier and Type | Field and Description
    --- | ---
    `protected ClientModel` | AbstractSecuredLocalService.`client`

    Methods in org.keycloak.services.resources that return ClientModel
    Modifier and Type | Method and Description
    --- | ---
    `protected ClientModel` | ClientsManagementService.`authorizeClient()`

    Methods in org.keycloak.services.resources with parameters of type ClientModel
    Modifier and Type | Method and Description
    --- | ---
    `Cors` | Cors.`allowedOrigins(ClientModel client)`

    Constructors in org.keycloak.services.resources with parameters of type ClientModel
    Constructor and Description
    `AbstractSecuredLocalService(RealmModel realm, ClientModel client)`
    `AccountService(RealmModel realm, ClientModel client, EventBuilder event)`

  - ### Uses of ClientModel in org.keycloak.services.resources.admin

    Fields in org.keycloak.services.resources.admin declared as ClientModel
    Modifier and Type | Field and Description
    --- | ---
    `protected ClientModel` | ClientRoleMappingsResource.`client`
    `protected ClientModel` | ClientResource.`client`
    `protected ClientModel` | ClientAttributeCertificateResource.`client`
    `protected ClientModel` | ScopeMappedClientResource.`scopedClient`

    Methods in org.keycloak.services.resources.admin that return ClientModel
    Modifier and Type | Method and Description
    --- | ---
    `ClientModel` | AdminAuth.`getClient()`

    Methods in org.keycloak.services.resources.admin with parameters of type ClientModel
    Modifier and Type | Method and Description
    --- | ---
    `protected void` | RealmsAdminResource.`addRealmRep(List<RealmRepresentation> reps, RealmModel realm, ClientModel realmManagementClient)`
    `AdminEventBuilder` | AdminEventBuilder.`authClient(ClientModel client)`
    `protected Set<RoleRepresentation>` | RoleResource.`getClientRoleComposites(ClientModel app, RoleModel role)`
    `boolean` | AdminAuth.`hasAppRole(ClientModel app, String role)`
    `boolean` | AdminAuth.`hasOneOfAppRole(ClientModel app, String... roles)`
    `void` | ClientResource.`updateClientFromRep(ClientRepresentation rep, ClientModel client, KeycloakSession session)`

    Constructors in org.keycloak.services.resources.admin with parameters of type ClientModel
    Constructor and Description
    `AdminAuth(RealmModel realm, AccessToken token, UserModel user, ClientModel client)`
    `ClientAttributeCertificateResource(RealmModel realm, RealmAuth auth, ClientModel client, KeycloakSession session, String attributePrefix, AdminEventBuilder adminEvent)`
    `ClientResource(RealmModel realm, RealmAuth auth, ClientModel clientModel, KeycloakSession session, AdminEventBuilder adminEvent)`
    `ClientRoleMappingsResource(javax.ws.rs.core.UriInfo uriInfo, KeycloakSession session, RealmModel realm, RealmAuth auth, RoleMapperModel user, ClientModel client, AdminEventBuilder adminEvent)`
    `RealmAuth(AdminAuth auth, ClientModel realmAdminApp)`
    `ScopeMappedClientResource(RealmModel realm, RealmAuth auth, ScopeContainerModel scopeContainer, KeycloakSession session, ClientModel scopedClient, AdminEventBuilder adminEvent)`

  - ### Uses of ClientModel in org.keycloak.storage

    Methods in org.keycloak.storage with parameters of type ClientModel
    Modifier and Type | Method and Description
    --- | ---
    `UserModel` | UserStorageManager.`getServiceAccount(ClientModel client)`
    `void` | UserStorageManager.`preRemove(RealmModel realm, ClientModel client)`

  - ### Uses of ClientModel in org.keycloak.storage.adapter

    Methods in org.keycloak.storage.adapter with parameters of type ClientModel
    Modifier and Type | Method and Description
    --- | ---
    `Set<RoleModel>` | AbstractUserAdapterFederatedStorage.`getClientRoleMappings(ClientModel app)`
    `Set<RoleModel>` | AbstractUserAdapter.`getClientRoleMappings(ClientModel app)`

  - ### Uses of ClientModel in org.keycloak.storage.changeset

    Methods in org.keycloak.storage.changeset with parameters of type ClientModel
    Modifier and Type | Method and Description
    --- | ---
    `Set<RoleModel>` | UserDataAdapter.`getClientRoleMappings(ClientModel app)`

  - ### Uses of ClientModel in org.keycloak.storage.federated

    Methods in org.keycloak.storage.federated with parameters of type ClientModel
    Modifier and Type | Method and Description
    --- | ---
    `void` | UserFederatedStorageProvider.`preRemove(RealmModel realm, ClientModel client)`

  - ### Uses of ClientModel in org.keycloak.storage.jpa

    Methods in org.keycloak.storage.jpa with parameters of type ClientModel
    Modifier and Type | Method and Description
    --- | ---
    `void` | JpaUserFederatedStorageProvider.`preRemove(RealmModel realm, ClientModel client)`

Copyright © 2016 JBoss by Red Hat. All rights reserved.