Package de.adorsys.xs2a.adapter.impl
Class Oauth2ServiceDecorator
- java.lang.Object
-
- de.adorsys.xs2a.adapter.impl.Oauth2ServiceDecorator
-
- All Implemented Interfaces:
Oauth2Service,Oauth2ValidationService
- Direct Known Subclasses:
ScopeWithResourceIdOauth2Service
public abstract class Oauth2ServiceDecorator 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
-
-
Field Summary
Fields Modifier and Type Field Description protected Oauth2Serviceoauth2Service
-
Constructor Summary
Constructors Constructor Description Oauth2ServiceDecorator(Oauth2Service oauth2Service)
-
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)List<ValidationError>validateGetAuthorizationRequestUri(Map<String,String> headers, Oauth2Service.Parameters parameters)List<ValidationError>validateGetToken(Map<String,String> headers, Oauth2Service.Parameters parameters)
-
-
-
Field Detail
-
oauth2Service
protected final Oauth2Service oauth2Service
-
-
Constructor Detail
-
Oauth2ServiceDecorator
public Oauth2ServiceDecorator(Oauth2Service oauth2Service)
-
-
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
-
validateGetAuthorizationRequestUri
public List<ValidationError> validateGetAuthorizationRequestUri(Map<String,String> headers, Oauth2Service.Parameters parameters)
- Specified by:
validateGetAuthorizationRequestUriin interfaceOauth2ValidationService
-
validateGetToken
public List<ValidationError> validateGetToken(Map<String,String> headers, Oauth2Service.Parameters parameters)
- Specified by:
validateGetTokenin interfaceOauth2ValidationService
-
-