Class PsuAuthController
- java.lang.Object
-
- de.adorsys.opba.tppauthapi.controller.PsuAuthController
-
- All Implemented Interfaces:
PsuAuthenticationAndConsentApprovalApi,PsuAuthenticationApi
@RestController @CrossOrigin(origins="*") public class PsuAuthController extends Object implements PsuAuthenticationApi, PsuAuthenticationAndConsentApprovalApi
-
-
Field Summary
Fields Modifier and Type Field Description static Base64.EncoderENCODER-
Fields inherited from interface de.adorsys.opba.tppauthapi.resource.generated.PsuAuthenticationAndConsentApprovalApi
log
-
Fields inherited from interface de.adorsys.opba.tppauthapi.resource.generated.PsuAuthenticationApi
log
-
-
Constructor Summary
Constructors Constructor Description PsuAuthController()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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)
-
-
-
Field Detail
-
ENCODER
public static final Base64.Encoder ENCODER
-
-
Method Detail
-
login
public org.springframework.http.ResponseEntity<LoginResponse> login(PsuAuthBody psuAuthBody, UUID xRequestID)
- Specified by:
loginin interfacePsuAuthenticationApi
-
loginForApproval
public org.springframework.http.ResponseEntity<LoginResponse> loginForApproval(PsuAuthBody body, UUID xRequestId, String redirectCode, UUID authorizationId)
- Specified by:
loginForApprovalin interfacePsuAuthenticationAndConsentApprovalApi
-
loginForPaymentApproval
public org.springframework.http.ResponseEntity<LoginResponse> loginForPaymentApproval(PsuAuthBody body, UUID xRequestId, String redirectCode, UUID authorizationId)
- Specified by:
loginForPaymentApprovalin interfacePsuAuthenticationAndConsentApprovalApi
-
loginForAnonymousPaymentApproval
public org.springframework.http.ResponseEntity<LoginResponse> loginForAnonymousPaymentApproval(UUID xRequestId, UUID authorizationId, String redirectCode)
- Specified by:
loginForAnonymousPaymentApprovalin interfacePsuAuthenticationAndConsentApprovalApi
-
registration
public org.springframework.http.ResponseEntity<Void> registration(PsuAuthBody psuAuthDto, UUID xRequestID)
- Specified by:
registrationin interfacePsuAuthenticationApi
-
getObjectMapper
public Optional<com.fasterxml.jackson.databind.ObjectMapper> getObjectMapper()
- Specified by:
getObjectMapperin interfacePsuAuthenticationAndConsentApprovalApi- Specified by:
getObjectMapperin interfacePsuAuthenticationApi
-
getRequest
public Optional<javax.servlet.http.HttpServletRequest> getRequest()
- Specified by:
getRequestin interfacePsuAuthenticationAndConsentApprovalApi- Specified by:
getRequestin interfacePsuAuthenticationApi
-
renewalAuthorizationSessionKey
public org.springframework.http.ResponseEntity<Void> renewalAuthorizationSessionKey(UUID xRequestId, UUID authorizationId)
- Specified by:
renewalAuthorizationSessionKeyin interfacePsuAuthenticationApi
-
-