Interface OauthRestApi


  • public interface OauthRestApi
    • 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()