Package org.gluu.oxauth.service.external
Class ExternalUpdateTokenService
java.lang.Object
org.gluu.service.custom.script.ExternalScriptService
org.gluu.oxauth.service.external.ExternalUpdateTokenService
- All Implemented Interfaces:
Serializable
@ApplicationScoped
public class ExternalUpdateTokenService
extends org.gluu.service.custom.script.ExternalScriptService
- Author:
- Yuriy Movchan
- See Also:
-
Field Summary
Fields inherited from class org.gluu.service.custom.script.ExternalScriptService
customScriptConfigurations, customScriptConfigurationsNameMap, customScriptManager, customScriptType, defaultExternalCustomScript, loaded
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.google.common.base.Function
<JsonWebResponse, Void> int
getAccessTokenLifetimeInSeconds
(org.gluu.model.custom.script.conf.CustomScriptConfiguration script, ExternalUpdateTokenContext context) int
int
getIdTokenLifetimeInSeconds
(org.gluu.model.custom.script.conf.CustomScriptConfiguration script, ExternalUpdateTokenContext context) int
int
getRefreshTokenLifetimeInSeconds
(org.gluu.model.custom.script.conf.CustomScriptConfiguration script, ExternalUpdateTokenContext context) int
boolean
modifyAccessToken
(org.gluu.model.custom.script.conf.CustomScriptConfiguration script, AccessToken accessToken, ExternalUpdateTokenContext context) boolean
modifyAccessToken
(AccessToken accessToken, ExternalUpdateTokenContext context) boolean
modifyIdTokenMethod
(org.gluu.model.custom.script.conf.CustomScriptConfiguration script, JsonWebResponse jsonWebResponse, ExternalUpdateTokenContext context) boolean
modifyIdTokenMethods
(JsonWebResponse jsonWebResponse, ExternalUpdateTokenContext context) boolean
modifyRefreshToken
(org.gluu.model.custom.script.conf.CustomScriptConfiguration script, RefreshToken refreshToken, ExternalUpdateTokenContext context) boolean
modifyRefreshToken
(RefreshToken refreshToken, ExternalUpdateTokenContext context) Methods inherited from class org.gluu.service.custom.script.ExternalScriptService
addExternalConfigurations, clearScriptError, configure, determineDefaultCustomScriptConfiguration, executeExternalGetApiVersion, getCustomScriptConfigurationByName, getCustomScriptConfigurations, getCustomScriptConfigurationsByDns, getCustomScriptType, getDefaultExternalCustomScript, init, isEnabled, isLoaded, reload, reloadExternal, saveScriptError
-
Constructor Details
-
ExternalUpdateTokenService
public ExternalUpdateTokenService()
-
-
Method Details
-
modifyIdTokenMethod
public boolean modifyIdTokenMethod(org.gluu.model.custom.script.conf.CustomScriptConfiguration script, JsonWebResponse jsonWebResponse, ExternalUpdateTokenContext context) -
modifyIdTokenMethods
public boolean modifyIdTokenMethods(JsonWebResponse jsonWebResponse, ExternalUpdateTokenContext context) -
buildModifyIdTokenProcessor
public com.google.common.base.Function<JsonWebResponse,Void> buildModifyIdTokenProcessor(ExternalUpdateTokenContext context) -
modifyRefreshToken
public boolean modifyRefreshToken(org.gluu.model.custom.script.conf.CustomScriptConfiguration script, RefreshToken refreshToken, ExternalUpdateTokenContext context) -
modifyRefreshToken
-
modifyAccessToken
public boolean modifyAccessToken(org.gluu.model.custom.script.conf.CustomScriptConfiguration script, AccessToken accessToken, ExternalUpdateTokenContext context) -
modifyAccessToken
-
getAccessTokenLifetimeInSeconds
public int getAccessTokenLifetimeInSeconds(org.gluu.model.custom.script.conf.CustomScriptConfiguration script, ExternalUpdateTokenContext context) -
getAccessTokenLifetimeInSeconds
-
getIdTokenLifetimeInSeconds
public int getIdTokenLifetimeInSeconds(org.gluu.model.custom.script.conf.CustomScriptConfiguration script, ExternalUpdateTokenContext context) -
getIdTokenLifetimeInSeconds
-
getRefreshTokenLifetimeInSeconds
public int getRefreshTokenLifetimeInSeconds(org.gluu.model.custom.script.conf.CustomScriptConfiguration script, ExternalUpdateTokenContext context) -
getRefreshTokenLifetimeInSeconds
-