public interface SCAApi
| Modifier and Type | Method and Description |
|---|---|
org.springframework.http.ResponseEntity<AuthorizeResponse> |
login(String login,
String pin)
STEP-P1, STEP-A1: Validates the login and password of a user.
|
org.springframework.http.ResponseEntity<AuthorizeResponse> |
selectMethod(String scaId,
String authorisationId,
String methodId,
String cookies)
Select a method for sending the authentication code.
|
org.springframework.http.ResponseEntity<AuthorizeResponse> |
validateAuthCode(String scaId,
String authorisationId,
String authCode,
String cookies) |
static final String BASE_PATH
@PostMapping(value="/login") org.springframework.http.ResponseEntity<AuthorizeResponse> login(@RequestParam(value="login") String login, @RequestParam(value="pin") String pin)
login - the customer banking loginpin - the customer banking pin@PostMapping(path="/{scaId}/authorisation/{authorisationId}/methods/{methodId}")
org.springframework.http.ResponseEntity<AuthorizeResponse> selectMethod(@PathVariable(value="scaId")
String scaId,
@PathVariable(value="authorisationId")
String authorisationId,
@PathVariable(value="methodId")
String methodId,
@RequestHeader(name="Cookie",required=false)
String cookies)
scaId - the id of the login processmethodId - the auth method idauthorisationId - the auth id.cookies - the cookie string@PostMapping(path="/{scaId}/authorisation/{authorisationId}/authCode",
params="authCode")
org.springframework.http.ResponseEntity<AuthorizeResponse> validateAuthCode(@PathVariable(value="scaId")
String scaId,
@PathVariable(value="authorisationId")
String authorisationId,
@RequestParam(name="authCode")
String authCode,
@RequestHeader(name="Cookie",required=false)
String cookies)
Copyright © 2019. All rights reserved.