@RestController @CrossOrigin(origins="*") public class PsuAuthController extends Object implements PsuAuthenticationApi, PsuAuthenticationAndConsentApprovalApi
Modifier and Type | Field and Description |
---|---|
static Base64.Encoder |
ENCODER |
log
log
Constructor and Description |
---|
PsuAuthController() |
Modifier and Type | Method and Description |
---|---|
Optional<com.fasterxml.jackson.databind.ObjectMapper> |
getObjectMapper() |
Optional<javax.servlet.http.HttpServletRequest> |
getRequest() |
org.springframework.http.ResponseEntity<LoginResponse> |
login(PsuAuthBody psuAuthBody,
UUID xRequestID) |
org.springframework.http.ResponseEntity<LoginResponse> |
loginForAnonymousPaymentApproval(UUID xRequestId,
UUID authorizationId,
String redirectCode) |
org.springframework.http.ResponseEntity<LoginResponse> |
loginForApproval(PsuAuthBody body,
UUID xRequestId,
String redirectCode,
UUID authorizationId) |
org.springframework.http.ResponseEntity<LoginResponse> |
loginForPaymentApproval(PsuAuthBody body,
UUID xRequestId,
String redirectCode,
UUID authorizationId) |
org.springframework.http.ResponseEntity<Void> |
registration(PsuAuthBody psuAuthDto,
UUID xRequestID) |
org.springframework.http.ResponseEntity<Void> |
renewalAuthorizationSessionKey(UUID xRequestId,
UUID authorizationId) |
public static final Base64.Encoder ENCODER
public org.springframework.http.ResponseEntity<LoginResponse> login(PsuAuthBody psuAuthBody, UUID xRequestID)
login
in interface PsuAuthenticationApi
public org.springframework.http.ResponseEntity<LoginResponse> loginForApproval(PsuAuthBody body, UUID xRequestId, String redirectCode, UUID authorizationId)
loginForApproval
in interface PsuAuthenticationAndConsentApprovalApi
public org.springframework.http.ResponseEntity<LoginResponse> loginForPaymentApproval(PsuAuthBody body, UUID xRequestId, String redirectCode, UUID authorizationId)
loginForPaymentApproval
in interface PsuAuthenticationAndConsentApprovalApi
public org.springframework.http.ResponseEntity<LoginResponse> loginForAnonymousPaymentApproval(UUID xRequestId, UUID authorizationId, String redirectCode)
loginForAnonymousPaymentApproval
in interface PsuAuthenticationAndConsentApprovalApi
public org.springframework.http.ResponseEntity<Void> registration(PsuAuthBody psuAuthDto, UUID xRequestID)
registration
in interface PsuAuthenticationApi
public Optional<com.fasterxml.jackson.databind.ObjectMapper> getObjectMapper()
getObjectMapper
in interface PsuAuthenticationAndConsentApprovalApi
getObjectMapper
in interface PsuAuthenticationApi
public Optional<javax.servlet.http.HttpServletRequest> getRequest()
getRequest
in interface PsuAuthenticationAndConsentApprovalApi
getRequest
in interface PsuAuthenticationApi
public org.springframework.http.ResponseEntity<Void> renewalAuthorizationSessionKey(UUID xRequestId, UUID authorizationId)
renewalAuthorizationSessionKey
in interface PsuAuthenticationApi
Copyright © 2020. All rights reserved.