Class DynamicScopeExternalContext
- java.lang.Object
-
- org.gluu.service.external.context.ExternalScriptContext
-
- org.gluu.oxauth.service.external.context.ExternalScriptContext
-
- org.gluu.oxauth.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(java.util.List<Scope> dynamicScopes, JsonWebResponse jsonWebResponse, IAuthorizationGrant authorizationGrant)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IAuthorizationGrant
getAuthorizationGrant()
java.util.List<java.lang.String>
getDynamicScopes()
This method is used by scripts.JsonWebResponse
getJsonWebResponse()
java.util.List<Scope>
getScopes()
User
getUser()
-
Methods inherited from class org.gluu.oxauth.service.external.context.ExternalScriptContext
createWebApplicationException, createWebApplicationException, getEntryAttributeValue, getEntryByDn, getPersistenceEntryManager, getWebApplicationException, isInNetwork, setWebApplicationException, throwWebApplicationExceptionIfSet
-
-
-
-
Constructor Detail
-
DynamicScopeExternalContext
public DynamicScopeExternalContext(java.util.List<Scope> dynamicScopes, JsonWebResponse jsonWebResponse, IAuthorizationGrant authorizationGrant)
-
-
Method Detail
-
getDynamicScopes
public java.util.List<java.lang.String> getDynamicScopes()
This method is used by scripts.- Returns:
- dynamic scopes as string
-
getScopes
public java.util.List<Scope> getScopes()
-
getJsonWebResponse
public JsonWebResponse getJsonWebResponse()
-
getAuthorizationGrant
public IAuthorizationGrant getAuthorizationGrant()
-
getUser
public User getUser()
-
-