Interface ObaOauthApi
-
public interface ObaOauthApi
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.springframework.http.ResponseEntity<de.adorsys.ledgers.middleware.api.domain.oauth.OauthCodeResponseTO>oauthCode(String login, String pin, String redirectUri)de.adorsys.ledgers.middleware.api.domain.oauth.OauthServerInfoTOoauthServerInfo(String redirectId, String paymentId, String consentId, String cancellationId)org.springframework.http.ResponseEntity<de.adorsys.ledgers.middleware.api.domain.um.BearerTokenTO>oauthToken(String code)
-
-
-
Field Detail
-
BASE_PATH
static final String BASE_PATH
- See Also:
- Constant Field Values
-
-
Method Detail
-
oauthCode
@PostMapping("/authorise") org.springframework.http.ResponseEntity<de.adorsys.ledgers.middleware.api.domain.oauth.OauthCodeResponseTO> oauthCode(@RequestHeader("login") String login, @RequestHeader("pin") String pin, @RequestParam("redirect_uri") String redirectUri)
-
oauthToken
@PostMapping("/token") org.springframework.http.ResponseEntity<de.adorsys.ledgers.middleware.api.domain.um.BearerTokenTO> oauthToken(@RequestParam("code") String code)
-
oauthServerInfo
@GetMapping("/authorization-server") de.adorsys.ledgers.middleware.api.domain.oauth.OauthServerInfoTO oauthServerInfo(@RequestParam(required=false) String redirectId, @RequestParam(required=false) String paymentId, @RequestParam(required=false) String consentId, @RequestParam(required=false) String cancellationId)
-
-