@RestController @TokenResource @RequestMapping(path="/token/password-grant") public class PasswordGrantController extends Object
| Constructor and Description |
|---|
PasswordGrantController() |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.http.ResponseEntity<Object> |
passwordGrant(String grant_type,
String[] resources,
String[] audiences,
String scope,
String username,
String password) |
@GetMapping(produces="application/json") public org.springframework.http.ResponseEntity<Object> passwordGrant(@RequestParam(value="grant_type") String grant_type, @RequestParam(name="resource",required=false) String[] resources, @RequestParam(name="audience",required=false) String[] audiences, @RequestParam(name="scope",required=false) String scope, @RequestParam(value="username") String username, @RequestParam(value="password") String password)
Copyright © 2020. All rights reserved.