Package de.dlr.proseo.api.prip.rest
Schnittstelle TokenController
@RestController
@Validated
@RequestMapping(value="/proseo/prip/{version}/token",
produces="application/octet-stream")
public interface TokenController
No description
(Generated with springmvc-raml-parser v.2.0.5)
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungorg.springframework.http.ResponseEntity
<OAuth2Response> getToken
(String grantType, String username, String password, String scope, org.springframework.http.HttpHeaders httpHeaders) Create an authentication token and a refresh token for the user identified in the Basic Auth header
-
Methodendetails
-
getToken
@RequestMapping(value="", method=POST) org.springframework.http.ResponseEntity<OAuth2Response> getToken(@RequestParam(name="grant_type") String grantType, @RequestParam(required=false) String username, @RequestParam(required=false) String password, @RequestParam(required=false) String scope, @RequestHeader org.springframework.http.HttpHeaders httpHeaders) Create an authentication token and a refresh token for the user identified in the Basic Auth header
-