Uses of Interface
org.keycloak.models.ClientModel
Packages that use ClientModel
Package
Description
-
Uses of ClientModel in org.keycloak.models
Fields in org.keycloak.models with type parameters of type ClientModelModifier and TypeFieldDescriptionstatic final BiConsumer<JOSE,ClientModel> TokenManager.DEFAULT_VALIDATORMethods in org.keycloak.models that return ClientModelModifier and TypeMethodDescriptiondefault ClientModelClientProvider.addClient(RealmModel realm, String clientId) Adds a client with givenclientIdto the given realm.ClientProvider.addClient(RealmModel realm, String id, String clientId) Adds a client with given internal ID andclientIdto the given realm.RealmModel.getAdminPermissionsClient()ClientModel.ClientProtocolUpdatedEvent.getClient()ClientModel.ClientRemovedEvent.getClient()KeycloakContext.getClient()UserConsentModel.getClient()RealmModel.getClientByClientId(String clientId) RealmModel.getClientById(String id) ClientModel.ClientCreationEvent.getCreatedClient()RealmModel.getMasterAdminClient()ClientModel.ClientIdChangeEvent.getUpdatedClient()ClientModel.ClientUpdatedEvent.getUpdatedClient()Methods in org.keycloak.models that return types with arguments of type ClientModelModifier and TypeMethodDescriptionClientProvider.getAllRedirectUrisOfEnabledClients(RealmModel realm) Deprecated.Do not use, this is only to support a deprecated logout endpoint and will vanish with it's removalClientProvider.getAlwaysDisplayInConsoleClientsStream(RealmModel realm) Returns a stream of clients that are expected to always show up in account console.RealmModel.getAlwaysDisplayInConsoleClientsStream()Returns clients which are always displayed in the admin console as a stream.default Stream<ClientModel>ClientProvider.getClientsStream(RealmModel realm) Returns all the clients of the given realm as a stream.ClientProvider.getClientsStream(RealmModel realm, Integer firstResult, Integer maxResults) Returns the clients of the given realm as a stream.RealmModel.getClientsStream()Returns clients as a stream.RealmModel.getClientsStream(Integer firstResult, Integer maxResults) Returns clients as a stream.RealmModel.searchClientByAttributes(Map<String, String> attributes, Integer firstResult, Integer maxResults) RealmModel.searchClientByAuthenticationFlowBindingOverrides(Map<String, String> overrides, Integer firstResult, Integer maxResults) RealmModel.searchClientByClientIdStream(String clientId, Integer firstResult, Integer maxResults) Search for clients by provided client's id.Methods in org.keycloak.models with parameters of type ClientModelModifier and TypeMethodDescriptiondefault RoleModelRoleProvider.addClientRole(ClientModel client, String name) Adds a client role with givennameto the given client.RoleProvider.addClientRole(ClientModel client, String id, String name) Adds a client role with given internal ID andnameto the given client.voidClientProvider.addClientScopes(RealmModel realm, ClientModel client, Set<ClientScopeModel> clientScopes, boolean defaultScope) Assign clientScopes to the client.UserSessionProvider.createClientSession(RealmModel realm, ClientModel client, UserSessionModel userSession) default <T> TTokenManager.decodeClientJWT(String token, ClientModel client, Class<T> clazz) <T> TTokenManager.decodeClientJWT(String token, ClientModel client, BiConsumer<JOSE, ClientModel> jwtValidator, Class<T> clazz) longUserSessionProvider.getActiveUserSessions(RealmModel realm, ClientModel client) CibaConfig.getBackchannelAuthRequestSigningAlg(ClientModel client) CibaConfig.getBackchannelClientNotificationEndpoint(ClientModel client) CibaConfig.getBackchannelTokenDeliveryMode(ClientModel client) RoleMapperModel.getClientRoleMappingsStream(ClientModel app) Returns stream of client roles that are directly set to this object for the given client.RoleProvider.getClientRolesStream(ClientModel client) Returns all the client roles of the given client.RoleProvider.getClientRolesStream(ClientModel client, Integer first, Integer max) Returns the client roles of the given client.UserSessionProvider.getClientSession(UserSessionModel userSession, ClientModel client, String clientSessionId, boolean offline) default AuthenticatedClientSessionModelUserSessionProvider.getClientSession(UserSessionModel userSession, ClientModel client, UUID clientSessionId, boolean offline) Deprecated.intOAuth2DeviceConfig.getLifespan(ClientModel client) longUserSessionProvider.getOfflineSessionsCount(RealmModel realm, ClientModel client) UserSessionProvider.getOfflineUserSessionsStream(RealmModel realm, ClientModel client, Integer firstResult, Integer maxResults) Obtains the offline user sessions associated with the specified client, starting from thefirstResultand containing at mostmaxResults.intOAuth2DeviceConfig.getPoolingInterval(ClientModel client) UserProvider.getServiceAccount(ClientModel client) Return a UserModel representing service account of the clientUserSessionProvider.getUserSessionsStream(RealmModel realm, ClientModel client) Obtains the online user sessions associated with the specified client.UserSessionProvider.getUserSessionsStream(RealmModel realm, ClientModel client, Integer firstResult, Integer maxResults) Obtains the online user sessions associated with the specified client, starting from thefirstResultand containing at mostmaxResults.TokenManager.initLogoutToken(ClientModel client, UserModel user, AuthenticatedClientSessionModel clientSessionModel) booleanOAuth2DeviceConfig.isOAuth2DeviceAuthorizationGrantEnabled(ClientModel client) booleanCibaConfig.isOIDCCIBAGrantEnabled(ClientModel client) booleanParConfig.isRequirePushedAuthorizationRequests(ClientModel client) voidUserSessionProvider.onClientRemoved(RealmModel realm, ClientModel client) Callback method invoked when a client is removed.voidUserProvider.preRemove(RealmModel realm, ClientModel client) Called when a client is removed.voidClientProvider.removeClientScope(RealmModel realm, ClientModel client, ClientScopeModel clientScope) Unassign clientScope from the client.voidRoleProvider.removeRoles(ClientModel client) Removes all roles from the given client.voidRealmModel.setAdminPermissionsClient(ClientModel client) voidKeycloakContext.setClient(ClientModel client) voidRealmModel.setMasterAdminClient(ClientModel client) Method parameters in org.keycloak.models with type arguments of type ClientModelModifier and TypeMethodDescription<T> TTokenManager.decodeClientJWT(String token, ClientModel client, BiConsumer<JOSE, ClientModel> jwtValidator, Class<T> clazz) Constructors in org.keycloak.models with parameters of type ClientModel -
Uses of ClientModel in org.keycloak.models.utils
Methods in org.keycloak.models.utils with parameters of type ClientModelModifier and TypeMethodDescriptionUserModelDelegate.getClientRoleMappingsStream(ClientModel app) static booleanRoleUtils.isClientRole(RoleModel r, ClientModel c) -
Uses of ClientModel in org.keycloak.sessions
Methods in org.keycloak.sessions that return ClientModelMethods in org.keycloak.sessions with parameters of type ClientModelModifier and TypeMethodDescriptionRootAuthenticationSessionModel.createAuthenticationSession(ClientModel client) Create a new authentication session and returns it.RootAuthenticationSessionModel.getAuthenticationSession(ClientModel client, String tabId) Returns an authentication session for the particular client and tab or null if it doesn't yet exists.voidAuthenticationSessionProvider.onClientRemoved(RealmModel realm, ClientModel client) Removes all associated root authentication sessions to the given realm and client which was removed. -
Uses of ClientModel in org.keycloak.storage
Methods in org.keycloak.storage with parameters of type ClientModelModifier and TypeMethodDescriptionstatic booleanStorageId.isLocalStorage(ClientModel client) Deprecated.UseStorageId.isLocalStorage(String)instead.static StringStorageId.resolveProviderId(ClientModel client) Deprecated.UseStorageId.providerId(String)instead. -
Uses of ClientModel in org.keycloak.storage.client
Methods in org.keycloak.storage.client that return ClientModelModifier and TypeMethodDescriptionClientLookupProvider.getClientByClientId(RealmModel realm, String clientId) Exact search for a client by its public client identifier.ClientLookupProvider.getClientById(RealmModel realm, String id) Exact search for a client by its internal ID.Methods in org.keycloak.storage.client that return types with arguments of type ClientModelModifier and TypeMethodDescriptionClientLookupProvider.searchClientsByAttributes(RealmModel realm, Map<String, String> attributes, Integer firstResult, Integer maxResults) default Stream<ClientModel>ClientLookupProvider.searchClientsByAuthenticationFlowBindingOverrides(RealmModel realm, Map<String, String> overrides, Integer firstResult, Integer maxResults) ClientLookupProvider.searchClientsByClientIdStream(RealmModel realm, String clientId, Integer firstResult, Integer maxResults) Case-insensitive search for clients that contain the given string in their public client identifier.Methods in org.keycloak.storage.client with parameters of type ClientModelModifier and TypeMethodDescriptionClientLookupProvider.getClientScopes(RealmModel realm, ClientModel client, boolean defaultScopes) Return all default scopes (ifdefaultScopeistrue) or all optional scopes (ifdefaultScopeisfalse) linked with the client -
Uses of ClientModel in org.keycloak.storage.role
Methods in org.keycloak.storage.role with parameters of type ClientModelModifier and TypeMethodDescriptionRoleLookupProvider.getClientRole(ClientModel client, String name) Exact search for a client role by given name.RoleLookupProvider.searchForClientRolesStream(ClientModel client, String search, Integer first, Integer max) Case-insensitive search for client roles that contain the given string in their name or description.