Package org.keycloak.protocol
Interface LoginProtocolFactory
- All Superinterfaces:
ProviderFactory<LoginProtocol>
- All Known Implementing Classes:
AbstractLoginProtocolFactory,DockerAuthV2ProtocolFactory,OID4VCLoginProtocolFactory,OIDCLoginProtocolFactory,SamlProtocolFactory
- Version:
- $Revision: 1 $
- Author:
- Bill Burke
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddClientScopeDefaults(ClientScopeRepresentation clientModel) Add default values toClientScopeRepresentations that refer to the specific login-protocolvoidcreateDefaultClientScopes(RealmModel newRealm, boolean addScopesToExistingClients) Called when new realm is createdcreateProtocolEndpoint(KeycloakSession session, EventBuilder event) List of built in protocol mappers that can be used to apply to clients.voidsetupClientDefaults(ClientRepresentation rep, ClientModel newClient) Setup default values for new clients.Methods inherited from interface org.keycloak.provider.ProviderFactory
close, create, dependsOn, getConfigMetadata, getId, init, order, postInit
-
Method Details
-
getBuiltinMappers
Map<String,ProtocolMapperModel> getBuiltinMappers()List of built in protocol mappers that can be used to apply to clients.- Returns:
-
createProtocolEndpoint
-
createDefaultClientScopes
Called when new realm is created- Parameters:
newRealm-addScopesToExistingClients- If true, then existing realm clients will be updated (created realm default scopes will be added to them)
-
setupClientDefaults
Setup default values for new clients. This expects that the representation has already set up the client- Parameters:
rep-newClient-
-
addClientScopeDefaults
Add default values toClientScopeRepresentations that refer to the specific login-protocol
-