类 AuthServiceGuard
java.lang.Object
xyz.raylab.authorizationserver.auth.domain.service.AuthServiceGuard
- 所有已实现的接口:
AuthService
认证服务守卫,AuthService实现类的代理,在基础上提供功能增强
- 作者:
- ray_kwan
-
构造器概要
构造器构造器说明AuthServiceGuard(SystemUserService systemUserService, AuthStateManager authStateManager, AuthServiceImpl impl) -
方法概要
修饰符和类型方法说明login(AuthCredential credential) 登录void注销刷新认证令牌voidupdateLoginUser(String username) 更新登录用户validate(AuthCredential credential) 验证凭证的合法性
-
构造器详细资料
-
AuthServiceGuard
@Autowired public AuthServiceGuard(SystemUserService systemUserService, AuthStateManager authStateManager, AuthServiceImpl impl)
-
-
方法详细资料
-
validate
从接口复制的说明:AuthService验证凭证的合法性- 指定者:
validate在接口中AuthService- 参数:
credential- 凭证,包含用户名和密码- 返回:
- 系统用户
-
login
从接口复制的说明:AuthService登录- 指定者:
login在接口中AuthService- 参数:
credential- 凭证,包含用户名和密码- 返回:
- 认证令牌
-
refresh
从接口复制的说明:AuthService刷新认证令牌- 指定者:
refresh在接口中AuthService- 参数:
refreshToken- 刷新令牌- 返回:
- 认证令牌
-
logout
从接口复制的说明:AuthService注销- 指定者:
logout在接口中AuthService- 参数:
token- 访问令牌
-
updateLoginUser
从接口复制的说明:AuthService更新登录用户- 指定者:
updateLoginUser在接口中AuthService- 参数:
username- 用户名
-