Package com.adobe.granite.auth.oauth
Interface Provider2
-
- All Superinterfaces:
Provider
@ConsumerType @Deprecated public interface Provider2 extends Provider
Deprecated.TheProvider2
extends theProvider
interface and adds the ability to perform log-out operation.If a registered
Provider
service implements this interface thelogout(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 Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description java.lang.String
logout(ProviderConfig providerConfig)
Deprecated.This method will be called when the user clicks the logout button.-
Methods inherited from interface com.adobe.granite.auth.oauth.Provider
getAccessTokenPropertyPath, getApi, getCurrentUser, getDetailsURL, getErrorDescriptionFromValidateTokenResponseBody, getExtendedDetailsURLs, getExtendedDetailsURLs, getId, getName, getOAuthIdPropertyPath, getProtectedDataRequest, getType, getUserFolderPath, getUserIdFromValidateTokenResponseBody, getUserIdProperty, getValidateTokenUrl, isValidToken, mapProperties, mapUserId, onUserCreate, onUserUpdate, parseProfileDataResponse
-
-
-
-
Method Detail
-
logout
java.lang.String logout(ProviderConfig providerConfig)
Deprecated.This method will be called when the user clicks the logout button. If a registeredProvider
service implements this interface- Parameters:
providerConfig
- the providerConfig- Returns:
- the URL where to redirect after logout
- Since:
- 3.12
-
-