Interface OauthRestApi
-
public interface OauthRestApi
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method 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(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<OauthCodeResponseTO> oauthCode(@RequestParam("login") String login, @RequestParam("pin") String pin, @RequestParam("redirect_uri") String redirectUri)
-
oauthCode
@PostMapping("/authorise/oauth") org.springframework.http.ResponseEntity<OauthCodeResponseTO> oauthCode(@RequestParam("redirect_uri") String redirectUri)
-
oauthToken
@PostMapping("/token") org.springframework.http.ResponseEntity<BearerTokenTO> oauthToken(@RequestParam("code") String code)
-
oauthServerInfo
@GetMapping("/authorization-server") org.springframework.http.ResponseEntity<OauthServerInfoTO> oauthServerInfo()
-
-