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 Details

    • DynamicScopeExternalContext

      public DynamicScopeExternalContext(List<io.jans.as.persistence.model.Scope> dynamicScopes, io.jans.as.model.token.JsonWebResponse jsonWebResponse, IAuthorizationGrant authorizationGrant)
  • Method Details

    • getDynamicScopes

      public List<String> getDynamicScopes()
      This method is used by scripts.
      Returns:
      dynamic scopes as string
    • getScopes

      public List<io.jans.as.persistence.model.Scope> getScopes()
    • getJsonWebResponse

      public io.jans.as.model.token.JsonWebResponse getJsonWebResponse()
    • getAuthorizationGrant

      public IAuthorizationGrant getAuthorizationGrant()
    • getUser

      public io.jans.as.common.model.common.User getUser()