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

- Packages that use ClientModel
  Package | Description
  --- | ---
  org.keycloak.events |
  org.keycloak.login |
  org.keycloak.login.freemarker |
  org.keycloak.login.freemarker.model |
  org.keycloak.models |
  org.keycloak.models.cache |
  org.keycloak.models.cache.entities |
  org.keycloak.models.jpa |
  org.keycloak.models.mongo.keycloak.adapters |
  org.keycloak.models.mongo.utils |
  org.keycloak.models.sessions.jpa |
  org.keycloak.models.sessions.mem |
  org.keycloak.models.sessions.mongo |
  org.keycloak.models.utils |
  org.keycloak.services.managers |
  org.keycloak.services.resources |
  org.keycloak.services.resources.admin |
  org.keycloak.services.resources.flows |

- - ### 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.login

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

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

    Methods in org.keycloak.login.freemarker with parameters of type ClientModel
    Modifier and Type | Method and Description
    --- | ---
    `FreeMarkerLoginFormsProvider` | FreeMarkerLoginFormsProvider.`setClient(ClientModel client)`

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

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

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

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

    Subinterfaces of ClientModel in org.keycloak.models
    Modifier and Type | Interface and Description
    --- | ---
    `interface` | `ApplicationModel`
    `interface` | `OAuthClientModel`

    Methods in org.keycloak.models that return ClientModel
    Modifier and Type | Method and Description
    --- | ---
    `ClientModel` | RealmModel.`findClient(String clientId)`
    `ClientModel` | RealmModel.`findClientById(String id)`
    `ClientModel` | ClientSessionModel.`getClient()`

    Methods in org.keycloak.models with parameters of type ClientModel
    Modifier and Type | Method and Description
    --- | ---
    `ClientSessionModel` | UserSessionProvider.`createClientSession(RealmModel realm, ClientModel client, UserSessionModel userSession, String redirectUri, String state, Set<String> roles)`
    `int` | UserSessionProvider.`getActiveUserSessions(RealmModel realm, ClientModel client)`
    `Set<RoleModel>` | ApplicationModel.`getApplicationScopeMappings(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)`

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

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

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

    Methods in org.keycloak.models.cache that return ClientModel
    Modifier and Type | Method and Description
    --- | ---
    `ClientModel` | RealmAdapter.`findClient(String clientId)`
    `ClientModel` | RealmAdapter.`findClientById(String id)`

    Methods in org.keycloak.models.cache with parameters of type ClientModel
    Modifier and Type | Method and Description
    --- | ---
    `Set<RoleModel>` | ApplicationAdapter.`getApplicationScopeMappings(ClientModel client)`

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

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

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

    Methods in org.keycloak.models.jpa that return ClientModel
    Modifier and Type | Method and Description
    --- | ---
    `ClientModel` | RealmAdapter.`findClient(String clientId)`
    `ClientModel` | RealmAdapter.`findClientById(String id)`

    Methods in org.keycloak.models.jpa with parameters of type ClientModel
    Modifier and Type | Method and Description
    --- | ---
    `Set<RoleModel>` | ApplicationAdapter.`getApplicationScopeMappings(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` | RealmAdapter.`findClient(String clientId)`
    `ClientModel` | RealmAdapter.`findClientById(String id)`

    Methods in org.keycloak.models.mongo.keycloak.adapters with parameters of type ClientModel
    Modifier and Type | Method and Description
    --- | ---
    `Set<RoleModel>` | ApplicationAdapter.`getApplicationScopeMappings(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.sessions.jpa

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

    Methods in org.keycloak.models.sessions.jpa with parameters of type ClientModel
    Modifier and Type | Method and Description
    --- | ---
    `ClientSessionModel` | JpaUserSessionProvider.`createClientSession(RealmModel realm, ClientModel client, UserSessionModel userSession, String redirectUri, String state, Set<String> roles)`
    `int` | JpaUserSessionProvider.`getActiveUserSessions(RealmModel realm, ClientModel client)`
    `List<UserSessionModel>` | JpaUserSessionProvider.`getUserSessions(RealmModel realm, ClientModel client)`
    `List<UserSessionModel>` | JpaUserSessionProvider.`getUserSessions(RealmModel realm, ClientModel client, int firstResult, int maxResults)`
    `void` | JpaUserSessionProvider.`onClientRemoved(RealmModel realm, ClientModel client)`

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

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

    Methods in org.keycloak.models.sessions.mem with parameters of type ClientModel
    Modifier and Type | Method and Description
    --- | ---
    `ClientSessionModel` | MemUserSessionProvider.`createClientSession(RealmModel realm, ClientModel client, UserSessionModel userSession, String redirectUri, String state, Set<String> roles)`
    `int` | MemUserSessionProvider.`getActiveUserSessions(RealmModel realm, ClientModel client)`
    `List<UserSessionModel>` | MemUserSessionProvider.`getUserSessions(RealmModel realm, ClientModel client)`
    `List<UserSessionModel>` | MemUserSessionProvider.`getUserSessions(RealmModel realm, ClientModel client, int firstResult, int maxResults)`
    `void` | MemUserSessionProvider.`onClientRemoved(RealmModel realm, ClientModel client)`

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

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

    Methods in org.keycloak.models.sessions.mongo with parameters of type ClientModel
    Modifier and Type | Method and Description
    --- | ---
    `ClientSessionModel` | MongoUserSessionProvider.`createClientSession(RealmModel realm, ClientModel client, UserSessionModel userSession, String redirectUri, String state, Set<String> roles)`
    `int` | MongoUserSessionProvider.`getActiveUserSessions(RealmModel realm, ClientModel client)`
    `List<UserSessionModel>` | MongoUserSessionProvider.`getUserSessions(RealmModel realm, ClientModel client)`
    `List<UserSessionModel>` | MongoUserSessionProvider.`getUserSessions(RealmModel realm, ClientModel client, int firstResult, int maxResults)`
    `void` | MongoUserSessionProvider.`onClientRemoved(RealmModel realm, ClientModel client)`

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

    Methods in org.keycloak.models.utils with parameters of type ClientModel
    Modifier and Type | Method and Description
    --- | ---
    `static UserCredentialModel` | KeycloakModelUtils.`generateSecret(ClientModel app)`
    `static void` | RepresentationToModel.`setClaims(ClientModel model, ClaimRepresentation rep)`
    `static ClaimRepresentation` | ModelToRepresentation.`toRepresentation(ClientModel model)`

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

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

    Methods in org.keycloak.services.managers with parameters of type ClientModel
    Modifier and Type | Method and Description
    --- | ---
    `AccessCode` | TokenManager.`createAccessCode(String scopeParam, String state, String redirect, KeycloakSession session, RealmModel realm, ClientModel client, UserModel user, UserSessionModel userSession)`
    `AccessToken` | TokenManager.`createClientAccessToken(Set<RoleModel> requestedRoles, RealmModel realm, ClientModel client, UserModel user, UserSessionModel session)`
    `TokenManager.AccessTokenResponseBuilder` | TokenManager.AccessTokenResponseBuilder.`generateAccessToken(String scopeParam, ClientModel client, UserModel user, UserSessionModel session)`
    `Set<RoleModel>` | TokenManager.`getAccess(String scopeParam, ClientModel client, UserModel user)`
    `void` | TokenManager.`initClaims(IDToken token, ClientModel model, UserModel user)`
    `protected IDToken` | TokenManager.`initIDToken(RealmModel realm, ClientModel claimer, UserModel client, UserModel user)`
    `protected AccessToken` | TokenManager.`initToken(RealmModel realm, ClientModel client, UserModel user, UserSessionModel session)`
    `AccessToken` | TokenManager.`refreshAccessToken(KeycloakSession session, javax.ws.rs.core.UriInfo uriInfo, ClientConnection connection, RealmModel realm, ClientModel client, String encodedRefreshToken, EventBuilder event)`
    `TokenManager.AccessTokenResponseBuilder` | TokenManager.`responseBuilder(RealmModel realm, ClientModel client, EventBuilder event)`
    `void` | TokenManager.`verifyAccess(AccessToken token, RealmModel realm, ClientModel client, UserModel user)`

    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)`
    `TokenManager.AccessTokenResponseBuilder(RealmModel realm, ClientModel client, EventBuilder event)`

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

    Methods in org.keycloak.services.resources that return ClientModel
    Modifier and Type | Method and Description
    --- | ---
    `protected ClientModel` | TokenService.`authorizeClient(String authorizationHeader, javax.ws.rs.core.MultivaluedMap<String,String> formData, EventBuilder event)`

    Methods in org.keycloak.services.resources with parameters of type ClientModel
    Modifier and Type | Method and Description
    --- | ---
    `Cors` | Cors.`allowedOrigins(ClientModel client)`
    `static String` | TokenService.`verifyRedirectUri(javax.ws.rs.core.UriInfo uriInfo, String redirectUri, RealmModel realm, ClientModel client)`

  - ### 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` | ScopeMappedResource.`client`
    `protected ClientModel` | ClaimResource.`model`

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

    Constructors in org.keycloak.services.resources.admin with parameters of type ClientModel
    Constructor and Description
    `AdminAuth(RealmModel realm, AccessToken token, UserModel user, ClientModel client)`
    `ClaimResource(ClientModel model, RealmAuth auth)`
    `ScopeMappedResource(RealmModel realm, RealmAuth auth, ClientModel client, KeycloakSession session)`

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

    Methods in org.keycloak.services.resources.flows with parameters of type ClientModel
    Modifier and Type | Method and Description
    --- | ---
    `static LoginFormsProvider` | Flows.`forms(KeycloakSession session, RealmModel realm, ClientModel client, javax.ws.rs.core.UriInfo uriInfo)`
    `javax.ws.rs.core.Response` | OAuthFlows.`processAccessCode(String scopeParam, String state, String redirect, ClientModel client, UserModel user, UserSessionModel session, EventBuilder event)`
    `javax.ws.rs.core.Response` | OAuthFlows.`redirectError(ClientModel client, String error, String state, String redirect)`

Copyright © 2014. All Rights Reserved.