Interface AdapterTokenStoreFactory

All Known Implementing Classes:
SpringSecurityAdapterTokenStoreFactory

public interface AdapterTokenStoreFactory
Creates a per-request adapter token store.
Author:
Scott Rossillo
  • Method Details

    • createAdapterTokenStore

      AdapterTokenStore createAdapterTokenStore(KeycloakDeployment deployment, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
      Returns a new AdapterTokenStore for the given KeycloakDeployment and request.
      Parameters:
      deployment - the KeycloakDeployment (required)
      request - the current HttpServletRequest (required)
      response - the current HttpServletResponse (required when using cookies)
      Returns:
      a new AdapterTokenStore for the given deployment, request and response
      Throws:
      IllegalArgumentException - if any required parameter is null