@RestController @TokenResource @RequestMapping(path="/token/token-exchange") public class TokenExchangeController extends Object
| Constructor and Description |
|---|
TokenExchangeController() |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.http.ResponseEntity<Object> |
tokenExchange(String grant_type,
String[] resources,
String[] audiences,
String scope,
String requested_token_type,
String subject_token,
String subject_token_type,
String actor_token,
String actor_token_type) |
@GetMapping(consumes="application/x-www-form-urlencoded",
produces="application/json")
public org.springframework.http.ResponseEntity<Object> tokenExchange(@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(name="requested_token_type",required=false)
String requested_token_type,
@RequestParam(value="subject_token")
String subject_token,
@RequestParam(value="subject_token_type")
String subject_token_type,
@RequestParam(name="actor_token",required=false)
String actor_token,
@RequestParam(name="actor_token_type",required=false)
String actor_token_type)
Copyright © 2017. All rights reserved.