Class OAuth2AuthServiceOperations
java.lang.Object
dev.getelements.elements.service.auth.OAuth2AuthServiceOperations
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateOrUpdateUserWithToken
(OAuth2SessionRequest oAuth2SessionRequest, BiFunction<String, String, User> userMapper) jakarta.ws.rs.client.Client
long
void
setApplicationDao
(ApplicationDao applicationDao) void
setClient
(jakarta.ws.rs.client.Client client) void
setNameService
(NameService nameService) void
setOAuth2AuthSchemeDao
(OAuth2AuthSchemeDao oAuth2AuthSchemeDao) void
setProfileDao
(ProfileDao profileDao) void
setSessionDao
(SessionDao SessionDao) void
setSessionTimeoutSeconds
(long sessionTimeoutSeconds)
-
Constructor Details
-
OAuth2AuthServiceOperations
public OAuth2AuthServiceOperations()
-
-
Method Details
-
createOrUpdateUserWithToken
public SessionCreation createOrUpdateUserWithToken(OAuth2SessionRequest oAuth2SessionRequest, BiFunction<String, String, User> userMapper) -
getClient
public jakarta.ws.rs.client.Client getClient() -
setClient
@Inject public void setClient(jakarta.ws.rs.client.Client client) -
getNameService
-
setNameService
-
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
-