public final class OrganizationAuth
extends Object
提供基本的认证逻辑
- 版本:
- 1.1.4
- 作者:
- scx567888
-
-
方法概要
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
构造器详细资料
-
OrganizationAuth
public OrganizationAuth()
-
方法详细资料
-
getLoginUser
public static User getLoginUser()
获取登录用户
- 返回:
- r
-
-
-
getLoginUserByToken
public static User getLoginUserByToken(String token)
根据 token 获取用户
- 参数:
token - a String object.
- 返回:
- a
User object.