Class DynamicScopeExternalContext
- java.lang.Object
-
- io.jans.service.external.context.ExternalScriptContext
-
- io.jans.as.server.service.external.context.ExternalScriptContext
-
- io.jans.as.server.service.external.context.DynamicScopeExternalContext
-
public class DynamicScopeExternalContext extends ExternalScriptContext
Holds object required in dynamic scope custom scripts- Author:
- Yuriy Movchan Date: 07/01/2015
-
-
Constructor Summary
Constructors Constructor Description DynamicScopeExternalContext(List<Scope> dynamicScopes, io.jans.as.model.token.JsonWebResponse jsonWebResponse, IAuthorizationGrant authorizationGrant)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IAuthorizationGrant
getAuthorizationGrant()
List<String>
getDynamicScopes()
This method is used by scripts.io.jans.as.model.token.JsonWebResponse
getJsonWebResponse()
List<Scope>
getScopes()
io.jans.as.common.model.common.User
getUser()
-
Methods inherited from class io.jans.as.server.service.external.context.ExternalScriptContext
createWebApplicationException, createWebApplicationException, getAuthzDetail, getAuthzRequest, getEntryAttributeValue, getEntryByDn, getExecutionContext, getPersistenceEntryManager, getWebApplicationException, isInNetwork, setWebApplicationException, throwWebApplicationExceptionIfSet
-
-
-
-
Constructor Detail
-
DynamicScopeExternalContext
public DynamicScopeExternalContext(List<Scope> dynamicScopes, io.jans.as.model.token.JsonWebResponse jsonWebResponse, IAuthorizationGrant authorizationGrant)
-
-
Method Detail
-
getDynamicScopes
public List<String> getDynamicScopes()
This method is used by scripts.- Returns:
- dynamic scopes as string
-
getJsonWebResponse
public io.jans.as.model.token.JsonWebResponse getJsonWebResponse()
-
getAuthorizationGrant
public IAuthorizationGrant getAuthorizationGrant()
-
getUser
public io.jans.as.common.model.common.User getUser()
-
-