public class KeycloakOIDCClientInstallation extends Object implements ClientInstallationProvider
Constructor and Description |
---|
KeycloakOIDCClientInstallation() |
Modifier and Type | Method and Description |
---|---|
void |
close()
This is called when the server shuts down.
|
ClientInstallationProvider |
create(KeycloakSession session) |
javax.ws.rs.core.Response |
generateInstallation(KeycloakSession session,
RealmModel realm,
ClientModel client,
URI baseUri) |
static Map<String,Object> |
getClientCredentialsAdapterConfig(KeycloakSession session,
ClientModel client) |
String |
getDisplayType() |
String |
getFilename() |
String |
getHelpText() |
String |
getId() |
String |
getMediaType() |
String |
getProtocol() |
void |
init(Config.Scope config)
Only called once when the factory is first created.
|
boolean |
isDownloadOnly() |
void |
postInit(KeycloakSessionFactory factory)
Called after all provider factories have been initialized
|
static boolean |
showClientCredentialsAdapterConfig(ClientModel client) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
order
public javax.ws.rs.core.Response generateInstallation(KeycloakSession session, RealmModel realm, ClientModel client, URI baseUri)
generateInstallation
in interface ClientInstallationProvider
public static Map<String,Object> getClientCredentialsAdapterConfig(KeycloakSession session, ClientModel client)
public static boolean showClientCredentialsAdapterConfig(ClientModel client)
public String getProtocol()
getProtocol
in interface ClientInstallationProvider
public String getDisplayType()
getDisplayType
in interface ClientInstallationProvider
public String getHelpText()
getHelpText
in interface ClientInstallationProvider
public void close()
ProviderFactory
close
in interface Provider
close
in interface ProviderFactory<ClientInstallationProvider>
public ClientInstallationProvider create(KeycloakSession session)
create
in interface ProviderFactory<ClientInstallationProvider>
public void init(Config.Scope config)
ProviderFactory
init
in interface ProviderFactory<ClientInstallationProvider>
public void postInit(KeycloakSessionFactory factory)
ProviderFactory
postInit
in interface ProviderFactory<ClientInstallationProvider>
public String getId()
getId
in interface ProviderFactory<ClientInstallationProvider>
public boolean isDownloadOnly()
isDownloadOnly
in interface ClientInstallationProvider
public String getFilename()
getFilename
in interface ClientInstallationProvider
public String getMediaType()
getMediaType
in interface ClientInstallationProvider
Copyright © 2021 JBoss by Red Hat. All rights reserved.