public class JwtInterceptor extends Object implements com.jfinal.aop.Interceptor
| 构造器和说明 |
|---|
JwtInterceptor() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
intercept(com.jfinal.aop.Invocation inv) |
private void |
refreshIfNecessary(com.jfinal.core.Controller controller,
Map oldData)
对 jwt 内容进行刷新
|
private void |
responseJwt(com.jfinal.core.Controller controller,
Map map)
输出 jwt 内容到客户端
|
public JwtInterceptor()
public void intercept(com.jfinal.aop.Invocation inv)
intercept 在接口中 com.jfinal.aop.Interceptorprivate void refreshIfNecessary(com.jfinal.core.Controller controller, Map oldData)
controller - oldData - private void responseJwt(com.jfinal.core.Controller controller, Map map)
controller - map - Copyright © 2024. All rights reserved.