Interface TokenLoader

All Known Implementing Classes:
AttributeToken, AwsTokens, IdTokenLoader, KubectlTokenLoader, LoadToken, TOTPToken

public interface TokenLoader
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    init(HttpFilterConfig config, ScaleTokenConfig scaleTokenConfig)
    Called when the insert is loaded with configuration parameters
    loadToken(AuthInfo user, jakarta.servlet.http.HttpSession session, jakarta.servlet.http.HttpServletRequest request)
    Return an object to be serialized to JSON and sent to the client
  • Method Details

    • init

      void init(HttpFilterConfig config, ScaleTokenConfig scaleTokenConfig) throws Exception
      Called when the insert is loaded with configuration parameters
      Parameters:
      params -
      Throws:
      Exception
    • loadToken

      Object loadToken(AuthInfo user, jakarta.servlet.http.HttpSession session, jakarta.servlet.http.HttpServletRequest request) throws Exception
      Return an object to be serialized to JSON and sent to the client
      Parameters:
      user - The logged in user
      session - The user's session
      request - The user's request
      Returns:
      Object to serialize
      Throws:
      Exception