@RestController @RequestMapping(value="/users") @MiddlewareUserResource public class UserMgmtResource extends Object implements UserMgmtRestAPI
BASE_PATH| Constructor and Description |
|---|
UserMgmtResource() |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.http.ResponseEntity<SCALoginResponseTO> |
authorise(String login,
String pin,
UserRoleTO role) |
org.springframework.http.ResponseEntity<SCALoginResponseTO> |
authoriseForConsent(String consentId,
String authorisationId,
OpTypeTO opType) |
org.springframework.http.ResponseEntity<SCALoginResponseTO> |
authoriseForConsent(String login,
String pin,
String consentId,
String authorisationId,
OpTypeTO opType) |
org.springframework.http.ResponseEntity<SCALoginResponseTO> |
authorizeLogin(String scaId,
String authorisationId,
String authCode) |
org.springframework.http.ResponseEntity<AuthConfirmationTO> |
completeAuthConfirmation(String authorisationId,
boolean authCodeConfirmed) |
org.springframework.http.ResponseEntity<List<UserTO>> |
getAllUsers() |
org.springframework.http.ResponseEntity<UserTO> |
getUser() |
org.springframework.http.ResponseEntity<UserTO> |
getUserById(String userId) |
org.springframework.http.ResponseEntity<Boolean> |
multilevel(String login,
String iban) |
org.springframework.http.ResponseEntity<Boolean> |
multilevelAccounts(String login,
List<AccountReferenceTO> references) |
org.springframework.http.ResponseEntity<UserTO> |
register(String login,
String email,
String pin,
UserRoleTO role) |
org.springframework.http.ResponseEntity<SCALoginResponseTO> |
selectMethod(String scaId,
String authorisationId,
String scaMethodId) |
org.springframework.http.ResponseEntity<Void> |
updateScaDataByUserId(String userId,
List<ScaUserDataTO> data) |
org.springframework.http.ResponseEntity<Void> |
updateUserScaData(List<ScaUserDataTO> data) |
org.springframework.http.ResponseEntity<BearerTokenTO> |
validate(String token) |
org.springframework.http.ResponseEntity<AuthConfirmationTO> |
verifyAuthConfirmationCode(String authorisationId,
String authConfirmCode) |
public org.springframework.http.ResponseEntity<Boolean> multilevel(String login, String iban)
multilevel in interface UserMgmtRestAPIpublic org.springframework.http.ResponseEntity<Boolean> multilevelAccounts(String login, List<AccountReferenceTO> references)
multilevelAccounts in interface UserMgmtRestAPIpublic org.springframework.http.ResponseEntity<UserTO> register(String login, String email, String pin, UserRoleTO role)
register in interface UserMgmtRestAPIpublic org.springframework.http.ResponseEntity<SCALoginResponseTO> authorise(String login, String pin, UserRoleTO role)
authorise in interface UserMgmtRestAPIpublic org.springframework.http.ResponseEntity<SCALoginResponseTO> authoriseForConsent(String login, String pin, String consentId, String authorisationId, OpTypeTO opType)
authoriseForConsent in interface UserMgmtRestAPIpublic org.springframework.http.ResponseEntity<SCALoginResponseTO> authoriseForConsent(String consentId, String authorisationId, OpTypeTO opType)
authoriseForConsent in interface UserMgmtRestAPI@PreAuthorize(value="loginToken(#scaId,#authorisationId)") public org.springframework.http.ResponseEntity<SCALoginResponseTO> selectMethod(String scaId, String authorisationId, String scaMethodId)
selectMethod in interface UserMgmtRestAPI@PreAuthorize(value="loginToken(#scaId,#authorisationId)") public org.springframework.http.ResponseEntity<SCALoginResponseTO> authorizeLogin(String scaId, String authorisationId, String authCode)
authorizeLogin in interface UserMgmtRestAPIpublic org.springframework.http.ResponseEntity<BearerTokenTO> validate(String token)
validate in interface UserMgmtRestAPI@PreAuthorize(value="hasAnyRole(\'STAFF\',\'SYSTEM\')") public org.springframework.http.ResponseEntity<UserTO> getUserById(String userId)
getUserById in interface UserMgmtRestAPI@PreAuthorize(value="tokenUsage(\'DIRECT_ACCESS\')") public org.springframework.http.ResponseEntity<UserTO> getUser()
getUser in interface UserMgmtRestAPI@PreAuthorize(value="tokenUsage(\'DIRECT_ACCESS\')") public org.springframework.http.ResponseEntity<Void> updateUserScaData(List<ScaUserDataTO> data)
updateUserScaData in interface UserMgmtRestAPI@PutMapping(value="/{userId}/sca-data")
@PreAuthorize(value="hasAnyRole(\'STAFF\',\'SYSTEM\')")
public org.springframework.http.ResponseEntity<Void> updateScaDataByUserId(@PathVariable
String userId,
@RequestBody
List<ScaUserDataTO> data)
@PreAuthorize(value="hasAnyRole(\'STAFF\',\'SYSTEM\')") public org.springframework.http.ResponseEntity<List<UserTO>> getAllUsers()
getAllUsers in interface UserMgmtRestAPI@PreAuthorize(value="tokenUsages(\'DIRECT_ACCESS\',\'DELEGATED_ACCESS\')") public org.springframework.http.ResponseEntity<AuthConfirmationTO> verifyAuthConfirmationCode(String authorisationId, String authConfirmCode)
verifyAuthConfirmationCode in interface UserMgmtRestAPI@PreAuthorize(value="tokenUsages(\'DIRECT_ACCESS\',\'DELEGATED_ACCESS\')") public org.springframework.http.ResponseEntity<AuthConfirmationTO> completeAuthConfirmation(String authorisationId, boolean authCodeConfirmed)
completeAuthConfirmation in interface UserMgmtRestAPICopyright © 2020. All rights reserved.