@Service public class TanConfirmationService extends Object
| Constructor and Description |
|---|
TanConfirmationService() |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.http.ResponseEntity |
confirmTan(String psuId,
String tanNumber,
String consentId,
ConfirmationType confirmationType)
Gets new Tan and sends it to psu's email for payment confirmation
|
boolean |
generateAndSendTanForPsuById(String psuId)
Generates new Tan and sends it to psu's email for payment confirmation
|
boolean |
sendUserAuthRequestWithPreSelectedScaMethod(String psuId,
String authenticationMethodId)
Sends Authorization Request to user with selected Sca Method
|
public boolean sendUserAuthRequestWithPreSelectedScaMethod(String psuId, String authenticationMethodId)
psuId - PSU idauthenticationMethodId - An Id of Sca method selected by PSUpublic boolean generateAndSendTanForPsuById(String psuId)
psuId - PSU idpublic org.springframework.http.ResponseEntity confirmTan(String psuId, String tanNumber, String consentId, ConfirmationType confirmationType)
psuId - PSU idtanNumber - TANCopyright © 2018. All rights reserved.