Class AnonOAuth2LinkService
java.lang.Object
dev.getelements.elements.service.auth.oauth2.AnonOAuth2LinkService
- All Implemented Interfaces:
OAuth2LinkService
Anonymous implementation of
OAuth2LinkService.
Always throws ForbiddenException; authentication is required to link accounts.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateSession(OAuth2SessionRequest oAuth2SessionRequest) Links an OAuth2 identity to the currently authenticated user's account.
-
Constructor Details
-
AnonOAuth2LinkService
public AnonOAuth2LinkService()
-
-
Method Details
-
createSession
Description copied from interface:OAuth2LinkServiceLinks an OAuth2 identity to the currently authenticated user's account.- Specified by:
createSessionin interfaceOAuth2LinkService- Parameters:
oAuth2SessionRequest- the OAuth2 session request containing the external token- Returns:
- the resulting
SessionCreation
-