Class KeycloakOIDCClientInstallation
java.lang.Object
org.keycloak.protocol.oidc.installation.KeycloakOIDCClientInstallation
- All Implemented Interfaces:
ClientInstallationProvider,Provider,ProviderFactory<ClientInstallationProvider>
- Version:
- $Revision: 1 $
- Author:
- Bill Burke
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()This is called when the server shuts down.create(KeycloakSession session) jakarta.ws.rs.core.ResponsegenerateInstallation(KeycloakSession session, RealmModel realm, ClientModel client, URI baseUri, boolean includeSecrets) Generates installation configuration, masking stored secrets whenincludeSecretsis false.getClientCredentialsAdapterConfig(KeycloakSession session, ClientModel client, boolean includeSecrets) getId()voidinit(Config.Scope config) Only called once when the factory is first created.booleanvoidpostInit(KeycloakSessionFactory factory) Called after all provider factories have been initializedstatic booleanMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.keycloak.provider.ProviderFactory
dependsOn, getConfigMetadata, order
-
Constructor Details
-
KeycloakOIDCClientInstallation
public KeycloakOIDCClientInstallation()
-
-
Method Details
-
generateInstallation
public jakarta.ws.rs.core.Response generateInstallation(KeycloakSession session, RealmModel realm, ClientModel client, URI baseUri, boolean includeSecrets) Description copied from interface:ClientInstallationProviderGenerates installation configuration, masking stored secrets whenincludeSecretsis false.- Specified by:
generateInstallationin interfaceClientInstallationProvider
-
getClientCredentialsAdapterConfig
public static Map<String,Object> getClientCredentialsAdapterConfig(KeycloakSession session, ClientModel client, boolean includeSecrets) -
showClientCredentialsAdapterConfig
-
getProtocol
- Specified by:
getProtocolin interfaceClientInstallationProvider
-
getDisplayType
- Specified by:
getDisplayTypein interfaceClientInstallationProvider
-
getHelpText
- Specified by:
getHelpTextin interfaceClientInstallationProvider
-
close
public void close()Description copied from interface:ProviderFactoryThis is called when the server shuts down.- Specified by:
closein interfaceProvider- Specified by:
closein interfaceProviderFactory<ClientInstallationProvider>
-
create
- Specified by:
createin interfaceProviderFactory<ClientInstallationProvider>
-
init
Description copied from interface:ProviderFactoryOnly called once when the factory is first created.- Specified by:
initin interfaceProviderFactory<ClientInstallationProvider>
-
postInit
Description copied from interface:ProviderFactoryCalled after all provider factories have been initialized- Specified by:
postInitin interfaceProviderFactory<ClientInstallationProvider>
-
getId
- Specified by:
getIdin interfaceProviderFactory<ClientInstallationProvider>
-
isDownloadOnly
public boolean isDownloadOnly()- Specified by:
isDownloadOnlyin interfaceClientInstallationProvider
-
getFilename
- Specified by:
getFilenamein interfaceClientInstallationProvider
-
getMediaType
- Specified by:
getMediaTypein interfaceClientInstallationProvider
-