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:
java.io.Serializable
@ApplicationScoped public class ExternalUpdateTokenService extends org.gluu.service.custom.script.ExternalScriptService
- Author:
- Yuriy Movchan
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ExternalUpdateTokenService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.google.common.base.Function<JsonWebResponse,java.lang.Void>
buildModifyIdTokenProcessor(ExternalUpdateTokenContext context)
int
getAccessTokenLifetimeInSeconds(org.gluu.model.custom.script.conf.CustomScriptConfiguration script, ExternalUpdateTokenContext context)
int
getAccessTokenLifetimeInSeconds(ExternalUpdateTokenContext context)
int
getIdTokenLifetimeInSeconds(org.gluu.model.custom.script.conf.CustomScriptConfiguration script, ExternalUpdateTokenContext context)
int
getIdTokenLifetimeInSeconds(ExternalUpdateTokenContext context)
int
getRefreshTokenLifetimeInSeconds(org.gluu.model.custom.script.conf.CustomScriptConfiguration script, ExternalUpdateTokenContext context)
int
getRefreshTokenLifetimeInSeconds(ExternalUpdateTokenContext context)
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
-
-
-
-
Method Detail
-
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,java.lang.Void> buildModifyIdTokenProcessor(ExternalUpdateTokenContext context)
-
modifyRefreshToken
public boolean modifyRefreshToken(org.gluu.model.custom.script.conf.CustomScriptConfiguration script, RefreshToken refreshToken, ExternalUpdateTokenContext context)
-
modifyRefreshToken
public boolean modifyRefreshToken(RefreshToken refreshToken, ExternalUpdateTokenContext context)
-
modifyAccessToken
public boolean modifyAccessToken(org.gluu.model.custom.script.conf.CustomScriptConfiguration script, AccessToken accessToken, ExternalUpdateTokenContext context)
-
modifyAccessToken
public boolean modifyAccessToken(AccessToken accessToken, ExternalUpdateTokenContext context)
-
getAccessTokenLifetimeInSeconds
public int getAccessTokenLifetimeInSeconds(org.gluu.model.custom.script.conf.CustomScriptConfiguration script, ExternalUpdateTokenContext context)
-
getAccessTokenLifetimeInSeconds
public int getAccessTokenLifetimeInSeconds(ExternalUpdateTokenContext context)
-
getIdTokenLifetimeInSeconds
public int getIdTokenLifetimeInSeconds(org.gluu.model.custom.script.conf.CustomScriptConfiguration script, ExternalUpdateTokenContext context)
-
getIdTokenLifetimeInSeconds
public int getIdTokenLifetimeInSeconds(ExternalUpdateTokenContext context)
-
getRefreshTokenLifetimeInSeconds
public int getRefreshTokenLifetimeInSeconds(org.gluu.model.custom.script.conf.CustomScriptConfiguration script, ExternalUpdateTokenContext context)
-
getRefreshTokenLifetimeInSeconds
public int getRefreshTokenLifetimeInSeconds(ExternalUpdateTokenContext context)
-
-