类 AuthAppService
java.lang.Object
xyz.raylab.authorizationserver.auth.application.AuthAppService
- 所有已实现的接口:
SystemUserChangedHandler
认证的用例服务
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明void处理系统用户已变更事件登录void注销刷新访问令牌
-
构造器详细资料
-
AuthAppService
@Autowired public AuthAppService(AuthService authService, ApplicationEventPublisher applicationEventPublisher)
-
-
方法详细资料
-
login
登录- 参数:
username- 用户名password- 密码- 返回:
- 结果
-
refresh
刷新访问令牌- 参数:
refreshToken- 刷新令牌- 返回:
- 结果
-
logout
注销- 参数:
token- 访问令牌
-
handleSystemUserChanged
从接口复制的说明:SystemUserChangedHandler处理系统用户已变更事件- 指定者:
handleSystemUserChanged在接口中SystemUserChangedHandler- 参数:
event- 事件
-