Interface BankIdSessionReader
- All Known Implementing Classes:
BankIdSessions
public interface BankIdSessionReader
Interface for reading from the BankID session.
- Author:
- Martin Lindström, Felix Hellman
-
Method Summary
Modifier and TypeMethodDescriptionloadCompletionData
(jakarta.servlet.http.HttpServletRequest request) Loads finalCollectResponse
.loadContext
(jakarta.servlet.http.HttpServletRequest request) Loads the BankID context.loadPreviousSelectedDevice
(jakarta.servlet.http.HttpServletRequest request) Loads device selection.loadSessionData
(jakarta.servlet.http.HttpServletRequest request) Loads session data.loadUserVisibleData
(jakarta.servlet.http.HttpServletRequest request) Loads uservisible data.
-
Method Details
-
loadSessionData
Loads session data.- Parameters:
request
- the current request for the user to determine session key- Returns:
- a
BankIdSessionState
-
loadCompletionData
Loads finalCollectResponse
.- Parameters:
request
- the current request for the user to determine session key- Returns:
- the final
CollectResponse
from the BankID API containing CompletionData
-
loadPreviousSelectedDevice
Loads device selection.- Parameters:
request
- the current request for the user to determine session key- Returns:
- device selection from last successful authentication for the current user
-
loadUserVisibleData
Loads uservisible data.- Parameters:
request
- the current request for the user to determine session key- Returns:
- user visible data to be displayed in app
-
loadContext
Loads the BankID context.- Parameters:
request
- the servlet request- Returns:
- a
BankIdContext
-