Package com.adobe.granite.auth.oauth
Interface Provider2
- All Superinterfaces:
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 Summary
Modifier and TypeMethodDescriptionlogout(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 Details
-
logout
Deprecated.This method will be called when the user clicks the logout button. If a registeredProviderservice implements this interface- Parameters:
providerConfig- the providerConfig- Returns:
- the URL where to redirect after logout
- Since:
- 3.12
-