Package de.adorsys.xs2a.adapter.rest.api
Interface Oauth2Api
-
public interface Oauth2Api
-
-
Field Summary
Fields Modifier and Type Field Description static StringAUTHORIZATION_REQUEST_URI
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description de.adorsys.xs2a.adapter.api.model.HrefTypegetAuthorizationUrl(Map<String,String> headers, Map<String,String> parameters)TokenResponseTOgetToken(Map<String,String> headers, Map<String,String> parameters)
-
-
-
Field Detail
-
AUTHORIZATION_REQUEST_URI
static final String AUTHORIZATION_REQUEST_URI
- See Also:
- Constant Field Values
-
-
Method Detail
-
getAuthorizationUrl
@GetMapping("/oauth2/authorization-request-uri") de.adorsys.xs2a.adapter.api.model.HrefType getAuthorizationUrl(@RequestHeader Map<String,String> headers, @RequestParam Map<String,String> parameters) throws IOException- Throws:
IOException
-
getToken
@PostMapping("/oauth2/token") TokenResponseTO getToken(@RequestHeader Map<String,String> headers, @RequestParam Map<String,String> parameters) throws IOException- Throws:
IOException
-
-