@RestController @RequestMapping(value="/consents") @MiddlewareUserResource public class ConsentResource extends Object implements ConsentRestAPI
BASE_PATH| Constructor and Description |
|---|
ConsentResource() |
| 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 aisConsent) |
org.springframework.http.ResponseEntity<SCAConsentResponseTO> |
selectMethod(String consentId,
String authorisationId,
String scaMethodId) |
org.springframework.http.ResponseEntity<SCAConsentResponseTO> |
startSCA(String consentId,
AisConsentTO aisConsent) |
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)
getSCA in interface ConsentRestAPIpublic org.springframework.http.ResponseEntity<SCAConsentResponseTO> selectMethod(String consentId, String authorisationId, String scaMethodId)
selectMethod in interface ConsentRestAPIpublic org.springframework.http.ResponseEntity<SCAConsentResponseTO> authorizeConsent(String consentId, String authorisationId, String authCode)
authorizeConsent in interface ConsentRestAPI@PreAuthorize(value="tokenUsage(\'DIRECT_ACCESS\') and accountInfoFor(#aisConsent)") public org.springframework.http.ResponseEntity<SCAConsentResponseTO> grantPIISConsent(AisConsentTO aisConsent)
grantPIISConsent in interface ConsentRestAPICopyright © 2019. All rights reserved.