@RestController
@RequestMapping(value="${hsweb.web.mappings.oauth2-auth-info:oauth2/user-auth-info}")
public class OAuth2UserInfoController
extends Object
| 构造器和说明 |
|---|
OAuth2UserInfoController() |
| 限定符和类型 | 方法和说明 |
|---|---|
ResponseMessage<org.hswebframework.web.authorization.Authentication> |
getLoginUser(String access_token) |
ResponseMessage<org.hswebframework.web.authorization.Authentication> |
getUserById(String userId,
String access_token) |
@GetMapping public ResponseMessage<org.hswebframework.web.authorization.Authentication> getLoginUser(@RequestParam(value="access_token") String access_token)
@GetMapping(value="/{userId}")
public ResponseMessage<org.hswebframework.web.authorization.Authentication> getUserById(@PathVariable(value="userId")
String userId,
@RequestParam(value="access_token")
String access_token)
Copyright © 2016–2019. All rights reserved.