public interface OauthRestApi
| Modifier and Type | Method and Description |
|---|---|
org.springframework.http.ResponseEntity<OauthCodeResponseTO> |
oauthCode(String login,
String pin,
String redirectUri) |
org.springframework.http.ResponseEntity<BearerTokenTO> |
oauthToken(GrantTypeTO grantType,
String code) |
static final String BASE_PATH
@PostMapping(value="/authorise") org.springframework.http.ResponseEntity<OauthCodeResponseTO> oauthCode(@RequestParam(value="login") String login, @RequestParam(value="pin") String pin, @RequestParam(value="redirect_uri") String redirectUri)
@PostMapping(value="/token") org.springframework.http.ResponseEntity<BearerTokenTO> oauthToken(@RequestParam(value="grant_type") GrantTypeTO grantType, @RequestParam(value="code") String code)
Copyright © 2019. All rights reserved.