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​(java.util.List<Scope> dynamicScopes,
                                           io.jans.as.model.token.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 io.jans.as.model.token.JsonWebResponse getJsonWebResponse()
      • getUser

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