Class OAuth2AuthServiceOperations
java.lang.Object
dev.getelements.elements.service.auth.oauth2.OAuth2AuthServiceOperations
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateOrUpdateUserWithToken(OAuth2SessionRequest oAuth2SessionRequest, BiFunction<String, String, User> userMapper) longvoidsetApplicationDao(ApplicationDao applicationDao) voidsetoAuth2AuthSchemeDao(OAuth2AuthSchemeDao oAuth2AuthSchemeDao) voidsetProfileDao(ProfileDao profileDao) voidsetRequestInvoker(OAuth2AuthServiceRequestInvoker requestInvoker) voidsetSessionDao(SessionDao SessionDao) voidsetSessionTimeoutSeconds(long sessionTimeoutSeconds)
-
Constructor Details
-
OAuth2AuthServiceOperations
public OAuth2AuthServiceOperations()
-
-
Method Details
-
createOrUpdateUserWithToken
public SessionCreation createOrUpdateUserWithToken(OAuth2SessionRequest oAuth2SessionRequest, BiFunction<String, String, User> userMapper) -
getProfileDao
-
setProfileDao
-
getSessionDao
-
setSessionDao
-
getApplicationDao
-
setApplicationDao
-
getSessionTimeoutSeconds
public long getSessionTimeoutSeconds() -
setSessionTimeoutSeconds
@Inject public void setSessionTimeoutSeconds(@Named("dev.getelements.elements.session.timeout.seconds") long sessionTimeoutSeconds) -
getoAuth2AuthSchemeDao
-
setoAuth2AuthSchemeDao
-
getRequestInvoker
-
setRequestInvoker
-