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
- Author:
- Yuriy Movchan
-
Field Summary
Fields inherited from class io.jans.service.external.context.ExternalScriptContext
httpRequest, httpResponse
-
Constructor Summary
ConstructorsConstructorDescriptionExternalUpdateTokenContext
(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
Modifier and TypeMethodDescriptionio.jans.as.model.configuration.AppConfiguration
io.jans.as.common.service.AttributeService
io.jans.as.model.jwt.JwtClaims
io.jans.as.common.model.registration.Client
@Nullable ExecutionContext
getGrant()
io.jans.as.model.jwt.JwtHeader
io.jans.as.model.jwt.Jwt
getJwt()
io.jans.model.custom.script.conf.CustomScriptConfiguration
boolean
static ExternalUpdateTokenContext
of
(ExecutionContext executionContext) static ExternalUpdateTokenContext
of
(ExecutionContext executionContext, JwtSigner jwtSigner) void
overwriteAccessTokenScopes
(AccessToken accessToken, Set<String> newScopes) void
setExecutionContext
(@Nullable ExecutionContext executionContext) void
setGrant
(AuthorizationGrant grant) void
setJwtSigner
(JwtSigner jwtSigner) void
setScript
(io.jans.model.custom.script.conf.CustomScriptConfiguration script) Methods inherited from class io.jans.as.server.service.external.context.ExternalScriptContext
createWebApplicationException, createWebApplicationException, getAuthzDetail, getAuthzRequest, getEntryAttributeValue, getEntryByDn, getPersistenceEntryManager, getRequestParameter, getWebApplicationException, isInNetwork, setWebApplicationException, throwWebApplicationExceptionIfSet
Methods inherited from class io.jans.service.external.context.ExternalScriptContext
getContextVariables, getHttpRequest, getHttpResponse, getIpAddress, getLog
-
Constructor Details
-
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 Details
-
of
-
of
-
toExecutionContext
-
getClaims
public io.jans.as.model.jwt.JwtClaims getClaims() -
getHeader
public io.jans.as.model.jwt.JwtHeader getHeader() -
getJwt
public io.jans.as.model.jwt.Jwt getJwt() -
getJwtSigner
-
setJwtSigner
-
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
-
setGrant
-
getAppConfiguration
public io.jans.as.model.configuration.AppConfiguration getAppConfiguration() -
getAttributeService
public io.jans.as.common.service.AttributeService getAttributeService() -
isRefreshingGrant
public boolean isRefreshingGrant() -
getExecutionContext
- Overrides:
getExecutionContext
in classExternalScriptContext
-
setExecutionContext
-
overwriteAccessTokenScopes
-