简化单点登录集成步骤

This commit is contained in:
click33
2021-07-08 01:24:42 +08:00
parent 82f7d7f78c
commit 922e746eb1
33 changed files with 790 additions and 1136 deletions

View File

@@ -1,9 +1,10 @@
package cn.dev33.satoken.solon.model;
import cn.dev33.satoken.context.model.SaResponse;
import org.noear.solon.Utils;
import org.noear.solon.core.handle.Context;
import cn.dev33.satoken.context.model.SaResponse;
/**
* @author noear
* @since 1.4
@@ -40,4 +41,10 @@ public class SaResponseForSolon implements SaResponse {
ctx.headerSet(name, value);
return this;
}
@Override
public Object redirect(String url) {
ctx.redirect(url);
return null;
}
}