Package com.adobe.granite.auth.ims
Interface ImsConfigProvider
-
@ProviderType public interface ImsConfigProvider
TheIMSConfigProviderprovides a configuration aggregating the IMS Provider config. and IMS OAuth config. for the configuredconfigid. This class listens for changes in those config and stores a unified configuration with PID =com.adobe.granite.auth.ims.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IMSInstancecurrentIMSInstance()java.lang.StringgetImsLoginUrl()java.lang.StringgetImsLoginUrl(HttpServletRequest request)
-
-
-
Method Detail
-
getImsLoginUrl
java.lang.String getImsLoginUrl()
- Returns:
- the relative URL that will start an IMS login flow
associated with the configured
configidornullif the configuration doesn't exist
-
getImsLoginUrl
java.lang.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
configidornullif the configuration doesn't exist - Since:
- 1.1.0
-
currentIMSInstance
IMSInstance currentIMSInstance()
- Returns:
- the current configured IMS Instance
- Since:
- 1.3.0
-
-