@RestController @RequestMapping(value="/auth") public class AuthController extends Object
| Constructor and Description |
|---|
AuthController() |
| Modifier and Type | Method and Description |
|---|---|
void |
logout()
退出登录
使当前用户在当前时间之前生成的token全部失效 只有token意外泄露才使用此方法 一般情况下退出登录只需要前端清除保存的token |
Copyright © 2019. All rights reserved.