Interface Provider2

All Superinterfaces:
Provider

@ConsumerType @Deprecated public interface Provider2 extends Provider
Deprecated.
The Provider2 extends the Provider interface and adds the ability to perform log-out operation.

If a registered Provider service implements this interface the logout(ProviderConfig) method is called when the user clicks the logout button.

Provider2 is deprecated since it doesn't allow enough parameters for proper logout Use composition of Provider + ProviderLogout.

Since:
3.12
  • Method Details

    • logout

      String logout(ProviderConfig providerConfig)
      Deprecated.
      This method will be called when the user clicks the logout button. If a registered Provider service implements this interface
      Parameters:
      providerConfig - the providerConfig
      Returns:
      the URL where to redirect after logout
      Since:
      3.12