@RestController @RequestMapping(value="/consents") @MiddlewareUserResource public class ConsentResource extends Object implements ConsentRestAPI
BASE_PATH| Constructor and Description |
|---|
ConsentResource(MiddlewareAccountManagementService middlewareAccountService) |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.http.ResponseEntity<SCAConsentResponseTO> |
authorizeConsent(String consentId,
String authorisationId,
String authCode) |
org.springframework.http.ResponseEntity<SCAConsentResponseTO> |
getSCA(String consentId,
String authorisationId) |
org.springframework.http.ResponseEntity<SCAConsentResponseTO> |
grantPIISConsent(AisConsentTO pisConsent) |
org.springframework.http.ResponseEntity<SCAConsentResponseTO> |
selectMethod(String consentId,
String authorisationId,
String scaMethodId) |
org.springframework.http.ResponseEntity<SCAConsentResponseTO> |
startSCA(String consentId,
AisConsentTO aisConsent) |
public ConsentResource(MiddlewareAccountManagementService middlewareAccountService)
public org.springframework.http.ResponseEntity<SCAConsentResponseTO> startSCA(String consentId, AisConsentTO aisConsent)
startSCA in interface ConsentRestAPIpublic org.springframework.http.ResponseEntity<SCAConsentResponseTO> getSCA(String consentId, String authorisationId) throws ConflictRestException
getSCA in interface ConsentRestAPIConflictRestExceptionpublic org.springframework.http.ResponseEntity<SCAConsentResponseTO> selectMethod(String consentId, String authorisationId, String scaMethodId) throws ValidationRestException, ConflictRestException, NotFoundRestException
selectMethod in interface ConsentRestAPIValidationRestExceptionConflictRestExceptionNotFoundRestExceptionpublic org.springframework.http.ResponseEntity<SCAConsentResponseTO> authorizeConsent(String consentId, String authorisationId, String authCode) throws ValidationRestException, NotFoundRestException, GoneRestException
authorizeConsent in interface ConsentRestAPIValidationRestExceptionNotFoundRestExceptionGoneRestException@PreAuthorize(value="tokenUsage(\'DIRECT_ACCESS\') and accountInfoFor(#pisConsent)") public org.springframework.http.ResponseEntity<SCAConsentResponseTO> grantPIISConsent(AisConsentTO pisConsent)
grantPIISConsent in interface ConsentRestAPICopyright © 2019. All rights reserved.