public interface MiddlewareOnlineBankingService
| Modifier and Type | Method and Description |
|---|---|
SCALoginResponseTO |
authenticateForLogin(ScaInfoTO scaInfoTO)
PROC: 02c
|
SCALoginResponseTO |
authorise(String login,
String pin,
UserRoleTO role)
Performs user authorization.
|
SCALoginResponseTO |
authoriseForConsent(String login,
String pin,
String consentId,
String authorisationId,
OpTypeTO opType)
Special login associated with a account information, a payment or a payment cancellation consent.
|
SCALoginResponseTO |
generateLoginAuthCode(ScaInfoTO scaInfoTO,
String userMessage,
int validitySeconds)
After the PSU selects the SCA method, this is called to generate and send the login auth code.
|
UserTO |
register(String login,
String email,
String pin,
UserRoleTO role)
Registers a User.
|
BearerTokenTO |
validate(String accessToken)
Caller can be sure that returned user object contains a mirror of permissions
contained in the token.
|
UserTO register(String login, String email, String pin, UserRoleTO role)
login - the login of the useremail - the email of the userpin - the pin of this userrole - the initial role of the user.SCALoginResponseTO authorise(String login, String pin, UserRoleTO role)
The returned String will be a signed JWT containing user access rights and sca data.
login - User loginpin - User PINrole - The intended role.SCALoginResponseTO authoriseForConsent(String login, String pin, String consentId, String authorisationId, OpTypeTO opType)
login - the login of the customerpin - the password of the customerconsentId - the consentId or paymentIdauthorisationId - the authorisationIdopType - the operation typeBearerTokenTO validate(String accessToken)
accessToken - : the access tokenSCALoginResponseTO generateLoginAuthCode(ScaInfoTO scaInfoTO, String userMessage, int validitySeconds)
After the PSU selects the SCA method, this is called to generate and send the login auth code.
scaInfoTO - SCA informationuserMessage - message to uservaliditySeconds - validity in secondn.SCALoginResponseTO authenticateForLogin(ScaInfoTO scaInfoTO)
This is called when the user enters the received code.
scaInfoTO - : SCA informationCopyright © 2019. All rights reserved.