mirror of
https://gitee.com/dromara/sa-token.git
synced 2024-11-30 02:48:10 +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版]
|
||||
*
|
||||
* @author lym
|
||||
* @since <= 1.34.0
|
||||
*/
|
||||
@Component
|
||||
public class SaTokenSecondContextCreatorForGrpc implements SaTokenSecondContextCreator {
|
||||
|
@ -14,6 +14,7 @@ import cn.dev33.satoken.exception.ApiDisabledException;
|
||||
* Sa-Token 上下文 [grpc版本]
|
||||
*
|
||||
* @author lym
|
||||
* @since <= 1.34.0
|
||||
*/
|
||||
public class SaTokenSecondContextForGrpc implements SaTokenSecondContext {
|
||||
|
||||
|
@ -8,7 +8,7 @@ import io.grpc.Metadata;
|
||||
* 常量
|
||||
*
|
||||
* @author lym
|
||||
* @since: 2022/8/26 14:27
|
||||
* @since 2022/8/26 14:27
|
||||
*/
|
||||
public class GrpcContextConstants {
|
||||
public static final Metadata.Key<String> SA_SAME_TOKEN =
|
||||
|
@ -10,6 +10,7 @@ import java.util.Map;
|
||||
* Request for grpc
|
||||
*
|
||||
* @author lym
|
||||
* @since <= 1.34.0
|
||||
*/
|
||||
public class SaRequestForGrpc implements SaRequest {
|
||||
|
||||
|
@ -7,6 +7,7 @@ import cn.dev33.satoken.context.model.SaResponse;
|
||||
* Response for grpc
|
||||
*
|
||||
* @author lym
|
||||
* @since <= 1.34.0
|
||||
*/
|
||||
public class SaResponseForGrpc implements SaResponse {
|
||||
/**
|
||||
|
@ -7,6 +7,7 @@ import cn.dev33.satoken.context.model.SaStorage;
|
||||
* Storage for grpc
|
||||
*
|
||||
* @author lym
|
||||
* @since <= 1.34.0
|
||||
*/
|
||||
public class SaStorageForGrpc implements SaStorage {
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user