优化 sa-token-context-grpc 模块注释

This commit is contained in:
click33 2023-05-12 17:55:54 +08:00
parent ea017c04e5
commit d06ef1052f
6 changed files with 6 additions and 1 deletions

View File

@ -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 {

View File

@ -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 {

View File

@ -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 =

View File

@ -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 {

View File

@ -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 {
/** /**

View File

@ -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 {