Uses of Interface
org.keycloak.models.ClientModel
-
-
Uses of ClientModel in org.keycloak.authentication
Fields in org.keycloak.authentication declared as ClientModel Modifier and Type Field Description protected ClientModel
AuthenticationProcessor. client
Methods in org.keycloak.authentication that return ClientModel Modifier and Type Method 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 Description Map<String,Object>
ClientAuthenticatorFactory. getAdapterConfiguration(ClientModel client)
Get configuration, which needs to be used for adapter ( keycloak.json ) of particular client.void
AuthenticationProcessor.Result. setClient(ClientModel client)
void
AuthenticationProcessor. 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 Description Map<String,Object>
ClientIdAndSecretAuthenticator. getAdapterConfiguration(ClientModel client)
Map<String,Object>
JWTClientAuthenticator. getAdapterConfiguration(ClientModel client)
Map<String,Object>
JWTClientSecretAuthenticator. getAdapterConfiguration(ClientModel client)
Map<String,Object>
X509ClientAuthenticator. getAdapterConfiguration(ClientModel client)
protected PublicKey
JWTClientAuthenticator. getSignatureValidationKey(ClientModel client, ClientAuthenticationFlowContext context, JWSInput jws)
-
Uses of ClientModel in org.keycloak.authorization.admin
Constructors in org.keycloak.authorization.admin with parameters of type ClientModel Constructor Description AuthorizationService(KeycloakSession session, ClientModel client, AdminPermissionEvaluator auth, AdminEventBuilder adminEvent)
ResourceServerService(AuthorizationProvider authorization, ResourceServer resourceServer, ClientModel client, AdminPermissionEvaluator auth, AdminEventBuilder adminEvent)
-
Uses of ClientModel in org.keycloak.authorization.common
Fields in org.keycloak.authorization.common declared as ClientModel Modifier and Type Field Description protected ClientModel
ClientModelIdentity. client
Constructors in org.keycloak.authorization.common with parameters of type ClientModel Constructor Description ClientModelIdentity(KeycloakSession session, ClientModel client)
-
Uses of ClientModel in org.keycloak.authorization.jpa.store
Methods in org.keycloak.authorization.jpa.store with parameters of type ClientModel Modifier and Type Method Description ResourceServer
JPAResourceServerStore. create(ClientModel client)
void
JPAResourceServerStore. delete(ClientModel client)
ResourceServer
JPAResourceServerStore. findByClient(ClientModel client)
-
Uses of ClientModel in org.keycloak.authorization.store
Methods in org.keycloak.authorization.store with parameters of type ClientModel Modifier and Type Method Description ResourceServer
ResourceServerStore. create(ClientModel client)
Creates aResourceServer
instance backed by this persistent storage implementation.void
ResourceServerStore. delete(ClientModel client)
Removes aResourceServer
instance, with the given client from the persistent storage.ResourceServer
ResourceServerStore. findByClient(ClientModel client)
Returns aResourceServer
instance based on a client. -
Uses of ClientModel in org.keycloak.broker.oidc
Methods in org.keycloak.broker.oidc with parameters of type ClientModel Modifier and Type Method Description javax.ws.rs.core.Response
AbstractOAuth2IdentityProvider. exchangeFromToken(javax.ws.rs.core.UriInfo uriInfo, EventBuilder event, ClientModel authorizedClient, UserSessionModel tokenUserSession, UserModel tokenSubject, javax.ws.rs.core.MultivaluedMap<String,String> params)
protected javax.ws.rs.core.Response
AbstractOAuth2IdentityProvider. exchangeSessionToken(javax.ws.rs.core.UriInfo uriInfo, EventBuilder event, ClientModel authorizedClient, UserSessionModel tokenUserSession, UserModel tokenSubject)
protected javax.ws.rs.core.Response
OIDCIdentityProvider. exchangeSessionToken(javax.ws.rs.core.UriInfo uriInfo, EventBuilder event, ClientModel authorizedClient, UserSessionModel tokenUserSession, UserModel tokenSubject)
protected javax.ws.rs.core.Response
AbstractOAuth2IdentityProvider. exchangeStoredToken(javax.ws.rs.core.UriInfo uriInfo, EventBuilder event, ClientModel authorizedClient, UserSessionModel tokenUserSession, UserModel tokenSubject)
protected javax.ws.rs.core.Response
OIDCIdentityProvider. exchangeStoredToken(javax.ws.rs.core.UriInfo uriInfo, EventBuilder event, ClientModel authorizedClient, UserSessionModel tokenUserSession, UserModel tokenSubject)
-
Uses of ClientModel in org.keycloak.broker.provider
Methods in org.keycloak.broker.provider with parameters of type ClientModel Modifier and Type Method Description protected javax.ws.rs.core.Response
AbstractIdentityProvider. exchangeErrorResponse(javax.ws.rs.core.UriInfo uriInfo, ClientModel authorizedClient, UserSessionModel tokenUserSession, String errorCode, String reason)
javax.ws.rs.core.Response
ExchangeTokenToIdentityProviderToken. exchangeFromToken(javax.ws.rs.core.UriInfo uriInfo, EventBuilder event, ClientModel authorizedClient, UserSessionModel tokenUserSession, UserModel tokenSubject, javax.ws.rs.core.MultivaluedMap<String,String> params)
javax.ws.rs.core.Response
AbstractIdentityProvider. exchangeNotLinked(javax.ws.rs.core.UriInfo uriInfo, ClientModel authorizedClient, UserSessionModel tokenUserSession, UserModel tokenSubject)
javax.ws.rs.core.Response
AbstractIdentityProvider. exchangeNotLinkedNoStore(javax.ws.rs.core.UriInfo uriInfo, ClientModel authorizedClient, UserSessionModel tokenUserSession, UserModel tokenSubject)
javax.ws.rs.core.Response
AbstractIdentityProvider. exchangeTokenExpired(javax.ws.rs.core.UriInfo uriInfo, ClientModel authorizedClient, UserSessionModel tokenUserSession, UserModel tokenSubject)
protected String
AbstractIdentityProvider. getLinkingUrl(javax.ws.rs.core.UriInfo uriInfo, ClientModel authorizedClient, UserSessionModel tokenUserSession)
-
Uses of ClientModel in org.keycloak.crypto
Methods in org.keycloak.crypto with parameters of type ClientModel Modifier and Type Method Description SignatureVerifierContext
AsymmetricClientSignatureVerifierProvider. verifier(ClientModel client, JWSInput input)
SignatureVerifierContext
ClientSignatureVerifierProvider. verifier(ClientModel client, JWSInput input)
SignatureVerifierContext
ECDSAClientSignatureVerifierProvider. verifier(ClientModel client, JWSInput input)
SignatureVerifierContext
MacSecretClientSignatureVerifierProvider. verifier(ClientModel client, JWSInput input)
Constructors in org.keycloak.crypto with parameters of type ClientModel Constructor Description ClientAsymmetricSignatureVerifierContext(KeycloakSession session, ClientModel client, JWSInput input)
ClientECDSASignatureVerifierContext(KeycloakSession session, ClientModel client, JWSInput input)
ClientMacSignatureVerifierContext(KeycloakSession session, ClientModel client, String algorithm)
-
Uses of ClientModel in org.keycloak.events
Methods in org.keycloak.events with parameters of type ClientModel Modifier and Type Method 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 Description static ClientRepresentation
ExportUtils. exportClient(KeycloakSession session, ClientModel client)
Full export of application including claims and secret -
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 Description ClientModel
ApplicationsBean.ApplicationEntry. getClient()
ClientModel
AuthorizationBean.ResourceBean. getClientOwner()
Methods in org.keycloak.forms.account.freemarker.model with parameters of type ClientModel Modifier and Type Method Description static boolean
ApplicationsBean. isAdminClient(ClientModel client)
Constructors in org.keycloak.forms.account.freemarker.model with parameters of type ClientModel Constructor Description ApplicationEntry(KeycloakSession session, List<RoleModel> realmRolesAvailable, MultivaluedHashMap<String,ApplicationsBean.ClientRoleEntry> resourceRolesAvailable, ClientModel client, List<String> clientScopesGranted, List<String> additionalGrants)
ResourceServerBean(ClientModel clientModel, ResourceServer resourceServer)
-
Uses of ClientModel in org.keycloak.forms.login.freemarker
Fields in org.keycloak.forms.login.freemarker declared as ClientModel Modifier and Type Field Description protected ClientModel
FreeMarkerLoginFormsProvider. client
-
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 Description protected ClientModel
ClientBean. client
Constructors in org.keycloak.forms.login.freemarker.model with parameters of type ClientModel Constructor Description ClientBean(KeycloakSession session, ClientModel client)
OAuthGrantBean(String code, ClientModel client, List<AuthorizationDetails> clientScopesRequested)
-
Uses of ClientModel in org.keycloak.jose.jws
Methods in org.keycloak.jose.jws with parameters of type ClientModel Modifier and Type Method Description <T> T
DefaultTokenManager. decodeClientJWT(String jwt, ClientModel client, BiConsumer<JOSE,ClientModel> jwtValidator, Class<T> clazz)
LogoutToken
DefaultTokenManager. initLogoutToken(ClientModel client, UserModel user, AuthenticatedClientSessionModel clientSession)
Method parameters in org.keycloak.jose.jws with type arguments of type ClientModel Modifier and Type Method Description <T> T
DefaultTokenManager. decodeClientJWT(String jwt, ClientModel client, BiConsumer<JOSE,ClientModel> jwtValidator, Class<T> clazz)
-
Uses of ClientModel in org.keycloak.keys.loader
Methods in org.keycloak.keys.loader with parameters of type ClientModel Modifier and Type Method Description static PublicKey
PublicKeyStorageManager. getClientPublicKey(KeycloakSession session, ClientModel client, JWSInput input)
static KeyWrapper
PublicKeyStorageManager. getClientPublicKeyWrapper(KeycloakSession session, ClientModel client, JWK.Use keyUse, String algAlgorithm)
static KeyWrapper
PublicKeyStorageManager. getClientPublicKeyWrapper(KeycloakSession session, ClientModel client, JWSInput input)
Constructors in org.keycloak.keys.loader with parameters of type ClientModel Constructor Description ClientPublicKeyLoader(KeycloakSession session, ClientModel client)
ClientPublicKeyLoader(KeycloakSession session, ClientModel client, JWK.Use keyUse)
-
Uses of ClientModel in org.keycloak.migration.migrators
Methods in org.keycloak.migration.migrators with parameters of type ClientModel Modifier and Type Method Description void
MigrateTo3_2_0. addRoles(ClientModel realmAccess)
static boolean
MigrationUtils. isOIDCNonBearerOnlyClient(ClientModel c)
static void
MigrationUtils. migrateOldOfflineToken(KeycloakSession session, RealmModel realm, ClientModel client, UserModel user)
static void
MigrationUtils. setDefaultClientAuthenticatorType(ClientModel s)
-
Uses of ClientModel in org.keycloak.models
Fields in org.keycloak.models declared as ClientModel Modifier and Type Field Description protected ClientModel
ClientConfigResolver. client
Fields in org.keycloak.models with type parameters of type ClientModel Modifier and Type Field Description static SearchableModelField<ClientModel>
ClientModel.SearchableFields. ALWAYS_DISPLAY_IN_CONSOLE
static SearchableModelField<ClientModel>
ClientModel.SearchableFields. ATTRIBUTE
Search for attribute value.static SearchableModelField<ClientModel>
ClientModel.SearchableFields. CLIENT_ID
static BiConsumer<JOSE,ClientModel>
TokenManager. DEFAULT_VALIDATOR
static SearchableModelField<ClientModel>
ClientModel.SearchableFields. ENABLED
static SearchableModelField<ClientModel>
ClientModel.SearchableFields. ID
static SearchableModelField<ClientModel>
ClientModel.SearchableFields. REALM_ID
static SearchableModelField<ClientModel>
ClientModel.SearchableFields. SCOPE_MAPPING_ROLE
Methods in org.keycloak.models that return ClientModel Modifier and Type Method Description default ClientModel
ClientProvider. addClient(RealmModel realm, String clientId)
Adds a client with givenclientId
to the given realm.ClientModel
ClientProvider. addClient(RealmModel realm, String id, String clientId)
Adds a client with given internal ID andclientId
to the given realm.ClientModel
RealmModel. addClient(String name)
ClientModel
RealmModel. addClient(String id, String clientId)
default ClientModel
RealmProvider. addClient(RealmModel realm, String clientId)
Deprecated.Use the corresponding method fromClientProvider
.ClientModel
RealmProvider. addClient(RealmModel realm, String id, String clientId)
Deprecated.Use the corresponding method fromClientProvider
.ClientModel
ClientModel.ClientProtocolUpdatedEvent. getClient()
ClientModel
ClientModel.ClientRemovedEvent. getClient()
ClientModel
KeycloakContext. getClient()
ClientModel
UserConsentModel. getClient()
ClientModel
RealmModel. getClientByClientId(String clientId)
ClientModel
RealmModel. getClientById(String id)
ClientModel
ClientModel.ClientCreationEvent. getCreatedClient()
ClientModel
RealmModel. getMasterAdminClient()
ClientModel
ClientModel.ClientIdChangeEvent. getUpdatedClient()
ClientModel
ClientModel.ClientUpdatedEvent. getUpdatedClient()
Methods in org.keycloak.models that return types with arguments of type ClientModel Modifier and Type Method Description Map<ClientModel,Set<String>>
ClientProvider. getAllRedirectUrisOfEnabledClients(RealmModel realm)
Deprecated.Do not use, this is only to support a deprecated logout endpoint and will vanish with it's removalStream<ClientModel>
ClientProvider. getAlwaysDisplayInConsoleClientsStream(RealmModel realm)
Returns a stream of clients that are expected to always show up in account console.Stream<ClientModel>
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.Stream<ClientModel>
ClientProvider. getClientsStream(RealmModel realm, Integer firstResult, Integer maxResults)
Returns the clients of the given realm as a stream.Stream<ClientModel>
RealmModel. getClientsStream()
Returns clients as a stream.Stream<ClientModel>
RealmModel. getClientsStream(Integer firstResult, Integer maxResults)
Returns clients as a stream.Stream<ClientModel>
RealmModel. searchClientByAttributes(Map<String,String> attributes, Integer firstResult, Integer maxResults)
Stream<ClientModel>
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 ClientModel Modifier and Type Method Description default RoleModel
RealmProvider. addClientRole(RealmModel realm, ClientModel client, String name)
Deprecated.Use the corresponding method fromRoleProvider
.default RoleModel
RealmProvider. addClientRole(RealmModel realm, ClientModel client, String id, String name)
Deprecated.Use the corresponding method fromRoleProvider
.default RoleModel
RoleProvider. addClientRole(ClientModel client, String name)
Adds a client role with givenname
to the given client.RoleModel
RoleProvider. addClientRole(ClientModel client, String id, String name)
Adds a client role with given internal ID andname
to the given client.void
ClientProvider. addClientScopes(RealmModel realm, ClientModel client, Set<ClientScopeModel> clientScopes, boolean defaultScope)
Assign clientScopes to the client.static OAuth2DeviceCodeModel
OAuth2DeviceCodeModel. create(RealmModel realm, ClientModel client, String deviceCode, String scope, String nonce, int expiresIn, int pollingInterval, String clientNotificationToken, String authReqId, Map<String,String> additionalParams, String codeChallenge, String codeChallengeMethod)
AuthenticatedClientSessionModel
UserSessionProvider. createClientSession(RealmModel realm, ClientModel client, UserSessionModel userSession)
default <T> T
TokenManager. decodeClientJWT(String token, ClientModel client, Class<T> clazz)
<T> T
TokenManager. decodeClientJWT(String token, ClientModel client, BiConsumer<JOSE,ClientModel> jwtValidator, Class<T> clazz)
long
UserSessionProvider. getActiveUserSessions(RealmModel realm, ClientModel client)
Algorithm
CibaConfig. getBackchannelAuthRequestSigningAlg(ClientModel client)
String
CibaConfig. getBackchannelClientNotificationEndpoint(ClientModel client)
String
CibaConfig. getBackchannelTokenDeliveryMode(ClientModel client)
default RoleModel
RealmProvider. getClientRole(RealmModel realm, ClientModel client, String name)
Deprecated.Use the corresponding method fromRoleProvider
.Stream<RoleModel>
RoleMapperModel. getClientRoleMappingsStream(ClientModel app)
Returns stream of client roles that are directly set to this object for the given client.default Set<RoleModel>
RealmProvider. getClientRoles(RealmModel realm, ClientModel client)
Deprecated.Use the corresponding method fromRoleProvider
.default Set<RoleModel>
RealmProvider. getClientRoles(RealmModel realm, ClientModel client, Integer first, Integer max)
Deprecated.Use the corresponding method fromRoleProvider
.default Stream<RoleModel>
RoleProvider. getClientRolesStream(ClientModel client)
Returns all the client roles of the given client.Stream<RoleModel>
RoleProvider. getClientRolesStream(ClientModel client, Integer first, Integer max)
Returns the client roles of the given client.AuthenticatedClientSessionModel
UserSessionProvider. getClientSession(UserSessionModel userSession, ClientModel client, String clientSessionId, boolean offline)
default AuthenticatedClientSessionModel
UserSessionProvider. getClientSession(UserSessionModel userSession, ClientModel client, UUID clientSessionId, boolean offline)
Deprecated.int
OAuth2DeviceConfig. getLifespan(ClientModel client)
long
UserSessionProvider. getOfflineSessionsCount(RealmModel realm, ClientModel client)
Stream<UserSessionModel>
UserSessionProvider. getOfflineUserSessionsStream(RealmModel realm, ClientModel client, Integer firstResult, Integer maxResults)
Obtains the offline user sessions associated with the specified client, starting from thefirstResult
and containing at mostmaxResults
.int
OAuth2DeviceConfig. getPoolingInterval(ClientModel client)
UserModel
UserProvider. getServiceAccount(ClientModel client)
Return a UserModel representing service account of the clientStream<UserSessionModel>
UserSessionProvider. getUserSessionsStream(RealmModel realm, ClientModel client)
Obtains the online user sessions associated with the specified client.Stream<UserSessionModel>
UserSessionProvider. getUserSessionsStream(RealmModel realm, ClientModel client, Integer firstResult, Integer maxResults)
Obtains the online user sessions associated with the specified client, starting from thefirstResult
and containing at mostmaxResults
.LogoutToken
TokenManager. initLogoutToken(ClientModel client, UserModel user, AuthenticatedClientSessionModel clientSessionModel)
boolean
OAuth2DeviceConfig. isOAuth2DeviceAuthorizationGrantEnabled(ClientModel client)
boolean
CibaConfig. isOIDCCIBAGrantEnabled(ClientModel client)
boolean
ParConfig. isRequirePushedAuthorizationRequests(ClientModel client)
void
UserSessionProvider. onClientRemoved(RealmModel realm, ClientModel client)
void
UserProvider. preRemove(RealmModel realm, ClientModel client)
Called when a client is removed.void
ClientProvider. removeClientScope(RealmModel realm, ClientModel client, ClientScopeModel clientScope)
Unassign clientScope from the client.void
RoleProvider. removeRoles(ClientModel client)
Removes all roles from the given client.default Set<RoleModel>
RealmProvider. searchForClientRoles(RealmModel realm, ClientModel client, String search, Integer first, Integer max)
Deprecated.Use the corresponding method fromRoleProvider
.void
KeycloakContext. setClient(ClientModel client)
void
RealmModel. setMasterAdminClient(ClientModel client)
Method parameters in org.keycloak.models with type arguments of type ClientModel Modifier and Type Method Description <T> T
TokenManager. decodeClientJWT(String token, ClientModel client, BiConsumer<JOSE,ClientModel> jwtValidator, Class<T> clazz)
Constructors in org.keycloak.models with parameters of type ClientModel Constructor Description ClientConfigResolver(ClientModel client)
UserConsentModel(ClientModel client)
-
Uses of ClientModel in org.keycloak.models.cache.infinispan
Classes in org.keycloak.models.cache.infinispan that implement ClientModel Modifier and Type Class Description class
ClientAdapter
Fields in org.keycloak.models.cache.infinispan declared as ClientModel Modifier and Type Field Description protected ClientModel
ClientAdapter. updated
Fields in org.keycloak.models.cache.infinispan with type parameters of type ClientModel Modifier and Type Field Description protected Map<String,ClientModel>
RealmCacheSession. managedApplications
Methods in org.keycloak.models.cache.infinispan that return ClientModel Modifier and Type Method Description ClientModel
RealmAdapter. addClient(String name)
ClientModel
RealmAdapter. addClient(String id, String clientId)
ClientModel
RealmCacheSession. addClient(RealmModel realm, String clientId)
ClientModel
RealmCacheSession. addClient(RealmModel realm, String id, String clientId)
protected ClientModel
RealmCacheSession. cacheClient(RealmModel realm, ClientModel delegate, Long revision)
ClientModel
RealmAdapter. getClientByClientId(String clientId)
ClientModel
RealmCacheSession. getClientByClientId(RealmModel realm, String clientId)
ClientModel
RealmAdapter. getClientById(String id)
ClientModel
RealmCacheSession. getClientById(RealmModel realm, String id)
ClientModel
RealmAdapter. getMasterAdminClient()
protected ClientModel
RealmCacheSession. validateCache(RealmModel realm, CachedClient cached)
-
Uses of ClientModel in org.keycloak.models.cache.infinispan.authorization
Methods in org.keycloak.models.cache.infinispan.authorization with parameters of type ClientModel Modifier and Type Method Description ResourceServer
StoreFactoryCacheSession.ResourceServerCache. create(ClientModel client)
void
StoreFactoryCacheSession.ResourceServerCache. delete(ClientModel client)
ResourceServer
StoreFactoryCacheSession.ResourceServerCache. findByClient(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 Description CachedClient(Long revision, RealmModel realm, ClientModel model)
-
Uses of ClientModel in org.keycloak.models.cache.infinispan.events
Methods in org.keycloak.models.cache.infinispan.events with parameters of type ClientModel Modifier and Type Method Description static ClientRemovedEvent
ClientRemovedEvent. create(ClientModel client)
-
Uses of ClientModel in org.keycloak.models.delegate
Classes in org.keycloak.models.delegate that implement ClientModel Modifier and Type Class Description class
ClientModelLazyDelegate
static class
ClientModelLazyDelegate.WithId
Constructor parameters in org.keycloak.models.delegate with type arguments of type ClientModel Constructor Description ClientModelLazyDelegate(Supplier<ClientModel> delegateSupplier)
WithId(String id, Supplier<ClientModel> delegateSupplier)
-
Uses of ClientModel in org.keycloak.models.jpa
Classes in org.keycloak.models.jpa that implement ClientModel Modifier and Type Class Description class
ClientAdapter
Methods in org.keycloak.models.jpa that return ClientModel Modifier and Type Method 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
JpaRealmProvider. getClientByClientId(RealmModel realm, String clientId)
ClientModel
RealmAdapter. getClientByClientId(String clientId)
ClientModel
JpaRealmProvider. getClientById(RealmModel realm, String id)
ClientModel
RealmAdapter. getClientById(String id)
ClientModel
RealmAdapter. getMasterAdminClient()
-
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 Description int
JpaUserSessionPersisterProvider. getUserSessionsCount(RealmModel realm, ClientModel clientModel, boolean offline)
AuthenticatedClientSessionModel
JpaUserSessionPersisterProvider. loadClientSession(RealmModel realm, ClientModel client, UserSessionModel userSession, boolean offline)
Stream<UserSessionModel>
JpaUserSessionPersisterProvider. loadUserSessionsStream(RealmModel realm, ClientModel client, boolean offline, Integer firstResult, Integer maxResults)
void
JpaUserSessionPersisterProvider. onClientRemoved(RealmModel realm, ClientModel client)
-
Uses of ClientModel in org.keycloak.models.map.authorization
Methods in org.keycloak.models.map.authorization with parameters of type ClientModel Modifier and Type Method Description ResourceServer
MapResourceServerStore. create(ClientModel client)
void
MapResourceServerStore. delete(ClientModel client)
ResourceServer
MapResourceServerStore. findByClient(ClientModel client)
-
Uses of ClientModel in org.keycloak.models.map.authSession
Methods in org.keycloak.models.map.authSession that return ClientModel Modifier and Type Method Description ClientModel
MapAuthenticationSessionAdapter. getClient()
Methods in org.keycloak.models.map.authSession with parameters of type ClientModel Modifier and Type Method Description AuthenticationSessionModel
MapRootAuthenticationSessionAdapter. createAuthenticationSession(ClientModel client)
AuthenticationSessionModel
MapRootAuthenticationSessionAdapter. getAuthenticationSession(ClientModel client, String tabId)
void
MapRootAuthenticationSessionProvider. onClientRemoved(RealmModel realm, ClientModel client)
-
Uses of ClientModel in org.keycloak.models.map.client
Classes in org.keycloak.models.map.client that implement ClientModel Modifier and Type Class Description class
AbstractClientModel<E extends AbstractEntity>
class
MapClientAdapter
Methods in org.keycloak.models.map.client that return ClientModel Modifier and Type Method Description ClientModel
MapClientProvider. addClient(RealmModel realm, String id, String clientId)
ClientModel
MapClientProvider. getClientByClientId(RealmModel realm, String clientId)
ClientModel
MapClientProvider. getClientById(RealmModel realm, String id)
Methods in org.keycloak.models.map.client that return types with arguments of type ClientModel Modifier and Type Method Description Map<ClientModel,Set<String>>
MapClientProvider. getAllRedirectUrisOfEnabledClients(RealmModel realm)
Stream<ClientModel>
MapClientProvider. getAlwaysDisplayInConsoleClientsStream(RealmModel realm)
Stream<ClientModel>
MapClientProvider. getClientsStream(RealmModel realm)
Stream<ClientModel>
MapClientProvider. getClientsStream(RealmModel realm, Integer firstResult, Integer maxResults)
Stream<ClientModel>
MapClientProvider. searchClientsByAttributes(RealmModel realm, Map<String,String> attributes, Integer firstResult, Integer maxResults)
Stream<ClientModel>
MapClientProvider. searchClientsByClientIdStream(RealmModel realm, String clientId, Integer firstResult, Integer maxResults)
Methods in org.keycloak.models.map.client with parameters of type ClientModel Modifier and Type Method Description void
MapClientProvider. addClientScopes(RealmModel realm, ClientModel client, Set<ClientScopeModel> clientScopes, boolean defaultScope)
Map<String,ClientScopeModel>
MapClientProvider. getClientScopes(RealmModel realm, ClientModel client, boolean defaultScopes)
void
MapClientProvider. removeClientScope(RealmModel realm, ClientModel client, ClientScopeModel clientScope)
Constructor parameters in org.keycloak.models.map.client with type arguments of type ClientModel Constructor Description MapClientProvider(KeycloakSession session, MapStorage<MapClientEntity,ClientModel> clientStore, ConcurrentMap<String,ConcurrentMap<String,Long>> clientRegisteredNodesStore)
-
Uses of ClientModel in org.keycloak.models.map.datastore
Methods in org.keycloak.models.map.datastore with parameters of type ClientModel Modifier and Type Method Description void
MapExportImportManager. addQueryCompositeRoles(ClientModel realmAccess)
static void
MapExportImportManager. createClientScopeMappings(RealmModel realm, ClientModel clientModel, List<ScopeMappingRepresentation> mappings)
-
Uses of ClientModel in org.keycloak.models.map.group
Methods in org.keycloak.models.map.group with parameters of type ClientModel Modifier and Type Method Description Stream<RoleModel>
MapGroupAdapter. getClientRoleMappingsStream(ClientModel app)
-
Uses of ClientModel in org.keycloak.models.map.realm
Methods in org.keycloak.models.map.realm that return ClientModel Modifier and Type Method Description ClientModel
MapRealmAdapter. addClient(String name)
ClientModel
MapRealmAdapter. addClient(String id, String clientId)
ClientModel
MapRealmProvider. addClient(RealmModel realm, String id, String clientId)
Deprecated.ClientModel
MapRealmAdapter. getClientByClientId(String clientId)
ClientModel
MapRealmProvider. getClientByClientId(RealmModel realm, String clientId)
Deprecated.ClientModel
MapRealmAdapter. getClientById(String id)
ClientModel
MapRealmProvider. getClientById(RealmModel realm, String id)
Deprecated.ClientModel
MapRealmAdapter. getMasterAdminClient()
Methods in org.keycloak.models.map.realm with parameters of type ClientModel Modifier and Type Method Description RoleModel
MapRealmProvider. addClientRole(ClientModel client, String id, String name)
Deprecated.void
MapRealmProvider. addClientScopes(RealmModel realm, ClientModel client, Set<ClientScopeModel> clientScopes, boolean defaultScope)
Deprecated.RoleModel
MapRealmProvider. getClientRole(ClientModel client, String name)
Deprecated.Stream<RoleModel>
MapRealmProvider. getClientRolesStream(ClientModel client, Integer first, Integer max)
Deprecated.Map<String,ClientScopeModel>
MapRealmProvider. getClientScopes(RealmModel realm, ClientModel client, boolean defaultScopes)
Deprecated.void
MapRealmProvider. removeClientScope(RealmModel realm, ClientModel client, ClientScopeModel clientScope)
Deprecated.void
MapRealmProvider. removeRoles(ClientModel client)
Deprecated.Stream<RoleModel>
MapRealmProvider. searchForClientRolesStream(ClientModel client, String search, Integer first, Integer max)
Deprecated.void
MapRealmAdapter. setMasterAdminClient(ClientModel client)
-
Uses of ClientModel in org.keycloak.models.map.role
Methods in org.keycloak.models.map.role with parameters of type ClientModel Modifier and Type Method Description RoleModel
MapRoleProvider. addClientRole(ClientModel client, String id, String name)
RoleModel
MapRoleProvider. getClientRole(ClientModel client, String name)
Stream<RoleModel>
MapRoleProvider. getClientRolesStream(ClientModel client)
Stream<RoleModel>
MapRoleProvider. getClientRolesStream(ClientModel client, Integer first, Integer max)
void
MapRoleProvider. removeRoles(ClientModel client)
Stream<RoleModel>
MapRoleProvider. searchForClientRolesStream(ClientModel client, String search, Integer first, Integer max)
-
Uses of ClientModel in org.keycloak.models.map.storage.chm
Fields in org.keycloak.models.map.storage.chm with type parameters of type ClientModel Modifier and Type Field Description static Map<SearchableModelField<ClientModel>,MapModelCriteriaBuilder.UpdatePredicatesFunc<Object,MapClientEntity,ClientModel>>
MapFieldPredicates. CLIENT_PREDICATES
static Map<SearchableModelField<ClientModel>,MapModelCriteriaBuilder.UpdatePredicatesFunc<Object,MapClientEntity,ClientModel>>
MapFieldPredicates. CLIENT_PREDICATES
-
Uses of ClientModel in org.keycloak.models.map.storage.jpa.client
Method parameters in org.keycloak.models.map.storage.jpa.client with type arguments of type ClientModel Modifier and Type Method Description JpaClientModelCriteriaBuilder
JpaClientModelCriteriaBuilder. compare(SearchableModelField<? super ClientModel> modelField, ModelCriteriaBuilder.Operator op, Object... value)
-
Uses of ClientModel in org.keycloak.models.map.user
Methods in org.keycloak.models.map.user with parameters of type ClientModel Modifier and Type Method Description Stream<RoleModel>
MapUserAdapter. getClientRoleMappingsStream(ClientModel app)
UserModel
MapUserProvider. getServiceAccount(ClientModel client)
void
MapUserProvider. preRemove(RealmModel realm, ClientModel client)
-
Uses of ClientModel in org.keycloak.models.map.userSession
Fields in org.keycloak.models.map.userSession declared as ClientModel Modifier and Type Field Description protected ClientModel
AbstractAuthenticatedClientSessionModel. client
Methods in org.keycloak.models.map.userSession that return ClientModel Modifier and Type Method Description ClientModel
MapAuthenticatedClientSessionAdapter. getClient()
-
Uses of ClientModel in org.keycloak.models.session
Methods in org.keycloak.models.session that return ClientModel Modifier and Type Method Description ClientModel
PersistentAuthenticatedClientSessionAdapter. getClient()
Methods in org.keycloak.models.session with parameters of type ClientModel Modifier and Type Method Description int
DisabledUserSessionPersisterProvider. getUserSessionsCount(RealmModel realm, ClientModel clientModel, boolean offline)
int
UserSessionPersisterProvider. getUserSessionsCount(RealmModel realm, ClientModel clientModel, boolean offline)
Retrieves the count of user client-sessions for the given clientAuthenticatedClientSessionModel
DisabledUserSessionPersisterProvider. loadClientSession(RealmModel realm, ClientModel client, UserSessionModel userSession, boolean offline)
AuthenticatedClientSessionModel
UserSessionPersisterProvider. loadClientSession(RealmModel realm, ClientModel client, UserSessionModel userSession, boolean offline)
Loads client session from the db by provided user session and client.Stream<UserSessionModel>
DisabledUserSessionPersisterProvider. loadUserSessionsStream(RealmModel realm, ClientModel client, boolean offline, Integer firstResult, Integer maxResults)
Stream<UserSessionModel>
UserSessionPersisterProvider. loadUserSessionsStream(RealmModel realm, ClientModel client, boolean offline, Integer firstResult, Integer maxResults)
Loads the user sessions for the givenClientModel
in the givenRealmModel
if present.void
DisabledUserSessionPersisterProvider. onClientRemoved(RealmModel realm, ClientModel client)
void
UserSessionPersisterProvider. onClientRemoved(RealmModel realm, ClientModel client)
Constructors in org.keycloak.models.session with parameters of type ClientModel Constructor Description PersistentAuthenticatedClientSessionAdapter(KeycloakSession session, 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 Description ClientModel
AuthenticatedClientSessionAdapter. getClient()
ClientModel
AuthenticationSessionAdapter. getClient()
Methods in org.keycloak.models.sessions.infinispan with parameters of type ClientModel Modifier and Type Method Description AuthenticationSessionModel
RootAuthenticationSessionAdapter. createAuthenticationSession(ClientModel client)
AuthenticatedClientSessionModel
InfinispanUserSessionProvider. createClientSession(RealmModel realm, ClientModel client, UserSessionModel userSession)
long
InfinispanUserSessionProvider. getActiveUserSessions(RealmModel realm, ClientModel client)
AuthenticationSessionModel
RootAuthenticationSessionAdapter. getAuthenticationSession(ClientModel client, String tabId)
AuthenticatedClientSessionAdapter
InfinispanUserSessionProvider. getClientSession(UserSessionModel userSession, ClientModel client, String clientSessionId, boolean offline)
long
InfinispanUserSessionProvider. getOfflineSessionsCount(RealmModel realm, ClientModel client)
Stream<UserSessionModel>
InfinispanUserSessionProvider. getOfflineUserSessionsStream(RealmModel realm, ClientModel client, Integer first, Integer max)
protected long
InfinispanUserSessionProvider. getUserSessionsCount(RealmModel realm, ClientModel client, boolean offline)
Stream<UserSessionModel>
InfinispanUserSessionProvider. getUserSessionsStream(RealmModel realm, ClientModel client)
Stream<UserSessionModel>
InfinispanUserSessionProvider. getUserSessionsStream(RealmModel realm, ClientModel client, Integer firstResult, Integer maxResults)
protected Stream<UserSessionModel>
InfinispanUserSessionProvider. getUserSessionsStream(RealmModel realm, ClientModel client, Integer firstResult, Integer maxResults, boolean offline)
void
InfinispanAuthenticationSessionProvider. onClientRemoved(RealmModel realm, ClientModel client)
void
InfinispanUserSessionProvider. onClientRemoved(RealmModel realm, ClientModel client)
Constructors in org.keycloak.models.sessions.infinispan with parameters of type ClientModel Constructor Description AuthenticatedClientSessionAdapter(KeycloakSession kcSession, InfinispanUserSessionProvider provider, AuthenticatedClientSessionEntity entity, ClientModel client, UserSessionModel userSession, InfinispanChangelogBasedTransaction<UUID,AuthenticatedClientSessionEntity> clientSessionUpdateTx, boolean offline)
-
Uses of ClientModel in org.keycloak.models.utils
Methods in org.keycloak.models.utils that return ClientModel Modifier and Type Method Description static ClientModel
RepresentationToModel. createClient(KeycloakSession session, RealmModel realm, ClientRepresentation resourceRep)
Does not create scope or role mappings!static ClientModel
RepresentationToModel. createClient(KeycloakSession session, RealmModel realm, ClientRepresentation resourceRep, Map<String,String> mappedFlows)
static ClientModel
KeycloakModelUtils. createManagementClient(RealmModel realm, String name)
static ClientModel
KeycloakModelUtils. createPublicClient(RealmModel realm, String name)
static ClientModel
SystemClientUtil. getSystemClient(RealmModel realm)
-
Uses of ClientModel in org.keycloak.protocol
Methods in org.keycloak.protocol with parameters of type ClientModel Modifier and Type Method Description protected void
AbstractLoginProtocolFactory. addDefaultClientScopes(RealmModel realm, ClientModel newClient)
protected abstract void
AbstractLoginProtocolFactory. addDefaults(ClientModel realm)
protected AuthenticationSessionModel
AuthorizationEndpointBase. createAuthenticationSession(ClientModel client, String requestState)
javax.ws.rs.core.Response
ClientInstallationProvider. generateInstallation(KeycloakSession session, RealmModel realm, ClientModel client, URI serverBaseUri)
default boolean
LoginProtocol. sendPushRevocationPolicyRequest(RealmModel realm, ClientModel resource, int notBefore, String managementUrl)
Send not-before revocation policy to the given client.void
LoginProtocolFactory. setupClientDefaults(ClientRepresentation rep, ClientModel newClient)
Setup default values for new clients.Method parameters in org.keycloak.protocol with type arguments of type ClientModel Modifier and Type Method Description protected void
AbstractLoginProtocolFactory. addDefaultClientScopes(RealmModel realm, Stream<ClientModel> newClients)
-
Uses of ClientModel in org.keycloak.protocol.docker
Methods in org.keycloak.protocol.docker with parameters of type ClientModel Modifier and Type Method Description protected void
DockerAuthV2ProtocolFactory. addDefaults(ClientModel client)
void
DockerAuthV2ProtocolFactory. setupClientDefaults(ClientRepresentation rep, ClientModel newClient)
-
Uses of ClientModel in org.keycloak.protocol.docker.installation
Methods in org.keycloak.protocol.docker.installation with parameters of type ClientModel Modifier and Type Method Description javax.ws.rs.core.Response
DockerComposeYamlInstallationProvider. generateInstallation(KeycloakSession session, RealmModel realm, ClientModel client, URI serverBaseUri)
javax.ws.rs.core.Response
DockerRegistryConfigFileInstallationProvider. generateInstallation(KeycloakSession session, RealmModel realm, ClientModel client, URI serverBaseUri)
javax.ws.rs.core.Response
DockerVariableOverrideInstallationProvider. generateInstallation(KeycloakSession session, RealmModel realm, ClientModel client, URI serverBaseUri)
-
Uses of ClientModel in org.keycloak.protocol.oidc
Classes in org.keycloak.protocol.oidc that implement ClientModel Modifier and Type Class Description class
OIDCClientSecretConfigWrapper.ReadOnlyRotatedSecretClientModel
Representation of a client model that passes information from a rotated secret.Fields in org.keycloak.protocol.oidc declared as ClientModel Modifier and Type Field Description protected ClientModel
AbstractClientConfigWrapper. clientModel
Methods in org.keycloak.protocol.oidc that return ClientModel Modifier and Type Method Description ClientModel
TokenExchangeContext. getClient()
Methods in org.keycloak.protocol.oidc with parameters of type ClientModel Modifier and Type Method Description void
FrontChannelLogoutHandler. addClient(ClientModel client)
protected void
OIDCLoginProtocolFactory. addDefaults(ClientModel client)
AccessToken
TokenManager. createClientAccessToken(KeycloakSession session, RealmModel realm, ClientModel client, UserModel user, UserSessionModel userSession, ClientSessionContext clientSessionCtx)
protected javax.ws.rs.core.Response
DefaultTokenExchangeProvider. exchangeClientToOIDCClient(UserModel targetUser, UserSessionModel targetUserSession, String requestedTokenType, ClientModel targetClient, String audience, String scope)
protected javax.ws.rs.core.Response
DefaultTokenExchangeProvider. exchangeClientToSAML2Client(UserModel targetUser, UserSessionModel targetUserSession, String requestedTokenType, ClientModel targetClient)
static TokenManager.NotBeforeCheck
TokenManager.NotBeforeCheck. forModel(ClientModel clientModel)
static OIDCAdvancedConfigWrapper
OIDCAdvancedConfigWrapper. fromClientModel(ClientModel client)
static OIDCClientSecretConfigWrapper
OIDCClientSecretConfigWrapper. fromClientModel(ClientModel client)
static Set<RoleModel>
TokenManager. getAccess(UserModel user, ClientModel client, Stream<ClientScopeModel> clientScopes)
static Stream<ClientScopeModel>
TokenManager. getRequestedClientScopes(String scopeParam, ClientModel client)
Return client itself + all default client scopes of client + optional client scopes requested by scope parameterprotected AccessToken
TokenManager. initToken(RealmModel realm, ClientModel client, UserModel user, UserSessionModel session, ClientSessionContext clientSessionCtx, javax.ws.rs.core.UriInfo uriInfo)
static boolean
TokenManager. isValidScope(String scopes, ClientModel client)
static boolean
TokenManager. isValidScope(String scopes, AuthorizationRequestContext authorizationRequestContext, ClientModel client)
Check that all the ClientScopes that have been parsed into authorization_resources are actually in the requested scopes otherwise, the scope wasn't parsed correctlyTokenManager.AccessTokenResponseBuilder
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, HttpRequest request)
TokenManager.AccessTokenResponseBuilder
TokenManager. responseBuilder(RealmModel realm, ClientModel client, EventBuilder event, KeycloakSession session, UserSessionModel userSession, ClientSessionContext clientSessionCtx)
boolean
OIDCLoginProtocol. sendPushRevocationPolicyRequest(RealmModel realm, ClientModel resource, int notBefore, String managementUrl)
void
OIDCLoginProtocolFactory. setupClientDefaults(ClientRepresentation rep, ClientModel newClient)
static boolean
TokenManager. verifyConsentStillAvailable(KeycloakSession session, UserModel user, ClientModel client, Stream<ClientScopeModel> requestedClientScopes)
RefreshToken
TokenManager. verifyRefreshToken(KeycloakSession session, RealmModel realm, ClientModel client, HttpRequest request, String encodedRefreshToken, boolean checkExpiration)
Constructors in org.keycloak.protocol.oidc with parameters of type ClientModel Constructor Description AbstractClientConfigWrapper(ClientModel clientModel, ClientRepresentation clientRep)
AccessTokenResponseBuilder(RealmModel realm, ClientModel client, EventBuilder event, KeycloakSession session, UserSessionModel userSession, ClientSessionContext clientSessionCtx)
ClientInfo(ClientModel client)
TokenExchangeContext(KeycloakSession session, javax.ws.rs.core.MultivaluedMap<String,String> formParams, Object cors, RealmModel realm, EventBuilder event, ClientModel client, ClientConnection clientConnection, javax.ws.rs.core.HttpHeaders headers, Object tokenManager, Map<String,String> clientAuthAttributes)
-
Uses of ClientModel in org.keycloak.protocol.oidc.endpoints
Methods in org.keycloak.protocol.oidc.endpoints with parameters of type ClientModel Modifier and Type Method Description AuthorizationEndpointChecker
AuthorizationEndpointChecker. client(ClientModel client)
-
Uses of ClientModel in org.keycloak.protocol.oidc.endpoints.request
Methods in org.keycloak.protocol.oidc.endpoints.request with parameters of type ClientModel Modifier and Type Method Description static AuthorizationEndpointRequest
AuthorizationEndpointRequestParserProcessor. parseRequest(EventBuilder event, KeycloakSession session, ClientModel client, javax.ws.rs.core.MultivaluedMap<String,String> requestParams, AuthorizationEndpointRequestParserProcessor.EndpointType endpointType)
Constructors in org.keycloak.protocol.oidc.endpoints.request with parameters of type ClientModel Constructor Description AuthzEndpointRequestObjectParser(KeycloakSession session, String requestObject, ClientModel client)
-
Uses of ClientModel in org.keycloak.protocol.oidc.grants.ciba
Constructors in org.keycloak.protocol.oidc.grants.ciba with parameters of type ClientModel Constructor Description CibaGrantType(javax.ws.rs.core.MultivaluedMap<String,String> formParams, ClientModel client, KeycloakSession session, TokenEndpoint tokenEndpoint, RealmModel realm, EventBuilder event, Cors cors)
Constructor parameters in org.keycloak.protocol.oidc.grants.ciba with type arguments of type ClientModel Constructor Description CibaClientValidation(ValidationContext<ClientModel> context)
-
Uses of ClientModel in org.keycloak.protocol.oidc.grants.ciba.channel
Fields in org.keycloak.protocol.oidc.grants.ciba.channel declared as ClientModel Modifier and Type Field Description protected ClientModel
CIBAAuthenticationRequest. client
Methods in org.keycloak.protocol.oidc.grants.ciba.channel that return ClientModel Modifier and Type Method Description ClientModel
CIBAAuthenticationRequest. getClient()
Methods in org.keycloak.protocol.oidc.grants.ciba.channel with parameters of type ClientModel Modifier and Type Method Description void
CIBAAuthenticationRequest. setClient(ClientModel client)
Constructors in org.keycloak.protocol.oidc.grants.ciba.channel with parameters of type ClientModel Constructor Description CIBAAuthenticationRequest(KeycloakSession session, UserModel user, ClientModel client)
-
Uses of ClientModel in org.keycloak.protocol.oidc.grants.ciba.endpoints
Methods in org.keycloak.protocol.oidc.grants.ciba.endpoints that return ClientModel Modifier and Type Method Description protected ClientModel
AbstractCibaEndpoint. authenticateClient()
Methods in org.keycloak.protocol.oidc.grants.ciba.endpoints with parameters of type ClientModel Modifier and Type Method Description protected void
BackchannelAuthenticationCallbackEndpoint. sendClientNotificationRequest(ClientModel client, CibaConfig cibaConfig, OAuth2DeviceCodeModel deviceModel)
-
Uses of ClientModel in org.keycloak.protocol.oidc.grants.ciba.endpoints.request
Methods in org.keycloak.protocol.oidc.grants.ciba.endpoints.request with parameters of type ClientModel Modifier and Type Method Description static BackchannelAuthenticationEndpointRequest
BackchannelAuthenticationEndpointRequestParserProcessor. parseRequest(EventBuilder event, KeycloakSession session, ClientModel client, javax.ws.rs.core.MultivaluedMap<String,String> requestParams, CibaConfig config)
-
Uses of ClientModel in org.keycloak.protocol.oidc.grants.device
Methods in org.keycloak.protocol.oidc.grants.device with parameters of type ClientModel Modifier and Type Method Description static OAuth2DeviceCodeModel
DeviceGrantType. getDeviceByDeviceCode(KeycloakSession session, RealmModel realm, ClientModel client, EventBuilder event, String deviceCode)
Constructors in org.keycloak.protocol.oidc.grants.device with parameters of type ClientModel Constructor Description DeviceGrantType(javax.ws.rs.core.MultivaluedMap<String,String> formParams, ClientModel client, KeycloakSession session, TokenEndpoint tokenEndpoint, RealmModel realm, EventBuilder event, Cors cors)
-
Uses of ClientModel in org.keycloak.protocol.oidc.grants.device.endpoints
Methods in org.keycloak.protocol.oidc.grants.device.endpoints with parameters of type ClientModel Modifier and Type Method Description protected AuthenticationSessionModel
DeviceEndpoint. createAuthenticationSession(ClientModel client, String scope)
-
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 Description javax.ws.rs.core.Response
KeycloakOIDCClientInstallation. generateInstallation(KeycloakSession session, RealmModel realm, ClientModel client, URI baseUri)
javax.ws.rs.core.Response
KeycloakOIDCJbossSubsystemClientCliInstallation. generateInstallation(KeycloakSession session, RealmModel realm, ClientModel client, URI baseUri)
javax.ws.rs.core.Response
KeycloakOIDCJbossSubsystemClientInstallation. 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.par.endpoints
Fields in org.keycloak.protocol.oidc.par.endpoints declared as ClientModel Modifier and Type Field Description protected ClientModel
AbstractParEndpoint. client
-
Uses of ClientModel in org.keycloak.protocol.oidc.par.endpoints.request
Methods in org.keycloak.protocol.oidc.par.endpoints.request with parameters of type ClientModel Modifier and Type Method Description static AuthorizationEndpointRequest
ParEndpointRequestParserProcessor. parseRequest(EventBuilder event, KeycloakSession session, ClientModel client, javax.ws.rs.core.MultivaluedMap<String,String> requestParams)
Constructors in org.keycloak.protocol.oidc.par.endpoints.request with parameters of type ClientModel Constructor Description AuthzEndpointParParser(KeycloakSession session, ClientModel client, String requestUri)
ParEndpointRequestObjectParser(KeycloakSession session, String requestObject, ClientModel client)
-
Uses of ClientModel in org.keycloak.protocol.oidc.rar.parsers
Constructors in org.keycloak.protocol.oidc.rar.parsers with parameters of type ClientModel Constructor Description ClientScopeAuthorizationRequestParser(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 Description ClientModel
AuthorizeClientUtil.ClientAuthResult. getClient()
Methods in org.keycloak.protocol.oidc.utils with parameters of type ClientModel Modifier and Type Method Description static Map<String,Integer>
AcrUtils. getAcrLoaMap(ClientModel client)
static List<String>
AcrUtils. getAcrValues(String claimsParam, String acrValuesParam, ClientModel client)
static List<String>
AcrUtils. getDefaultAcrValues(ClientModel client)
static Set<String>
WebOriginsUtils. resolveValidWebOrigins(KeycloakSession session, ClientModel client)
static void
PairwiseSubMapperValidator. validate(KeycloakSession session, ClientModel client, ProtocolMapperModel mapperModel)
static String
RedirectUtils. verifyRedirectUri(KeycloakSession session, String redirectUri, ClientModel client)
static String
RedirectUtils. verifyRedirectUri(KeycloakSession session, String redirectUri, ClientModel client, boolean requireRedirectUri)
-
Uses of ClientModel in org.keycloak.protocol.saml
Methods in org.keycloak.protocol.saml that return ClientModel Modifier and Type Method Description ClientModel
ArtifactResolver. selectSourceClient(KeycloakSession session, String artifact)
Returns client model that issued artifactClientModel
DefaultSamlArtifactResolver. selectSourceClient(KeycloakSession session, String artifact)
Methods in org.keycloak.protocol.saml with parameters of type ClientModel Modifier and Type Method Description protected void
SamlProtocolFactory. addDefaults(ClientModel client)
protected LogoutRequestType
SamlProtocol. createLogoutRequest(String logoutUrl, AuthenticatedClientSessionModel clientSession, ClientModel client, SamlProtocolExtensionsAwareBuilder.NodeGenerator... extensions)
static PublicKey
SamlProtocolUtils. getEncryptionKey(ClientModel client)
Returns public part of SAML encryption key from the client settings.static String
SamlProtocol. getLogoutServiceUrl(KeycloakSession session, ClientModel client, String bindingType, boolean backChannelLogout)
AuthenticationSessionModel
SamlService. getOrCreateLoginSessionForIdpInitiatedSso(KeycloakSession session, RealmModel realm, ClientModel client, String relayState)
Creates a client session object for SAML IdP-initiated SSO session.static PublicKey
SamlProtocolUtils. getPublicKey(ClientModel client, String attribute)
static PublicKey
SamlProtocolUtils. getSignatureValidationKey(ClientModel client)
Returns public part of SAML signing key from the client settings.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 boolean
SamlProtocol. useArtifactForLogout(ClientModel client)
static void
SamlProtocolUtils. verifyDocumentSignature(ClientModel client, Document document)
Verifies a signature of the given SAML document using settings for the given client.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 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 Description static void
KeycloakSamlClientInstallation. baseXml(KeycloakSession session, RealmModel realm, ClientModel client, URI baseUri, SamlClient samlClient, StringBuilder buffer)
javax.ws.rs.core.Response
KeycloakSamlClientInstallation. generateInstallation(KeycloakSession session, RealmModel realm, ClientModel client, URI baseUri)
javax.ws.rs.core.Response
KeycloakSamlSubsystemCliInstallation. generateInstallation(KeycloakSession session, RealmModel realm, ClientModel client, URI baseUri)
javax.ws.rs.core.Response
KeycloakSamlSubsystemInstallation. generateInstallation(KeycloakSession session, RealmModel realm, ClientModel client, URI baseUri)
javax.ws.rs.core.Response
ModAuthMellonClientInstallation. generateInstallation(KeycloakSession session, RealmModel realm, ClientModel client, URI serverBaseUri)
javax.ws.rs.core.Response
SamlSPDescriptorClientInstallation. generateInstallation(KeycloakSession session, 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 Description ClientModel
DefaultKeycloakContext. getClient()
Methods in org.keycloak.services with parameters of type ClientModel Modifier and Type Method Description void
DefaultKeycloakContext. setClient(ClientModel client)
-
Uses of ClientModel in org.keycloak.services.clientpolicy.context
Methods in org.keycloak.services.clientpolicy.context that return ClientModel Modifier and Type Method Description default ClientModel
ClientCRUDContext. getAuthenticatedClient()
returnsUserModel
of the authenticated client.ClientModel
AdminClientRegisteredContext. getTargetClient()
ClientModel
AdminClientUnregisterContext. getTargetClient()
ClientModel
AdminClientUpdateContext. getTargetClient()
ClientModel
AdminClientUpdatedContext. getTargetClient()
ClientModel
AdminClientViewContext. getTargetClient()
default ClientModel
ClientCRUDContext. getTargetClient()
returnsClientModel
of the existing client to be updated/read/updated/deleted.ClientModel
DynamicClientRegisteredContext. getTargetClient()
ClientModel
DynamicClientUnregisterContext. getTargetClient()
ClientModel
DynamicClientUpdateContext. getTargetClient()
ClientModel
DynamicClientUpdatedContext. getTargetClient()
ClientModel
DynamicClientViewContext. getTargetClient()
-
Uses of ClientModel in org.keycloak.services.clientpolicy.executor
Methods in org.keycloak.services.clientpolicy.executor with parameters of type ClientModel Modifier and Type Method Description void
ConsentRequiredExecutor. beforeUpdate(ClientModel clientToBeUpdated, ClientRepresentation proposedClient)
-
Uses of ClientModel in org.keycloak.services.clientregistration
Methods in org.keycloak.services.clientregistration with parameters of type ClientModel Modifier and Type Method Description ClientRepresentation
AbstractClientRegistrationProvider. get(ClientModel client)
void
ClientRegistrationAuth. requireDelete(ClientModel client)
RegistrationAuth
ClientRegistrationAuth. requireUpdate(ClientRegistrationContext context, ClientModel client)
void
ClientRegistrationAuth. requireView(ClientModel client)
void
ClientRegistrationAuth. requireView(ClientModel client, boolean allowPublicClient)
static String
ClientRegistrationTokenUtils. updateRegistrationAccessToken(KeycloakSession session, ClientModel client, RegistrationAuth registrationAuth)
static String
ClientRegistrationTokenUtils. updateRegistrationAccessToken(KeycloakSession session, RealmModel realm, ClientModel client, RegistrationAuth registrationAuth)
void
AbstractClientRegistrationProvider. validateClient(ClientModel clientModel, OIDCClientRepresentation oidcClient, boolean create)
-
Uses of ClientModel in org.keycloak.services.clientregistration.policy
Methods in org.keycloak.services.clientregistration.policy with parameters of type ClientModel Modifier and Type Method Description void
ClientRegistrationPolicy. afterRegister(ClientRegistrationContext context, ClientModel clientModel)
void
ClientRegistrationPolicy. afterUpdate(ClientRegistrationContext context, ClientModel clientModel)
void
ClientRegistrationPolicy. beforeDelete(ClientRegistrationProvider provider, ClientModel clientModel)
void
ClientRegistrationPolicy. beforeUpdate(ClientRegistrationContext context, ClientModel clientModel)
void
ClientRegistrationPolicy. beforeView(ClientRegistrationProvider provider, ClientModel clientModel)
static void
ClientRegistrationPolicyManager. triggerAfterRegister(ClientRegistrationContext context, RegistrationAuth authType, ClientModel client)
static void
ClientRegistrationPolicyManager. triggerAfterUpdate(ClientRegistrationContext context, RegistrationAuth authType, ClientModel client)
static void
ClientRegistrationPolicyManager. triggerBeforeRemove(KeycloakSession session, ClientRegistrationProvider provider, RegistrationAuth authType, ClientModel client)
static void
ClientRegistrationPolicyManager. triggerBeforeUpdate(ClientRegistrationContext context, RegistrationAuth authType, ClientModel client)
static void
ClientRegistrationPolicyManager. triggerBeforeView(KeycloakSession session, ClientRegistrationProvider provider, RegistrationAuth authType, ClientModel client)
-
Uses of ClientModel in org.keycloak.services.clientregistration.policy.impl
Methods in org.keycloak.services.clientregistration.policy.impl with parameters of type ClientModel Modifier and Type Method Description void
ClientDisabledClientRegistrationPolicy. afterRegister(ClientRegistrationContext context, ClientModel clientModel)
void
ClientScopesClientRegistrationPolicy. afterRegister(ClientRegistrationContext context, ClientModel clientModel)
void
ConsentRequiredClientRegistrationPolicy. afterRegister(ClientRegistrationContext context, ClientModel clientModel)
void
MaxClientsClientRegistrationPolicy. afterRegister(ClientRegistrationContext context, ClientModel clientModel)
void
ProtocolMappersClientRegistrationPolicy. afterRegister(ClientRegistrationContext context, ClientModel clientModel)
void
ScopeClientRegistrationPolicy. afterRegister(ClientRegistrationContext context, ClientModel clientModel)
void
TrustedHostClientRegistrationPolicy. afterRegister(ClientRegistrationContext context, ClientModel clientModel)
void
ClientDisabledClientRegistrationPolicy. afterUpdate(ClientRegistrationContext context, ClientModel clientModel)
void
ClientScopesClientRegistrationPolicy. afterUpdate(ClientRegistrationContext context, ClientModel clientModel)
void
ConsentRequiredClientRegistrationPolicy. afterUpdate(ClientRegistrationContext context, ClientModel clientModel)
void
MaxClientsClientRegistrationPolicy. afterUpdate(ClientRegistrationContext context, ClientModel clientModel)
void
ProtocolMappersClientRegistrationPolicy. afterUpdate(ClientRegistrationContext context, ClientModel clientModel)
void
ScopeClientRegistrationPolicy. afterUpdate(ClientRegistrationContext context, ClientModel clientModel)
void
TrustedHostClientRegistrationPolicy. afterUpdate(ClientRegistrationContext context, ClientModel clientModel)
void
ClientDisabledClientRegistrationPolicy. beforeDelete(ClientRegistrationProvider provider, ClientModel clientModel)
void
ClientScopesClientRegistrationPolicy. beforeDelete(ClientRegistrationProvider provider, ClientModel clientModel)
void
ConsentRequiredClientRegistrationPolicy. beforeDelete(ClientRegistrationProvider provider, ClientModel clientModel)
void
MaxClientsClientRegistrationPolicy. beforeDelete(ClientRegistrationProvider provider, ClientModel clientModel)
void
ProtocolMappersClientRegistrationPolicy. beforeDelete(ClientRegistrationProvider provider, ClientModel clientModel)
void
ScopeClientRegistrationPolicy. beforeDelete(ClientRegistrationProvider provider, ClientModel clientModel)
void
TrustedHostClientRegistrationPolicy. beforeDelete(ClientRegistrationProvider provider, ClientModel clientModel)
void
ClientDisabledClientRegistrationPolicy. beforeUpdate(ClientRegistrationContext context, ClientModel clientModel)
void
ClientScopesClientRegistrationPolicy. beforeUpdate(ClientRegistrationContext context, ClientModel clientModel)
void
ConsentRequiredClientRegistrationPolicy. beforeUpdate(ClientRegistrationContext context, ClientModel clientModel)
void
MaxClientsClientRegistrationPolicy. beforeUpdate(ClientRegistrationContext context, ClientModel clientModel)
void
ProtocolMappersClientRegistrationPolicy. beforeUpdate(ClientRegistrationContext context, ClientModel clientModel)
void
ScopeClientRegistrationPolicy. beforeUpdate(ClientRegistrationContext context, ClientModel clientModel)
void
TrustedHostClientRegistrationPolicy. beforeUpdate(ClientRegistrationContext context, ClientModel clientModel)
void
ClientDisabledClientRegistrationPolicy. beforeView(ClientRegistrationProvider provider, ClientModel clientModel)
void
ClientScopesClientRegistrationPolicy. beforeView(ClientRegistrationProvider provider, ClientModel clientModel)
void
ConsentRequiredClientRegistrationPolicy. beforeView(ClientRegistrationProvider provider, ClientModel clientModel)
void
MaxClientsClientRegistrationPolicy. beforeView(ClientRegistrationProvider provider, ClientModel clientModel)
void
ProtocolMappersClientRegistrationPolicy. beforeView(ClientRegistrationProvider provider, ClientModel clientModel)
void
ScopeClientRegistrationPolicy. beforeView(ClientRegistrationProvider provider, ClientModel clientModel)
void
TrustedHostClientRegistrationPolicy. beforeView(ClientRegistrationProvider provider, ClientModel clientModel)
-
Uses of ClientModel in org.keycloak.services.managers
Methods in org.keycloak.services.managers that return ClientModel Modifier and Type Method Description static ClientModel
ClientManager. createClient(KeycloakSession session, RealmModel realm, ClientRepresentation rep)
Should not be called from an import.ClientModel
Auth. getClient()
ClientModel
AuthenticationManager.AuthResult. getClient()
Methods in org.keycloak.services.managers that return types with arguments of type ClientModel Modifier and Type Method Description Set<ClientModel>
UserSessionManager. findClientsWithOfflineToken(RealmModel realm, UserModel user)
Methods in org.keycloak.services.managers with parameters of type ClientModel Modifier and Type Method Description void
RealmManager. addQueryCompositeRoles(ClientModel realmAccess)
static void
AuthenticationManager. backchannelLogoutUserFromClient(KeycloakSession session, RealmModel realm, UserModel user, ClientModel client, javax.ws.rs.core.UriInfo uriInfo, javax.ws.rs.core.HttpHeaders headers)
Logout all clientSessions of this user and clientvoid
ClientManager. clientIdChanged(ClientModel client, ClientRepresentation newClientRepresentation)
void
ClientManager. enableServiceAccount(ClientModel client)
AuthenticationSessionModel
AuthenticationSessionManager. getAuthenticationSessionByIdAndClient(RealmModel realm, String authSessionId, ClientModel client, String tabId)
static String
ResourceAdminManager. getBackchannelLogoutUrl(KeycloakSession session, ClientModel client)
static <CLIENT_SESSION extends CommonClientSessionModel>
CLIENT_SESSIONClientSessionCode. getClientSession(String code, String tabId, KeycloakSession session, RealmModel realm, ClientModel client, EventBuilder event, Class<CLIENT_SESSION> sessionClass)
AuthenticationSessionModel
AuthenticationSessionManager. getCurrentAuthenticationSession(RealmModel realm, ClientModel client, String tabId)
Returns current authentication session if it exists, otherwise returnsnull
.static String
ResourceAdminManager. getManagementUrl(KeycloakSession session, ClientModel client)
boolean
Auth. hasClientRole(ClientModel app, String role)
boolean
Auth. hasOneOfAppRole(ClientModel app, String... roles)
GlobalRequestResult
ResourceAdminManager. logoutClient(RealmModel realm, ClientModel resource)
protected GlobalRequestResult
ResourceAdminManager. logoutClient(RealmModel realm, ClientModel resource, int notBefore)
javax.ws.rs.core.Response
ResourceAdminManager. logoutClientSession(RealmModel realm, ClientModel resource, AuthenticatedClientSessionModel clientSession)
protected javax.ws.rs.core.Response
ResourceAdminManager. logoutClientSessions(RealmModel realm, ClientModel resource, List<AuthenticatedClientSessionModel> clientSessions)
javax.ws.rs.core.Response
ResourceAdminManager. logoutClientSessionWithBackchannelLogoutUrl(ClientModel resource, AuthenticatedClientSessionModel clientSession)
static <CLIENT_SESSION extends CommonClientSessionModel>
ClientSessionCode.ParseResult<CLIENT_SESSION>ClientSessionCode. parseResult(String code, String tabId, KeycloakSession session, RealmModel realm, ClientModel client, EventBuilder event, CLIENT_SESSION clientSession)
static <CLIENT_SESSION extends CommonClientSessionModel>
ClientSessionCode.ParseResult<CLIENT_SESSION>ClientSessionCode. parseResult(String code, String tabId, KeycloakSession session, RealmModel realm, ClientModel client, EventBuilder event, Class<CLIENT_SESSION> sessionClass)
GlobalRequestResult
ResourceAdminManager. pushClientRevocationPolicy(RealmModel realm, ClientModel client)
protected GlobalRequestResult
ResourceAdminManager. pushRevocationPolicy(RealmModel realm, ClientModel resource, int notBefore)
boolean
ClientManager. removeClient(RealmModel realm, ClientModel client)
static boolean
UserConsentManager. revokeConsentToClient(KeycloakSession session, ClientModel client, UserModel user)
Revoke consent of given user to given clientboolean
UserSessionManager. revokeOfflineToken(UserModel user, ClientModel client)
protected javax.ws.rs.core.Response
ResourceAdminManager. sendBackChannelLogoutRequestToClientUri(ClientModel resource, AuthenticatedClientSessionModel clientSessionModel, String managementUrl)
protected javax.ws.rs.core.Response
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(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 Description Auth(RealmModel realm, AccessToken token, UserModel user, ClientModel client, UserSessionModel session, boolean cookie)
AuthResult(UserModel user, UserSessionModel session, AccessToken token, ClientModel client)
-
Uses of ClientModel in org.keycloak.services.resources
Fields in org.keycloak.services.resources declared as ClientModel Modifier and Type Field Description protected ClientModel
AbstractSecuredLocalService. client
Methods in org.keycloak.services.resources that return ClientModel Modifier and Type Method Description protected ClientModel
ClientsManagementService. authorizeClient()
Methods in org.keycloak.services.resources with parameters of type ClientModel Modifier and Type Method Description Cors
Cors. allowedOrigins(KeycloakSession session, ClientModel client)
protected boolean
LogoutSessionCodeChecks. checkClientDisabled(ClientModel client)
protected boolean
SessionCodeChecks. checkClientDisabled(ClientModel client)
static void
LoginActionsServiceChecks. checkIsClientValid(KeycloakSession session, ClientModel client)
Verifies whether the client denoted by client ID in token'siss
(issuedFor
) field both exists and is enabled.protected void
LogoutSessionCodeChecks. setClientToEvent(ClientModel client)
protected void
SessionCodeChecks. setClientToEvent(ClientModel client)
Constructors in org.keycloak.services.resources with parameters of type ClientModel Constructor Description AbstractSecuredLocalService(KeycloakSession session, ClientModel client)
-
Uses of ClientModel in org.keycloak.services.resources.account
Constructors in org.keycloak.services.resources.account with parameters of type ClientModel Constructor Description AccountConsole(KeycloakSession session, ClientModel client, Theme theme)
AccountFormService(KeycloakSession session, 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 Description protected ClientModel
ClientAttributeCertificateResource. client
protected ClientModel
ClientResource. client
protected ClientModel
ClientRoleMappingsResource. client
protected ClientModel
ScopeMappedClientResource. scopedClient
Methods in org.keycloak.services.resources.admin that return ClientModel Modifier and Type Method Description ClientModel
AdminAuth. getClient()
Methods in org.keycloak.services.resources.admin with parameters of type ClientModel Modifier and Type Method Description AdminEventBuilder
AdminEventBuilder. authClient(ClientModel client)
protected Stream<RoleRepresentation>
RoleResource. getClientRoleComposites(ClientModel app, RoleModel role)
boolean
AdminAuth. hasAppRole(ClientModel app, String role)
boolean
AdminAuth. hasOneOfAppRole(ClientModel app, String... roles)
static ManagementPermissionReference
ClientResource. toMgmtRef(ClientModel client, AdminPermissionManagement permissions)
-
Uses of ClientModel in org.keycloak.services.resources.admin.permissions
Methods in org.keycloak.services.resources.admin.permissions that return ClientModel Modifier and Type Method Description ClientModel
AdminPermissionManagement. getRealmManagementClient()
Methods in org.keycloak.services.resources.admin.permissions with parameters of type ClientModel Modifier and Type Method Description boolean
UserPermissionManagement. canClientImpersonate(ClientModel client, UserModel user)
boolean
ClientPermissionEvaluator. canConfigure(ClientModel client)
boolean
ClientPermissionManagement. canExchangeTo(ClientModel authorizedClient, ClientModel to)
boolean
IdentityProviderPermissionManagement. canExchangeTo(ClientModel authorizedClient, IdentityProviderModel to)
boolean
UserPermissionEvaluator. canImpersonate(UserModel user, ClientModel requester)
boolean
ClientPermissionEvaluator. canManage(ClientModel client)
boolean
ClientPermissionEvaluator. canMapClientScopeRoles(ClientModel client)
boolean
ClientPermissionEvaluator. canMapCompositeRoles(ClientModel client)
boolean
ClientPermissionEvaluator. canMapRoles(ClientModel client)
boolean
ClientPermissionEvaluator. canView(ClientModel client)
Policy
ClientPermissionManagement. configurePermission(ClientModel client)
Policy
ClientPermissionManagement. exchangeToPermission(ClientModel client)
Map<String,Boolean>
ClientPermissionEvaluator. getAccess(ClientModel client)
Map<String,String>
ClientPermissionManagement. getPermissions(ClientModel client)
boolean
UserPermissionEvaluator. isImpersonatable(UserModel user, ClientModel requester)
boolean
ClientPermissionEvaluator. isPermissionsEnabled(ClientModel client)
boolean
ClientPermissionManagement. isPermissionsEnabled(ClientModel client)
Policy
ClientPermissionManagement. managePermission(ClientModel client)
Policy
ClientPermissionManagement. mapRolesClientScopePermission(ClientModel client)
Policy
ClientPermissionManagement. mapRolesCompositePermission(ClientModel client)
Policy
ClientPermissionManagement. mapRolesPermission(ClientModel client)
void
ClientPermissionEvaluator. requireConfigure(ClientModel client)
void
ClientPermissionEvaluator. requireManage(ClientModel client)
void
ClientPermissionEvaluator. requireView(ClientModel client)
Resource
ClientPermissionManagement. resource(ClientModel client)
ResourceServer
ClientPermissionManagement. resourceServer(ClientModel client)
void
ClientPermissionEvaluator. setPermissionsEnabled(ClientModel client, boolean enable)
void
ClientPermissionManagement. setPermissionsEnabled(ClientModel client, boolean enable)
Policy
ClientPermissionManagement. viewPermission(ClientModel client)
-
Uses of ClientModel in org.keycloak.services.util
Methods in org.keycloak.services.util with parameters of type ClientModel Modifier and Type Method Description static CertificateRepresentation
CertificateInfoHelper. getCertificateFromClient(ClientModel client, String attributePrefix)
static ClientMappingsRepresentation
ScopeMappedUtil. toClientMappingsRepresentation(ClientModel client, ScopeContainerModel scopeContainer)
static void
CertificateInfoHelper. updateClientModelCertificateInfo(ClientModel client, CertificateRepresentation rep, String attributePrefix)
-
Uses of ClientModel in org.keycloak.sessions
Methods in org.keycloak.sessions that return ClientModel Modifier and Type Method Description ClientModel
CommonClientSessionModel. getClient()
Methods in org.keycloak.sessions with parameters of type ClientModel Modifier and Type Method Description AuthenticationSessionModel
RootAuthenticationSessionModel. createAuthenticationSession(ClientModel client)
Create a new authentication session and returns it.AuthenticationSessionModel
RootAuthenticationSessionModel. getAuthenticationSession(ClientModel client, String tabId)
Returns an authentication session for the particular client and tab or null if it doesn't yet exists.void
AuthenticationSessionProvider. 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.social.twitter
Methods in org.keycloak.social.twitter with parameters of type ClientModel Modifier and Type Method Description javax.ws.rs.core.Response
TwitterIdentityProvider. exchangeFromToken(javax.ws.rs.core.UriInfo uriInfo, EventBuilder builder, ClientModel authorizedClient, UserSessionModel tokenUserSession, UserModel tokenSubject, javax.ws.rs.core.MultivaluedMap<String,String> params)
protected javax.ws.rs.core.Response
TwitterIdentityProvider. exchangeSessionToken(javax.ws.rs.core.UriInfo uriInfo, ClientModel authorizedClient, UserSessionModel tokenUserSession, UserModel tokenSubject)
protected javax.ws.rs.core.Response
TwitterIdentityProvider. exchangeStoredToken(javax.ws.rs.core.UriInfo uriInfo, ClientModel authorizedClient, UserSessionModel tokenUserSession, UserModel tokenSubject)
-
Uses of ClientModel in org.keycloak.storage
Methods in org.keycloak.storage that return ClientModel Modifier and Type Method Description ClientModel
ClientStorageManager. addClient(RealmModel realm, String clientId)
ClientModel
ClientStorageManager. addClient(RealmModel realm, String id, String clientId)
ClientModel
ClientStorageManager. getClientByClientId(RealmModel realm, String clientId)
ClientModel
ClientStorageManager. getClientById(RealmModel realm, String id)
Methods in org.keycloak.storage that return types with arguments of type ClientModel Modifier and Type Method Description Map<ClientModel,Set<String>>
ClientStorageManager. getAllRedirectUrisOfEnabledClients(RealmModel realm)
Stream<ClientModel>
ClientStorageManager. getAlwaysDisplayInConsoleClientsStream(RealmModel realm)
Stream<ClientModel>
ClientStorageManager. getClientsStream(RealmModel realm)
Stream<ClientModel>
ClientStorageManager. getClientsStream(RealmModel realm, Integer firstResult, Integer maxResults)
protected Stream<ClientModel>
ClientStorageManager. query(org.keycloak.storage.ClientStorageManager.PaginatedQuery paginatedQuery, RealmModel realm, Integer firstResult, Integer maxResults)
Stream<ClientModel>
ClientStorageManager. searchClientsByAttributes(RealmModel realm, Map<String,String> attributes, Integer firstResult, Integer maxResults)
Stream<ClientModel>
ClientStorageManager. searchClientsByClientIdStream(RealmModel realm, String clientId, Integer firstResult, Integer maxResults)
Methods in org.keycloak.storage with parameters of type ClientModel Modifier and Type Method Description RoleModel
RoleStorageManager. addClientRole(ClientModel client, String name)
RoleModel
RoleStorageManager. addClientRole(ClientModel client, String id, String name)
void
ClientStorageManager. addClientScopes(RealmModel realm, ClientModel client, Set<ClientScopeModel> clientScopes, boolean defaultScope)
RoleModel
RoleStorageManager. getClientRole(ClientModel client, String name)
Stream<RoleModel>
RoleStorageManager. getClientRolesStream(ClientModel client)
Stream<RoleModel>
RoleStorageManager. getClientRolesStream(ClientModel client, Integer first, Integer max)
Map<String,ClientScopeModel>
ClientStorageManager. getClientScopes(RealmModel realm, ClientModel client, boolean defaultScopes)
UserModel
UserStorageManager. getServiceAccount(ClientModel client)
static boolean
StorageId. isLocalStorage(ClientModel client)
Deprecated.UseStorageId.isLocalStorage(String)
instead.void
UserStorageManager. preRemove(RealmModel realm, ClientModel client)
void
ClientStorageManager. removeClientScope(RealmModel realm, ClientModel client, ClientScopeModel clientScope)
void
RoleStorageManager. removeRoles(ClientModel client)
static String
StorageId. resolveProviderId(ClientModel client)
Deprecated.UseStorageId.providerId(String)
instead.Stream<RoleModel>
RoleStorageManager. searchForClientRolesStream(ClientModel client, String search, Integer first, Integer max)
Obtaining roles from an external role storage is time-bounded. -
Uses of ClientModel in org.keycloak.storage.adapter
Methods in org.keycloak.storage.adapter with parameters of type ClientModel Modifier and Type Method Description Set<RoleModel>
AbstractUserAdapter. getClientRoleMappings(ClientModel app)
Deprecated.Set<RoleModel>
AbstractUserAdapter.Streams. getClientRoleMappings(ClientModel app)
Set<RoleModel>
AbstractUserAdapterFederatedStorage. getClientRoleMappings(ClientModel app)
Deprecated.Set<RoleModel>
AbstractUserAdapterFederatedStorage.Streams. getClientRoleMappings(ClientModel app)
Stream<RoleModel>
AbstractUserAdapter. getClientRoleMappingsStream(ClientModel app)
Stream<RoleModel>
AbstractUserAdapter.Streams. getClientRoleMappingsStream(ClientModel app)
Stream<RoleModel>
AbstractUserAdapterFederatedStorage. getClientRoleMappingsStream(ClientModel app)
Stream<RoleModel>
AbstractUserAdapterFederatedStorage.Streams. getClientRoleMappingsStream(ClientModel app)
Stream<RoleModel>
InMemoryUserAdapter. getClientRoleMappingsStream(ClientModel app)
-
Uses of ClientModel in org.keycloak.storage.client
Classes in org.keycloak.storage.client that implement ClientModel Modifier and Type Class Description class
AbstractClientStorageAdapter
Helper base class for ClientModel implementations for ClientStorageProvider implementations.class
AbstractReadOnlyClientStorageAdapter
class
UnsupportedOperationsClientStorageAdapter
Base helper class.Methods in org.keycloak.storage.client that return ClientModel Modifier and Type Method Description ClientModel
ClientLookupProvider. getClientByClientId(RealmModel realm, String clientId)
Exact search for a client by its public client identifier.ClientModel
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 ClientModel Modifier and Type Method Description Stream<ClientModel>
ClientLookupProvider. searchClientsByAttributes(RealmModel realm, Map<String,String> attributes, Integer firstResult, Integer maxResults)
Stream<ClientModel>
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 ClientModel Modifier and Type Method Description Map<String,ClientScopeModel>
ClientLookupProvider. getClientScopes(RealmModel realm, ClientModel client, boolean defaultScopes)
Return all default scopes (ifdefaultScope
istrue
) or all optional scopes (ifdefaultScope
isfalse
) linked with the client -
Uses of ClientModel in org.keycloak.storage.datastore
Methods in org.keycloak.storage.datastore with parameters of type ClientModel Modifier and Type Method Description static void
LegacyExportImportManager. createClientScopeMappings(RealmModel realm, ClientModel clientModel, List<ScopeMappingRepresentation> mappings)
-
Uses of ClientModel in org.keycloak.storage.federated
Methods in org.keycloak.storage.federated with parameters of type ClientModel Modifier and Type Method 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 Description void
JpaUserFederatedStorageProvider. preRemove(RealmModel realm, ClientModel client)
-
Uses of ClientModel in org.keycloak.storage.ldap.mappers.membership.role
Methods in org.keycloak.storage.ldap.mappers.membership.role with parameters of type ClientModel Modifier and Type Method Description Stream<RoleModel>
RoleLDAPStorageMapper.LDAPRoleMappingsUserDelegate. getClientRoleMappingsStream(ClientModel client)
-
Uses of ClientModel in org.keycloak.storage.openshift
Classes in org.keycloak.storage.openshift that implement ClientModel Modifier and Type Class Description class
OpenshiftSAClientAdapter
Methods in org.keycloak.storage.openshift that return ClientModel Modifier and Type Method Description ClientModel
OpenshiftClientStorageProvider. getClientByClientId(RealmModel realm, String clientId)
ClientModel
OpenshiftClientStorageProvider. getClientById(RealmModel realm, String id)
Methods in org.keycloak.storage.openshift that return types with arguments of type ClientModel Modifier and Type Method Description Stream<ClientModel>
OpenshiftClientStorageProvider. searchClientsByAttributes(RealmModel realm, Map<String,String> attributes, Integer firstResult, Integer maxResults)
Stream<ClientModel>
OpenshiftClientStorageProvider. searchClientsByClientIdStream(RealmModel realm, String clientId, Integer firstResult, Integer maxResults)
Methods in org.keycloak.storage.openshift with parameters of type ClientModel Modifier and Type Method Description Map<String,ClientScopeModel>
OpenshiftClientStorageProvider. getClientScopes(RealmModel realm, ClientModel client, boolean defaultScopes)
-
Uses of ClientModel in org.keycloak.storage.role
Methods in org.keycloak.storage.role with parameters of type ClientModel Modifier and Type Method Description RoleModel
RoleLookupProvider. getClientRole(ClientModel client, String name)
Exact search for a client role by given name.Stream<RoleModel>
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. -
Uses of ClientModel in org.keycloak.validation
Methods in org.keycloak.validation with parameters of type ClientModel Modifier and Type Method Description static void
ValidationUtil. validateClient(KeycloakSession session, ClientModel client, boolean create, ValidationUtil.ErrorHandler errorHandler)
static void
ValidationUtil. validateClient(KeycloakSession session, ClientModel client, OIDCClientRepresentation oidcClient, boolean create, ValidationUtil.ErrorHandler errorHandler)
Method parameters in org.keycloak.validation with type arguments of type ClientModel Modifier and Type Method Description ValidationResult
DefaultClientValidationProvider. validate(ValidationContext<ClientModel> context)
Constructors in org.keycloak.validation with parameters of type ClientModel Constructor Description ClientValidationContext(ValidationContext.Event event, KeycloakSession session, ClientModel objectToValidate)
OIDCContext(ValidationContext.Event event, KeycloakSession session, ClientModel objectToValidate, OIDCClientRepresentation oidcClient)
-