public interface OauthRestApi
| Modifier and Type | Method and Description |
|---|---|
org.springframework.http.ResponseEntity<OauthCodeResponseTO> |
oauthCode(String redirectUri) |
org.springframework.http.ResponseEntity<OauthCodeResponseTO> |
oauthCode(String login,
String pin,
String redirectUri) |
org.springframework.http.ResponseEntity<OauthServerInfoTO> |
oauthServerInfo() |
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="/authorise/oauth") org.springframework.http.ResponseEntity<OauthCodeResponseTO> oauthCode(@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)
@GetMapping(value="/authorization-server") org.springframework.http.ResponseEntity<OauthServerInfoTO> oauthServerInfo()
Copyright © 2021. All rights reserved.