Package de.adorsys.xs2a.adapter.impl
Class CertificateSubjectClientIdOauth2Service
- java.lang.Object
-
- de.adorsys.xs2a.adapter.impl.CertificateSubjectClientIdOauth2Service
-
- All Implemented Interfaces:
Oauth2Service,Oauth2ValidationService
public class CertificateSubjectClientIdOauth2Service extends Object implements Oauth2Service
Sets client_id parameter to organization identifier from eIDAS certificate.
-
-
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 CertificateSubjectClientIdOauth2Service(Oauth2Service oauth2Service, Pkcs12KeyStore keyStore)
-
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
-
CertificateSubjectClientIdOauth2Service
public CertificateSubjectClientIdOauth2Service(Oauth2Service oauth2Service, Pkcs12KeyStore keyStore)
-
-
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
-
-