Interface TokenLoader
- All Known Implementing Classes:
AttributeToken
,AwsTokens
,IdTokenLoader
,KubectlTokenLoader
,LoadToken
,TOTPToken
public interface TokenLoader
-
Method Summary
Modifier and TypeMethodDescriptionvoid
init
(HttpFilterConfig config, ScaleTokenConfig scaleTokenConfig) Called when the insert is loaded with configuration parametersloadToken
(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
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 usersession
- The user's sessionrequest
- The user's request- Returns:
- Object to serialize
- Throws:
Exception
-