Package io.gravitee.am.service
Interface AuthenticationFlowContextService
- All Known Implementing Classes:
AuthenticationFlowContextServiceImpl
public interface AuthenticationFlowContextService
- Author:
- Eric LELEU (eric.leleu at graviteesource.com), GraviteeSource Team
-
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 context) Update the AuthFlowContext in the database.
-
Method Details
-
loadContext
io.reactivex.rxjava3.core.Maybe<AuthenticationFlowContext> loadContext(String transactionId, int expectedVersion) -
removeContext
io.reactivex.rxjava3.core.Maybe<AuthenticationFlowContext> removeContext(String transactionId, int expectedVersion) -
updateContext
io.reactivex.rxjava3.core.Single<AuthenticationFlowContext> updateContext(AuthenticationFlowContext context) Update the AuthFlowContext in the database. This method will manage the increment of the context version.- Parameters:
context-- Returns:
-
clearContext
-