Class DeployedScriptOIDCProtocolMapper
java.lang.Object
org.keycloak.protocol.oidc.mappers.AbstractOIDCProtocolMapper
org.keycloak.protocol.oidc.mappers.ScriptBasedOIDCProtocolMapper
org.keycloak.protocol.oidc.mappers.DeployedScriptOIDCProtocolMapper
- All Implemented Interfaces:
OIDCAccessTokenMapper
,OIDCAccessTokenResponseMapper
,OIDCIDTokenMapper
,UserInfoTokenMapper
,ProtocolMapper
,ConfiguredProvider
,EnvironmentDependentProviderFactory
,Provider
,ProviderFactory<ProtocolMapper>
-
Field Summary
Fields inherited from class org.keycloak.protocol.oidc.mappers.ScriptBasedOIDCProtocolMapper
PROVIDER_ID, SCRIPT
Fields inherited from class org.keycloak.protocol.oidc.mappers.AbstractOIDCProtocolMapper
TOKEN_MAPPER_CATEGORY
-
Constructor Summary
ConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptiongetId()
protected String
getScriptCode
(ProtocolMapperModel mapperModel) void
init
(Config.Scope config) Only called once when the factory is first created.boolean
void
setMetadata
(ScriptProviderMetadata metadata) Methods inherited from class org.keycloak.protocol.oidc.mappers.ScriptBasedOIDCProtocolMapper
create, getDisplayCategory, getPriority, setClaim, setClaim, validateConfig
Methods inherited from class org.keycloak.protocol.oidc.mappers.AbstractOIDCProtocolMapper
close, create, getProtocol, postInit, setClaim, transformAccessToken, transformAccessTokenResponse, transformIDToken, transformUserInfoToken
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.keycloak.provider.ConfiguredProvider
getConfig
Methods inherited from interface org.keycloak.provider.EnvironmentDependentProviderFactory
isSupported
Methods inherited from interface org.keycloak.protocol.oidc.mappers.OIDCAccessTokenMapper
transformAccessToken
Methods inherited from interface org.keycloak.protocol.oidc.mappers.OIDCAccessTokenResponseMapper
transformAccessTokenResponse
Methods inherited from interface org.keycloak.protocol.oidc.mappers.OIDCIDTokenMapper
transformIDToken
Methods inherited from interface org.keycloak.provider.ProviderFactory
getConfigMetadata, order
Methods inherited from interface org.keycloak.protocol.oidc.mappers.UserInfoTokenMapper
transformUserInfoToken
-
Field Details
-
metadata
-
-
Constructor Details
-
DeployedScriptOIDCProtocolMapper
-
DeployedScriptOIDCProtocolMapper
public DeployedScriptOIDCProtocolMapper()
-
-
Method Details
-
getId
- Specified by:
getId
in interfaceProviderFactory<ProtocolMapper>
- Overrides:
getId
in classScriptBasedOIDCProtocolMapper
-
getDisplayType
- Specified by:
getDisplayType
in interfaceProtocolMapper
- Overrides:
getDisplayType
in classScriptBasedOIDCProtocolMapper
-
getHelpText
- Specified by:
getHelpText
in interfaceConfiguredProvider
- Overrides:
getHelpText
in classScriptBasedOIDCProtocolMapper
-
getScriptCode
- Overrides:
getScriptCode
in classScriptBasedOIDCProtocolMapper
-
init
Description copied from interface:ProviderFactory
Only called once when the factory is first created. This config is pulled from keycloak_server.json- Specified by:
init
in interfaceProviderFactory<ProtocolMapper>
- Overrides:
init
in classAbstractOIDCProtocolMapper
-
getConfigProperties
- Specified by:
getConfigProperties
in interfaceConfiguredProvider
- Overrides:
getConfigProperties
in classScriptBasedOIDCProtocolMapper
-
isSupported
public boolean isSupported()- Specified by:
isSupported
in interfaceEnvironmentDependentProviderFactory
- Overrides:
isSupported
in classScriptBasedOIDCProtocolMapper
- Returns:
true
if the provider is supported and should be available,false
otherwise
-
setMetadata
-
getMetadata
-