Interface BankIdSessionWriter
- All Known Implementing Classes:
BankIdSessions
public interface BankIdSessionWriter
Interface for writing to the BankID session.
- Author:
- Martin Lindström, Felix Hellman
-
Method Summary
Modifier and TypeMethodDescriptionvoid
delete
(jakarta.servlet.http.HttpServletRequest request) Deletes everything except device selection for finalized authentication.void
save
(jakarta.servlet.http.HttpServletRequest request, PreviousDeviceSelection previousDeviceSelection) Loads previous device selection from successful authentication.void
save
(jakarta.servlet.http.HttpServletRequest request, BankIdSessionData data) SavesBankIdSessionData
to repository.void
save
(jakarta.servlet.http.HttpServletRequest request, UserVisibleData userVisibleData) Loads user visible data to be displayed in BankID application.void
save
(jakarta.servlet.http.HttpServletRequest request, CollectResponse data) Saves the finalCollectResponse
that contains CompletionData.
-
Method Details
-
save
SavesBankIdSessionData
to repository. Overwrites data if order reference is the same.- Parameters:
request
- to determine session keydata
- to be saved
-
save
Saves the finalCollectResponse
that contains CompletionData.- Parameters:
request
- to determine session keydata
- to be saved
-
delete
void delete(jakarta.servlet.http.HttpServletRequest request) Deletes everything except device selection for finalized authentication.- Parameters:
request
- to determine session key
-
save
void save(jakarta.servlet.http.HttpServletRequest request, PreviousDeviceSelection previousDeviceSelection) Loads previous device selection from successful authentication.- Parameters:
request
- to determine session keypreviousDeviceSelection
- device used for authentication
-
save
Loads user visible data to be displayed in BankID application.- Parameters:
request
- to determine session keyuserVisibleData
- message that should be displayed in app
-