Class OauthProfileServiceWrapper
- java.lang.Object
-
- de.adorsys.aspsp.xs2a.connector.oauth.OauthProfileServiceWrapper
-
- All Implemented Interfaces:
de.adorsys.psd2.aspsp.profile.service.AspspProfileService
@Primary @Service public class OauthProfileServiceWrapper extends Object implements de.adorsys.psd2.aspsp.profile.service.AspspProfileService
ASPSP profile wrapper, responsible for substituting real scaRedirectFlow value and modifying redirect and oauth links from profile. Needed for dynamic resolution of scaRedirectFlow without changing the profile itself.
-
-
Constructor Summary
Constructors Constructor Description OauthProfileServiceWrapper(de.adorsys.psd2.aspsp.profile.service.AspspProfileService aspspProfileService, OauthDataHolder oauthDataHolder, de.adorsys.psd2.xs2a.service.discovery.ServiceTypeDiscoveryService serviceTypeDiscoveryService, String aisIntegratedOauthSuffix, String pisIntegratedOauthSuffix, String aisPreStepOauthSuffix, String pisPreStepOauthSuffix)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description de.adorsys.psd2.aspsp.profile.domain.AspspSettingsgetAspspSettings()List<de.adorsys.psd2.xs2a.core.profile.ScaApproach>getScaApproaches()
-
-
-
Constructor Detail
-
OauthProfileServiceWrapper
public OauthProfileServiceWrapper(de.adorsys.psd2.aspsp.profile.service.AspspProfileService aspspProfileService, OauthDataHolder oauthDataHolder, de.adorsys.psd2.xs2a.service.discovery.ServiceTypeDiscoveryService serviceTypeDiscoveryService, @Value("${oauth.integrated.ais.suffix:?consentId={encrypted-consent-id}&redirectId={redirect-id}}") String aisIntegratedOauthSuffix, @Value("${oauth.integrated.pis.suffix:?paymentId={encrypted-payment-id}&redirectId={redirect-id}}") String pisIntegratedOauthSuffix, @Value("${oauth.pre-step.ais.suffix:&token=}") String aisPreStepOauthSuffix, @Value("${oauth.pre-step.pis.suffix:&token=}") String pisPreStepOauthSuffix)
-
-
Method Detail
-
getAspspSettings
public de.adorsys.psd2.aspsp.profile.domain.AspspSettings getAspspSettings()
- Specified by:
getAspspSettingsin interfacede.adorsys.psd2.aspsp.profile.service.AspspProfileService
-
getScaApproaches
public List<de.adorsys.psd2.xs2a.core.profile.ScaApproach> getScaApproaches()
- Specified by:
getScaApproachesin interfacede.adorsys.psd2.aspsp.profile.service.AspspProfileService
-
-