Package de.adorsys.xs2a.adapter.impl
Class BaseOauth2Service
- java.lang.Object
-
- de.adorsys.xs2a.adapter.impl.BaseOauth2Service
-
- All Implemented Interfaces:
Oauth2Service,Oauth2ValidationService
public class BaseOauth2Service extends Object implements Oauth2Service
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface de.adorsys.xs2a.adapter.api.Oauth2Service
Oauth2Service.GrantType, Oauth2Service.Parameters, Oauth2Service.ResponseType
-
-
Constructor Summary
Constructors Constructor Description BaseOauth2Service(Aspsp aspsp, HttpClient httpClient)BaseOauth2Service(Aspsp aspsp, HttpClient httpClient, HttpLogSanitizer logSanitizer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description URIgetAuthorizationRequestUri(Map<String,String> headers, Oauth2Service.Parameters parameters)TokenResponsegetToken(Map<String,String> headers, Oauth2Service.Parameters parameters)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface de.adorsys.xs2a.adapter.api.validation.Oauth2ValidationService
validateGetAuthorizationRequestUri, validateGetToken
-
-
-
-
Constructor Detail
-
BaseOauth2Service
public BaseOauth2Service(Aspsp aspsp, HttpClient httpClient)
-
BaseOauth2Service
public BaseOauth2Service(Aspsp aspsp, HttpClient httpClient, HttpLogSanitizer logSanitizer)
-
-
Method Detail
-
getAuthorizationRequestUri
public URI getAuthorizationRequestUri(Map<String,String> headers, Oauth2Service.Parameters parameters) throws IOException
- Specified by:
getAuthorizationRequestUriin interfaceOauth2Service- Throws:
IOException
-
getToken
public TokenResponse getToken(Map<String,String> headers, Oauth2Service.Parameters parameters) throws IOException
- Specified by:
getTokenin interfaceOauth2Service- Throws:
IOException
-
-