Class ExternalUpdateTokenContext
- java.lang.Object
-
- io.jans.service.external.context.ExternalScriptContext
-
- io.jans.as.server.service.external.context.ExternalScriptContext
-
- io.jans.as.server.service.external.context.ExternalUpdateTokenContext
-
public class ExternalUpdateTokenContext extends ExternalScriptContext
- Author:
- Yuriy Movchan
-
-
Constructor Summary
Constructors Constructor Description ExternalUpdateTokenContext(jakarta.servlet.http.HttpServletRequest httpRequest, AuthorizationGrant grant, io.jans.as.common.model.registration.Client client, io.jans.as.model.configuration.AppConfiguration appConfiguration, io.jans.as.common.service.AttributeService attributeService)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description io.jans.as.model.configuration.AppConfigurationgetAppConfiguration()io.jans.as.common.service.AttributeServicegetAttributeService()io.jans.as.model.jwt.JwtClaimsgetClaims()io.jans.as.common.model.registration.ClientgetClient()@Nullable ExecutionContextgetExecutionContext()AuthorizationGrantgetGrant()io.jans.as.model.jwt.JwtgetJwt()JwtSignergetJwtSigner()io.jans.model.custom.script.conf.CustomScriptConfigurationgetScript()booleanisRefreshingGrant()static ExternalUpdateTokenContextof(ExecutionContext executionContext)static ExternalUpdateTokenContextof(ExecutionContext executionContext, JwtSigner jwtSigner)voidoverwriteAccessTokenScopes(AccessToken accessToken, java.util.Set<java.lang.String> newScopes)voidsetExecutionContext(@Nullable ExecutionContext executionContext)voidsetJwtSigner(JwtSigner jwtSigner)voidsetScript(io.jans.model.custom.script.conf.CustomScriptConfiguration script)ExecutionContexttoExecutionContext()-
Methods inherited from class io.jans.as.server.service.external.context.ExternalScriptContext
createWebApplicationException, createWebApplicationException, getEntryAttributeValue, getEntryByDn, getPersistenceEntryManager, getWebApplicationException, isInNetwork, setWebApplicationException, throwWebApplicationExceptionIfSet
-
-
-
-
Constructor Detail
-
ExternalUpdateTokenContext
public ExternalUpdateTokenContext(jakarta.servlet.http.HttpServletRequest httpRequest, AuthorizationGrant grant, io.jans.as.common.model.registration.Client client, io.jans.as.model.configuration.AppConfiguration appConfiguration, io.jans.as.common.service.AttributeService attributeService)
-
-
Method Detail
-
of
public static ExternalUpdateTokenContext of(ExecutionContext executionContext)
-
of
public static ExternalUpdateTokenContext of(ExecutionContext executionContext, JwtSigner jwtSigner)
-
toExecutionContext
public ExecutionContext toExecutionContext()
-
getClaims
public io.jans.as.model.jwt.JwtClaims getClaims()
-
getJwt
public io.jans.as.model.jwt.Jwt getJwt()
-
getJwtSigner
public JwtSigner getJwtSigner()
-
setJwtSigner
public void setJwtSigner(JwtSigner jwtSigner)
-
getScript
public io.jans.model.custom.script.conf.CustomScriptConfiguration getScript()
-
setScript
public void setScript(io.jans.model.custom.script.conf.CustomScriptConfiguration script)
-
getClient
public io.jans.as.common.model.registration.Client getClient()
-
getGrant
public AuthorizationGrant getGrant()
-
getAppConfiguration
public io.jans.as.model.configuration.AppConfiguration getAppConfiguration()
-
getAttributeService
public io.jans.as.common.service.AttributeService getAttributeService()
-
isRefreshingGrant
public boolean isRefreshingGrant()
-
getExecutionContext
@Nullable public @Nullable ExecutionContext getExecutionContext()
-
setExecutionContext
public void setExecutionContext(@Nullable @Nullable ExecutionContext executionContext)
-
overwriteAccessTokenScopes
public void overwriteAccessTokenScopes(AccessToken accessToken, java.util.Set<java.lang.String> newScopes)
-
-