Package | Description |
---|---|
waiter.kernel.model.api | |
waiter.kernel.model.auth.context |
Modifier and Type | Method and Description |
---|---|
AbstractLoginUser |
AuthService.getLoginUserByToken(String token)
通过token获取用户信息
|
Modifier and Type | Method and Description |
---|---|
<T extends AbstractLoginUser> |
AbstractLoginContext.getLoginUser()
获取当前用户
|
Modifier and Type | Method and Description |
---|---|
static AbstractLoginUser |
LoginUserHolder.get()
这个方法如果OPEN_UP_FLAG标识没开启,则会get值为null
|
Modifier and Type | Method and Description |
---|---|
static void |
LoginUserHolder.set(AbstractLoginUser abstractLoginUser)
这个方法如果OPEN_UP_FLAG标识没开启,则会set失效
|
Copyright © 2018. All rights reserved.