Class DynamicScopeExternalContext


  • public class DynamicScopeExternalContext
    extends ExternalScriptContext
    Holds object required in dynamic scope custom scripts
    Author:
    Yuriy Movchan Date: 07/01/2015
    • 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()
      • getUser

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