Package io.gravitee.am.service.impl
Class AuthenticationFlowContextServiceImpl
java.lang.Object
io.gravitee.am.service.impl.AuthenticationFlowContextServiceImpl
- All Implemented Interfaces:
AuthenticationFlowContextService
@Component
public class AuthenticationFlowContextServiceImpl
extends Object
implements AuthenticationFlowContextService
- Author:
- Eric LELEU (eric.leleu at graviteesource.com), GraviteeSource Team
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionio.reactivex.rxjava3.core.CompletableclearContext(String transactionId) io.reactivex.rxjava3.core.Maybe<AuthenticationFlowContext>loadContext(String transactionId, int expectedVersion) io.reactivex.rxjava3.core.Maybe<AuthenticationFlowContext>removeContext(String transactionId, int expectedVersion) io.reactivex.rxjava3.core.Single<AuthenticationFlowContext>updateContext(AuthenticationFlowContext authContext) Update the AuthFlowContext in the database.
-
Constructor Details
-
AuthenticationFlowContextServiceImpl
public AuthenticationFlowContextServiceImpl()
-
-
Method Details
-
clearContext
- Specified by:
clearContextin interfaceAuthenticationFlowContextService
-
loadContext
public io.reactivex.rxjava3.core.Maybe<AuthenticationFlowContext> loadContext(String transactionId, int expectedVersion) - Specified by:
loadContextin interfaceAuthenticationFlowContextService
-
removeContext
public io.reactivex.rxjava3.core.Maybe<AuthenticationFlowContext> removeContext(String transactionId, int expectedVersion) - Specified by:
removeContextin interfaceAuthenticationFlowContextService
-
updateContext
public io.reactivex.rxjava3.core.Single<AuthenticationFlowContext> updateContext(AuthenticationFlowContext authContext) Description copied from interface:AuthenticationFlowContextServiceUpdate the AuthFlowContext in the database. This method will manage the increment of the context version.- Specified by:
updateContextin interfaceAuthenticationFlowContextService- Returns:
-