Class RedirectScaResource
- java.lang.Object
-
- de.adorsys.ledgers.middleware.rest.resource.RedirectScaResource
-
- All Implemented Interfaces:
RedirectScaRestAPI
@RestController @RequestMapping("/sca") @MiddlewareUserResource public class RedirectScaResource extends Object implements RedirectScaRestAPI
-
-
Field Summary
-
Fields inherited from interface de.adorsys.ledgers.middleware.rest.resource.RedirectScaRestAPI
BASE_PATH
-
-
Constructor Summary
Constructors Constructor Description RedirectScaResource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.springframework.http.ResponseEntity<GlobalScaResponseTO>getSCA(String authorisationId)org.springframework.http.ResponseEntity<GlobalScaResponseTO>selectMethod(String authorisationId, String scaMethodId)org.springframework.http.ResponseEntity<GlobalScaResponseTO>startSca(StartScaOprTO startScaOpr)org.springframework.http.ResponseEntity<GlobalScaResponseTO>validateScaCode(String authorisationId, String authCode)
-
-
-
Method Detail
-
startSca
@PreAuthorize("hasScaScope() and hasAccessToAccountByScaOperation(#startScaOpr)") public org.springframework.http.ResponseEntity<GlobalScaResponseTO> startSca(StartScaOprTO startScaOpr)- Specified by:
startScain interfaceRedirectScaRestAPI
-
getSCA
@PreAuthorize("hasScaScope() and hasAccessToAccountByAuthorizationId(#authorisationId)") public org.springframework.http.ResponseEntity<GlobalScaResponseTO> getSCA(String authorisationId)- Specified by:
getSCAin interfaceRedirectScaRestAPI
-
selectMethod
@PreAuthorize("hasScaScope() and hasAccessToAccountByAuthorizationId(#authorisationId)") public org.springframework.http.ResponseEntity<GlobalScaResponseTO> selectMethod(String authorisationId, String scaMethodId)- Specified by:
selectMethodin interfaceRedirectScaRestAPI
-
validateScaCode
@PreAuthorize("hasScaScope() and hasAccessToAccountByAuthorizationId(#authorisationId)") public org.springframework.http.ResponseEntity<GlobalScaResponseTO> validateScaCode(String authorisationId, String authCode)- Specified by:
validateScaCodein interfaceRedirectScaRestAPI
-
-