Interface ImsConfigProvider


@ProviderType public interface ImsConfigProvider
The IMSConfigProvider provides a configuration aggregating the IMS Provider config. and IMS OAuth config. for the configured configid. This class listens for changes in those config and stores a unified configuration with PID = com.adobe.granite.auth.ims.
  • Method Details

    • getImsLoginUrl

      String getImsLoginUrl()
      Returns:
      the relative URL that will start an IMS login flow associated with the configured configid or null if the configuration doesn't exist
    • getImsLoginUrl

      String getImsLoginUrl(HttpServletRequest request)
      Parameters:
      request - The request containing the information to be extracted in order to form the complete redirect_uri. The additional information are extracted from the 'resource' request parameter and the request context path
      Returns:
      the relative URL that will start an IMS login flow associated with the configured configid or null if the configuration doesn't exist
      Since:
      1.1.0
    • currentIMSInstance

      IMSInstance currentIMSInstance()
      Returns:
      the current configured IMS Instance
      Since:
      1.3.0