mirror of
https://gitee.com/dromara/sa-token.git
synced 2025-07-31 15:56:18 +08:00
优化 sa-token-context-grpc 模块注释
This commit is contained in:
parent
ea017c04e5
commit
d06ef1052f
@ -8,6 +8,7 @@ import org.springframework.stereotype.Component;
|
|||||||
* Sa-Token 二级Context - 创建器 [Grpc版]
|
* Sa-Token 二级Context - 创建器 [Grpc版]
|
||||||
*
|
*
|
||||||
* @author lym
|
* @author lym
|
||||||
|
* @since <= 1.34.0
|
||||||
*/
|
*/
|
||||||
@Component
|
@Component
|
||||||
public class SaTokenSecondContextCreatorForGrpc implements SaTokenSecondContextCreator {
|
public class SaTokenSecondContextCreatorForGrpc implements SaTokenSecondContextCreator {
|
||||||
|
@ -14,6 +14,7 @@ import cn.dev33.satoken.exception.ApiDisabledException;
|
|||||||
* Sa-Token 上下文 [grpc版本]
|
* Sa-Token 上下文 [grpc版本]
|
||||||
*
|
*
|
||||||
* @author lym
|
* @author lym
|
||||||
|
* @since <= 1.34.0
|
||||||
*/
|
*/
|
||||||
public class SaTokenSecondContextForGrpc implements SaTokenSecondContext {
|
public class SaTokenSecondContextForGrpc implements SaTokenSecondContext {
|
||||||
|
|
||||||
|
@ -8,7 +8,7 @@ import io.grpc.Metadata;
|
|||||||
* 常量
|
* 常量
|
||||||
*
|
*
|
||||||
* @author lym
|
* @author lym
|
||||||
* @since: 2022/8/26 14:27
|
* @since 2022/8/26 14:27
|
||||||
*/
|
*/
|
||||||
public class GrpcContextConstants {
|
public class GrpcContextConstants {
|
||||||
public static final Metadata.Key<String> SA_SAME_TOKEN =
|
public static final Metadata.Key<String> SA_SAME_TOKEN =
|
||||||
|
@ -10,6 +10,7 @@ import java.util.Map;
|
|||||||
* Request for grpc
|
* Request for grpc
|
||||||
*
|
*
|
||||||
* @author lym
|
* @author lym
|
||||||
|
* @since <= 1.34.0
|
||||||
*/
|
*/
|
||||||
public class SaRequestForGrpc implements SaRequest {
|
public class SaRequestForGrpc implements SaRequest {
|
||||||
|
|
||||||
|
@ -7,6 +7,7 @@ import cn.dev33.satoken.context.model.SaResponse;
|
|||||||
* Response for grpc
|
* Response for grpc
|
||||||
*
|
*
|
||||||
* @author lym
|
* @author lym
|
||||||
|
* @since <= 1.34.0
|
||||||
*/
|
*/
|
||||||
public class SaResponseForGrpc implements SaResponse {
|
public class SaResponseForGrpc implements SaResponse {
|
||||||
/**
|
/**
|
||||||
|
@ -7,6 +7,7 @@ import cn.dev33.satoken.context.model.SaStorage;
|
|||||||
* Storage for grpc
|
* Storage for grpc
|
||||||
*
|
*
|
||||||
* @author lym
|
* @author lym
|
||||||
|
* @since <= 1.34.0
|
||||||
*/
|
*/
|
||||||
public class SaStorageForGrpc implements SaStorage {
|
public class SaStorageForGrpc implements SaStorage {
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user