ZhiZhun.AuthenticationCenter
    
    
        
            
            数据库校验
            
            
            
            
        
        
            
            生成Token+RefreshToken
            
            
            
            
        
        
            
            简单封装个注入
            
        
        
            
            用户信息
            
            
            
        
        
            
            获取Token+RefreshToken
            
            
            Token+RefreshToken
        
        
            
            基于refreshToken获取Token
            
            
            
        
        
            
            对称可逆加密
            
        
        
            
            刷新token的有效期问题上端校验
            
            
            
        
        
            
            2个token  就是有效期不一样
            
            
            
        
        
            
            刷新token的有效期问题上端校验
            
            
            
        
        
            
            从本地文件中读取用来签发 Token 的 RSA Key
            
            存放密钥的文件夹路径
            
            
            
        
        
            
            生成并保存 RSA 公钥与私钥
            
            存放密钥的文件夹路径
            
        
        
            Holder for reflection information generated from Protos/GrpcToken.proto
        
        
            File descriptor for Protos/GrpcToken.proto
        
        
            
            新增用户时需要传递数据消息, 可理解为一个类
            
        
        
            Field number for the "id" field.
        
        
            Field number for the "userName" field.
        
        
            Field number for the "realName" field.
        
        
            Field number for the "reviewerCode" field.
        
        
            Field number for the "userTypeEnumInt" field.
        
        
            Field number for the "userTypeShortName" field.
        
        
            Field number for the "isAdmin" field.
        
        
            
            新增时返回的消息格式
            
        
        
            Field number for the "code" field.
        
        
            Field number for the "token" field.
        
        
            
            service 用标识定义服务的,里面写对应的方法
            
        
        
            Service descriptor
        
        
            Base class for server-side implementations of TokenGrpcService
        
        
            
            获取token
            
            The request received from the client.
            The context of the server-side call handler being invoked.
            The response to send back to the client (wrapped by a task).
        
        
            Creates service definition that can be registered with a server
            An object implementing the server-side handling logic.
        
        
            Register service method with a service binder with or without implementation. Useful when customizing the  service binding logic.
            Note: this method is part of an experimental API that can change or be removed without any prior notice.
            Service methods will be bound by calling AddMethod on this object.
            An object implementing the server-side handling logic.