Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterUserAuthServiceServer(s grpc.ServiceRegistrar, srv UserAuthServiceServer)
- type CaptchaResponse
- func (*CaptchaResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CaptchaResponse) GetCaptchaId() string
- func (x *CaptchaResponse) GetCaptchaImg() string
- func (*CaptchaResponse) ProtoMessage()
- func (x *CaptchaResponse) ProtoReflect() protoreflect.Message
- func (x *CaptchaResponse) Reset()
- func (x *CaptchaResponse) String() string
- type CaptchaVerifyRequest
- func (*CaptchaVerifyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CaptchaVerifyRequest) GetCaptchaId() string
- func (x *CaptchaVerifyRequest) GetVerifyValue() string
- func (*CaptchaVerifyRequest) ProtoMessage()
- func (x *CaptchaVerifyRequest) ProtoReflect() protoreflect.Message
- func (x *CaptchaVerifyRequest) Reset()
- func (x *CaptchaVerifyRequest) String() string
- type CaptchaVerifyResponse
- func (*CaptchaVerifyResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CaptchaVerifyResponse) GetCaptchaId() string
- func (x *CaptchaVerifyResponse) GetVerifyResult() bool
- func (x *CaptchaVerifyResponse) GetVerifyValue() string
- func (*CaptchaVerifyResponse) ProtoMessage()
- func (x *CaptchaVerifyResponse) ProtoReflect() protoreflect.Message
- func (x *CaptchaVerifyResponse) Reset()
- func (x *CaptchaVerifyResponse) String() string
- type EmptyRequest
- type EmptyResponse
- type GetUserRolesResponse
- func (*GetUserRolesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetUserRolesResponse) GetRoleIds() []string
- func (x *GetUserRolesResponse) GetSystemId() string
- func (x *GetUserRolesResponse) GetUserId() string
- func (*GetUserRolesResponse) ProtoMessage()
- func (x *GetUserRolesResponse) ProtoReflect() protoreflect.Message
- func (x *GetUserRolesResponse) Reset()
- func (x *GetUserRolesResponse) String() string
- type GetUserSystemsResponse
- func (*GetUserSystemsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetUserSystemsResponse) GetSystems() []*SystemInfo
- func (x *GetUserSystemsResponse) GetUserId() string
- func (*GetUserSystemsResponse) ProtoMessage()
- func (x *GetUserSystemsResponse) ProtoReflect() protoreflect.Message
- func (x *GetUserSystemsResponse) Reset()
- func (x *GetUserSystemsResponse) String() string
- type IdRequest
- type LoginRequest
- func (*LoginRequest) Descriptor() ([]byte, []int)deprecated
- func (x *LoginRequest) GetAccount() string
- func (x *LoginRequest) GetAccountType() string
- func (x *LoginRequest) GetPassword() string
- func (*LoginRequest) ProtoMessage()
- func (x *LoginRequest) ProtoReflect() protoreflect.Message
- func (x *LoginRequest) Reset()
- func (x *LoginRequest) String() string
- type LoginResponse
- func (*LoginResponse) Descriptor() ([]byte, []int)deprecated
- func (x *LoginResponse) GetAccount() string
- func (x *LoginResponse) GetAvatar() string
- func (x *LoginResponse) GetEmail() string
- func (x *LoginResponse) GetId() string
- func (x *LoginResponse) GetMphone() string
- func (x *LoginResponse) GetTenantId() string
- func (x *LoginResponse) GetUsername() string
- func (*LoginResponse) ProtoMessage()
- func (x *LoginResponse) ProtoReflect() protoreflect.Message
- func (x *LoginResponse) Reset()
- func (x *LoginResponse) String() string
- type MenuInfo
- func (*MenuInfo) Descriptor() ([]byte, []int)deprecated
- func (x *MenuInfo) GetCode() string
- func (x *MenuInfo) GetId() string
- func (x *MenuInfo) GetName() string
- func (x *MenuInfo) GetParentId() string
- func (x *MenuInfo) GetType() string
- func (x *MenuInfo) GetUrl() string
- func (*MenuInfo) ProtoMessage()
- func (x *MenuInfo) ProtoReflect() protoreflect.Message
- func (x *MenuInfo) Reset()
- func (x *MenuInfo) String() string
- type MinioUrlRequest
- func (*MinioUrlRequest) Descriptor() ([]byte, []int)deprecated
- func (x *MinioUrlRequest) GetBucketName() string
- func (x *MinioUrlRequest) GetObjectName() string
- func (x *MinioUrlRequest) GetUrlType() int32
- func (*MinioUrlRequest) ProtoMessage()
- func (x *MinioUrlRequest) ProtoReflect() protoreflect.Message
- func (x *MinioUrlRequest) Reset()
- func (x *MinioUrlRequest) String() string
- type MinioUrlResponse
- type PermissionRequest
- func (*PermissionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PermissionRequest) GetMethod() string
- func (x *PermissionRequest) GetTenantId() string
- func (x *PermissionRequest) GetUri() string
- func (x *PermissionRequest) GetUserid() string
- func (*PermissionRequest) ProtoMessage()
- func (x *PermissionRequest) ProtoReflect() protoreflect.Message
- func (x *PermissionRequest) Reset()
- func (x *PermissionRequest) String() string
- type PermissionResponse
- func (*PermissionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PermissionResponse) GetAccess() bool
- func (*PermissionResponse) ProtoMessage()
- func (x *PermissionResponse) ProtoReflect() protoreflect.Message
- func (x *PermissionResponse) Reset()
- func (x *PermissionResponse) String() string
- type RoleData
- func (*RoleData) Descriptor() ([]byte, []int)deprecated
- func (x *RoleData) GetBusinessDataIds() string
- func (x *RoleData) GetDistrictScopes() string
- func (x *RoleData) GetId() string
- func (x *RoleData) GetOrgIds() string
- func (x *RoleData) GetOrgScope() int32
- func (x *RoleData) GetRoleId() string
- func (*RoleData) ProtoMessage()
- func (x *RoleData) ProtoReflect() protoreflect.Message
- func (x *RoleData) Reset()
- func (x *RoleData) String() string
- type RoleDataResponse
- func (*RoleDataResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RoleDataResponse) GetList() []*RoleData
- func (x *RoleDataResponse) GetUserid() string
- func (*RoleDataResponse) ProtoMessage()
- func (x *RoleDataResponse) ProtoReflect() protoreflect.Message
- func (x *RoleDataResponse) Reset()
- func (x *RoleDataResponse) String() string
- type SystemInfo
- func (*SystemInfo) Descriptor() ([]byte, []int)deprecated
- func (x *SystemInfo) GetAppId() string
- func (x *SystemInfo) GetCode() string
- func (x *SystemInfo) GetExpireTime() int64
- func (x *SystemInfo) GetIcon() string
- func (x *SystemInfo) GetId() string
- func (x *SystemInfo) GetName() string
- func (x *SystemInfo) GetStatus() int32
- func (x *SystemInfo) GetUrl() string
- func (*SystemInfo) ProtoMessage()
- func (x *SystemInfo) ProtoReflect() protoreflect.Message
- func (x *SystemInfo) Reset()
- func (x *SystemInfo) String() string
- type UnimplementedUserAuthServiceServer
- func (UnimplementedUserAuthServiceServer) CheckPermission(context.Context, *PermissionRequest) (*PermissionResponse, error)
- func (UnimplementedUserAuthServiceServer) GetCaptcha(context.Context, *EmptyRequest) (*CaptchaResponse, error)
- func (UnimplementedUserAuthServiceServer) GetDataAuthorities(context.Context, *IdRequest) (*RoleDataResponse, error)
- func (UnimplementedUserAuthServiceServer) GetUserRoles(context.Context, *IdRequest) (*GetUserRolesResponse, error)
- func (UnimplementedUserAuthServiceServer) GetUserSystems(context.Context, *EmptyRequest) (*GetUserSystemsResponse, error)
- func (UnimplementedUserAuthServiceServer) Login(context.Context, *LoginRequest) (*LoginResponse, error)
- func (UnimplementedUserAuthServiceServer) MinioUrlGet(context.Context, *MinioUrlRequest) (*MinioUrlResponse, error)
- func (UnimplementedUserAuthServiceServer) VerifyCaptcha(context.Context, *CaptchaVerifyRequest) (*CaptchaVerifyResponse, error)
- type UnsafeUserAuthServiceServer
- type UserAuthServiceClient
- type UserAuthServiceServer
Constants ¶
const ( UserAuthService_Login_FullMethodName = "/user_auth.UserAuthService/Login" UserAuthService_GetUserSystems_FullMethodName = "/user_auth.UserAuthService/GetUserSystems" UserAuthService_GetUserRoles_FullMethodName = "/user_auth.UserAuthService/GetUserRoles" UserAuthService_MinioUrlGet_FullMethodName = "/user_auth.UserAuthService/MinioUrlGet" UserAuthService_CheckPermission_FullMethodName = "/user_auth.UserAuthService/CheckPermission" UserAuthService_GetDataAuthorities_FullMethodName = "/user_auth.UserAuthService/GetDataAuthorities" UserAuthService_GetCaptcha_FullMethodName = "/user_auth.UserAuthService/GetCaptcha" UserAuthService_VerifyCaptcha_FullMethodName = "/user_auth.UserAuthService/VerifyCaptcha" )
Variables ¶
var File_proto_user_auth_proto protoreflect.FileDescriptor
var UserAuthService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "user_auth.UserAuthService", HandlerType: (*UserAuthServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Login", Handler: _UserAuthService_Login_Handler, }, { MethodName: "GetUserSystems", Handler: _UserAuthService_GetUserSystems_Handler, }, { MethodName: "GetUserRoles", Handler: _UserAuthService_GetUserRoles_Handler, }, { MethodName: "MinioUrlGet", Handler: _UserAuthService_MinioUrlGet_Handler, }, { MethodName: "CheckPermission", Handler: _UserAuthService_CheckPermission_Handler, }, { MethodName: "GetDataAuthorities", Handler: _UserAuthService_GetDataAuthorities_Handler, }, { MethodName: "GetCaptcha", Handler: _UserAuthService_GetCaptcha_Handler, }, { MethodName: "VerifyCaptcha", Handler: _UserAuthService_VerifyCaptcha_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "proto/user_auth.proto", }
UserAuthService_ServiceDesc is the grpc.ServiceDesc for UserAuthService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterUserAuthServiceServer ¶
func RegisterUserAuthServiceServer(s grpc.ServiceRegistrar, srv UserAuthServiceServer)
Types ¶
type CaptchaResponse ¶
type CaptchaResponse struct { CaptchaId string `protobuf:"bytes,1,opt,name=captcha_id,json=captchaId,proto3" json:"captcha_id,omitempty"` CaptchaImg string `protobuf:"bytes,2,opt,name=captcha_img,json=captchaImg,proto3" json:"captcha_img,omitempty"` // contains filtered or unexported fields }
func (*CaptchaResponse) Descriptor
deprecated
func (*CaptchaResponse) Descriptor() ([]byte, []int)
Deprecated: Use CaptchaResponse.ProtoReflect.Descriptor instead.
func (*CaptchaResponse) GetCaptchaId ¶
func (x *CaptchaResponse) GetCaptchaId() string
func (*CaptchaResponse) GetCaptchaImg ¶
func (x *CaptchaResponse) GetCaptchaImg() string
func (*CaptchaResponse) ProtoMessage ¶
func (*CaptchaResponse) ProtoMessage()
func (*CaptchaResponse) ProtoReflect ¶
func (x *CaptchaResponse) ProtoReflect() protoreflect.Message
func (*CaptchaResponse) Reset ¶
func (x *CaptchaResponse) Reset()
func (*CaptchaResponse) String ¶
func (x *CaptchaResponse) String() string
type CaptchaVerifyRequest ¶
type CaptchaVerifyRequest struct { CaptchaId string `protobuf:"bytes,1,opt,name=captcha_id,json=captchaId,proto3" json:"captcha_id,omitempty"` VerifyValue string `protobuf:"bytes,2,opt,name=verify_value,json=verifyValue,proto3" json:"verify_value,omitempty"` // contains filtered or unexported fields }
func (*CaptchaVerifyRequest) Descriptor
deprecated
func (*CaptchaVerifyRequest) Descriptor() ([]byte, []int)
Deprecated: Use CaptchaVerifyRequest.ProtoReflect.Descriptor instead.
func (*CaptchaVerifyRequest) GetCaptchaId ¶
func (x *CaptchaVerifyRequest) GetCaptchaId() string
func (*CaptchaVerifyRequest) GetVerifyValue ¶
func (x *CaptchaVerifyRequest) GetVerifyValue() string
func (*CaptchaVerifyRequest) ProtoMessage ¶
func (*CaptchaVerifyRequest) ProtoMessage()
func (*CaptchaVerifyRequest) ProtoReflect ¶
func (x *CaptchaVerifyRequest) ProtoReflect() protoreflect.Message
func (*CaptchaVerifyRequest) Reset ¶
func (x *CaptchaVerifyRequest) Reset()
func (*CaptchaVerifyRequest) String ¶
func (x *CaptchaVerifyRequest) String() string
type CaptchaVerifyResponse ¶
type CaptchaVerifyResponse struct { CaptchaId string `protobuf:"bytes,1,opt,name=captcha_id,json=captchaId,proto3" json:"captcha_id,omitempty"` VerifyValue string `protobuf:"bytes,2,opt,name=verify_value,json=verifyValue,proto3" json:"verify_value,omitempty"` VerifyResult bool `protobuf:"varint,3,opt,name=verify_result,json=verifyResult,proto3" json:"verify_result,omitempty"` // contains filtered or unexported fields }
func (*CaptchaVerifyResponse) Descriptor
deprecated
func (*CaptchaVerifyResponse) Descriptor() ([]byte, []int)
Deprecated: Use CaptchaVerifyResponse.ProtoReflect.Descriptor instead.
func (*CaptchaVerifyResponse) GetCaptchaId ¶
func (x *CaptchaVerifyResponse) GetCaptchaId() string
func (*CaptchaVerifyResponse) GetVerifyResult ¶
func (x *CaptchaVerifyResponse) GetVerifyResult() bool
func (*CaptchaVerifyResponse) GetVerifyValue ¶
func (x *CaptchaVerifyResponse) GetVerifyValue() string
func (*CaptchaVerifyResponse) ProtoMessage ¶
func (*CaptchaVerifyResponse) ProtoMessage()
func (*CaptchaVerifyResponse) ProtoReflect ¶
func (x *CaptchaVerifyResponse) ProtoReflect() protoreflect.Message
func (*CaptchaVerifyResponse) Reset ¶
func (x *CaptchaVerifyResponse) Reset()
func (*CaptchaVerifyResponse) String ¶
func (x *CaptchaVerifyResponse) String() string
type EmptyRequest ¶
type EmptyRequest struct {
// contains filtered or unexported fields
}
func (*EmptyRequest) Descriptor
deprecated
func (*EmptyRequest) Descriptor() ([]byte, []int)
Deprecated: Use EmptyRequest.ProtoReflect.Descriptor instead.
func (*EmptyRequest) ProtoMessage ¶
func (*EmptyRequest) ProtoMessage()
func (*EmptyRequest) ProtoReflect ¶
func (x *EmptyRequest) ProtoReflect() protoreflect.Message
func (*EmptyRequest) Reset ¶
func (x *EmptyRequest) Reset()
func (*EmptyRequest) String ¶
func (x *EmptyRequest) String() string
type EmptyResponse ¶
type EmptyResponse struct {
// contains filtered or unexported fields
}
func (*EmptyResponse) Descriptor
deprecated
func (*EmptyResponse) Descriptor() ([]byte, []int)
Deprecated: Use EmptyResponse.ProtoReflect.Descriptor instead.
func (*EmptyResponse) ProtoMessage ¶
func (*EmptyResponse) ProtoMessage()
func (*EmptyResponse) ProtoReflect ¶
func (x *EmptyResponse) ProtoReflect() protoreflect.Message
func (*EmptyResponse) Reset ¶
func (x *EmptyResponse) Reset()
func (*EmptyResponse) String ¶
func (x *EmptyResponse) String() string
type GetUserRolesResponse ¶
type GetUserRolesResponse struct { UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` SystemId string `protobuf:"bytes,2,opt,name=system_id,json=systemId,proto3" json:"system_id,omitempty"` RoleIds []string `protobuf:"bytes,3,rep,name=role_ids,json=roleIds,proto3" json:"role_ids,omitempty"` // contains filtered or unexported fields }
func (*GetUserRolesResponse) Descriptor
deprecated
func (*GetUserRolesResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetUserRolesResponse.ProtoReflect.Descriptor instead.
func (*GetUserRolesResponse) GetRoleIds ¶
func (x *GetUserRolesResponse) GetRoleIds() []string
func (*GetUserRolesResponse) GetSystemId ¶
func (x *GetUserRolesResponse) GetSystemId() string
func (*GetUserRolesResponse) GetUserId ¶
func (x *GetUserRolesResponse) GetUserId() string
func (*GetUserRolesResponse) ProtoMessage ¶
func (*GetUserRolesResponse) ProtoMessage()
func (*GetUserRolesResponse) ProtoReflect ¶
func (x *GetUserRolesResponse) ProtoReflect() protoreflect.Message
func (*GetUserRolesResponse) Reset ¶
func (x *GetUserRolesResponse) Reset()
func (*GetUserRolesResponse) String ¶
func (x *GetUserRolesResponse) String() string
type GetUserSystemsResponse ¶
type GetUserSystemsResponse struct { UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` Systems []*SystemInfo `protobuf:"bytes,2,rep,name=systems,proto3" json:"systems,omitempty"` // contains filtered or unexported fields }
func (*GetUserSystemsResponse) Descriptor
deprecated
func (*GetUserSystemsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetUserSystemsResponse.ProtoReflect.Descriptor instead.
func (*GetUserSystemsResponse) GetSystems ¶
func (x *GetUserSystemsResponse) GetSystems() []*SystemInfo
func (*GetUserSystemsResponse) GetUserId ¶
func (x *GetUserSystemsResponse) GetUserId() string
func (*GetUserSystemsResponse) ProtoMessage ¶
func (*GetUserSystemsResponse) ProtoMessage()
func (*GetUserSystemsResponse) ProtoReflect ¶
func (x *GetUserSystemsResponse) ProtoReflect() protoreflect.Message
func (*GetUserSystemsResponse) Reset ¶
func (x *GetUserSystemsResponse) Reset()
func (*GetUserSystemsResponse) String ¶
func (x *GetUserSystemsResponse) String() string
type IdRequest ¶
type IdRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*IdRequest) Descriptor
deprecated
func (*IdRequest) ProtoMessage ¶
func (*IdRequest) ProtoMessage()
func (*IdRequest) ProtoReflect ¶
func (x *IdRequest) ProtoReflect() protoreflect.Message
type LoginRequest ¶
type LoginRequest struct { Account string `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"` Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"` AccountType string `protobuf:"bytes,3,opt,name=account_type,json=accountType,proto3" json:"account_type,omitempty"` // contains filtered or unexported fields }
func (*LoginRequest) Descriptor
deprecated
func (*LoginRequest) Descriptor() ([]byte, []int)
Deprecated: Use LoginRequest.ProtoReflect.Descriptor instead.
func (*LoginRequest) GetAccount ¶
func (x *LoginRequest) GetAccount() string
func (*LoginRequest) GetAccountType ¶
func (x *LoginRequest) GetAccountType() string
func (*LoginRequest) GetPassword ¶
func (x *LoginRequest) GetPassword() string
func (*LoginRequest) ProtoMessage ¶
func (*LoginRequest) ProtoMessage()
func (*LoginRequest) ProtoReflect ¶
func (x *LoginRequest) ProtoReflect() protoreflect.Message
func (*LoginRequest) Reset ¶
func (x *LoginRequest) Reset()
func (*LoginRequest) String ¶
func (x *LoginRequest) String() string
type LoginResponse ¶
type LoginResponse struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` TenantId string `protobuf:"bytes,2,opt,name=tenant_id,json=tenantId,proto3" json:"tenant_id,omitempty"` Account string `protobuf:"bytes,3,opt,name=account,proto3" json:"account,omitempty"` Username string `protobuf:"bytes,4,opt,name=username,proto3" json:"username,omitempty"` Mphone string `protobuf:"bytes,5,opt,name=mphone,proto3" json:"mphone,omitempty"` Email string `protobuf:"bytes,6,opt,name=email,proto3" json:"email,omitempty"` Avatar string `protobuf:"bytes,7,opt,name=avatar,proto3" json:"avatar,omitempty"` // contains filtered or unexported fields }
func (*LoginResponse) Descriptor
deprecated
func (*LoginResponse) Descriptor() ([]byte, []int)
Deprecated: Use LoginResponse.ProtoReflect.Descriptor instead.
func (*LoginResponse) GetAccount ¶
func (x *LoginResponse) GetAccount() string
func (*LoginResponse) GetAvatar ¶
func (x *LoginResponse) GetAvatar() string
func (*LoginResponse) GetEmail ¶
func (x *LoginResponse) GetEmail() string
func (*LoginResponse) GetId ¶
func (x *LoginResponse) GetId() string
func (*LoginResponse) GetMphone ¶
func (x *LoginResponse) GetMphone() string
func (*LoginResponse) GetTenantId ¶
func (x *LoginResponse) GetTenantId() string
func (*LoginResponse) GetUsername ¶
func (x *LoginResponse) GetUsername() string
func (*LoginResponse) ProtoMessage ¶
func (*LoginResponse) ProtoMessage()
func (*LoginResponse) ProtoReflect ¶
func (x *LoginResponse) ProtoReflect() protoreflect.Message
func (*LoginResponse) Reset ¶
func (x *LoginResponse) Reset()
func (*LoginResponse) String ¶
func (x *LoginResponse) String() string
type MenuInfo ¶
type MenuInfo struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` ParentId string `protobuf:"bytes,2,opt,name=parent_id,json=parentId,proto3" json:"parent_id,omitempty"` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` Type string `protobuf:"bytes,4,opt,name=type,proto3" json:"type,omitempty"` Code string `protobuf:"bytes,5,opt,name=code,proto3" json:"code,omitempty"` Url string `protobuf:"bytes,6,opt,name=url,proto3" json:"url,omitempty"` // contains filtered or unexported fields }
func (*MenuInfo) Descriptor
deprecated
func (*MenuInfo) GetParentId ¶
func (*MenuInfo) ProtoMessage ¶
func (*MenuInfo) ProtoMessage()
func (*MenuInfo) ProtoReflect ¶
func (x *MenuInfo) ProtoReflect() protoreflect.Message
type MinioUrlRequest ¶
type MinioUrlRequest struct { BucketName string `protobuf:"bytes,1,opt,name=bucket_name,json=bucketName,proto3" json:"bucket_name,omitempty"` ObjectName string `protobuf:"bytes,2,opt,name=object_name,json=objectName,proto3" json:"object_name,omitempty"` UrlType int32 `protobuf:"varint,3,opt,name=url_type,json=urlType,proto3" json:"url_type,omitempty"` // contains filtered or unexported fields }
func (*MinioUrlRequest) Descriptor
deprecated
func (*MinioUrlRequest) Descriptor() ([]byte, []int)
Deprecated: Use MinioUrlRequest.ProtoReflect.Descriptor instead.
func (*MinioUrlRequest) GetBucketName ¶
func (x *MinioUrlRequest) GetBucketName() string
func (*MinioUrlRequest) GetObjectName ¶
func (x *MinioUrlRequest) GetObjectName() string
func (*MinioUrlRequest) GetUrlType ¶
func (x *MinioUrlRequest) GetUrlType() int32
func (*MinioUrlRequest) ProtoMessage ¶
func (*MinioUrlRequest) ProtoMessage()
func (*MinioUrlRequest) ProtoReflect ¶
func (x *MinioUrlRequest) ProtoReflect() protoreflect.Message
func (*MinioUrlRequest) Reset ¶
func (x *MinioUrlRequest) Reset()
func (*MinioUrlRequest) String ¶
func (x *MinioUrlRequest) String() string
type MinioUrlResponse ¶
type MinioUrlResponse struct { Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` // contains filtered or unexported fields }
func (*MinioUrlResponse) Descriptor
deprecated
func (*MinioUrlResponse) Descriptor() ([]byte, []int)
Deprecated: Use MinioUrlResponse.ProtoReflect.Descriptor instead.
func (*MinioUrlResponse) GetUrl ¶
func (x *MinioUrlResponse) GetUrl() string
func (*MinioUrlResponse) ProtoMessage ¶
func (*MinioUrlResponse) ProtoMessage()
func (*MinioUrlResponse) ProtoReflect ¶
func (x *MinioUrlResponse) ProtoReflect() protoreflect.Message
func (*MinioUrlResponse) Reset ¶
func (x *MinioUrlResponse) Reset()
func (*MinioUrlResponse) String ¶
func (x *MinioUrlResponse) String() string
type PermissionRequest ¶
type PermissionRequest struct { Uri string `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty"` Method string `protobuf:"bytes,2,opt,name=method,proto3" json:"method,omitempty"` Userid string `protobuf:"bytes,3,opt,name=userid,proto3" json:"userid,omitempty"` TenantId string `protobuf:"bytes,4,opt,name=tenant_id,json=tenantId,proto3" json:"tenant_id,omitempty"` // contains filtered or unexported fields }
func (*PermissionRequest) Descriptor
deprecated
func (*PermissionRequest) Descriptor() ([]byte, []int)
Deprecated: Use PermissionRequest.ProtoReflect.Descriptor instead.
func (*PermissionRequest) GetMethod ¶
func (x *PermissionRequest) GetMethod() string
func (*PermissionRequest) GetTenantId ¶
func (x *PermissionRequest) GetTenantId() string
func (*PermissionRequest) GetUri ¶
func (x *PermissionRequest) GetUri() string
func (*PermissionRequest) GetUserid ¶
func (x *PermissionRequest) GetUserid() string
func (*PermissionRequest) ProtoMessage ¶
func (*PermissionRequest) ProtoMessage()
func (*PermissionRequest) ProtoReflect ¶
func (x *PermissionRequest) ProtoReflect() protoreflect.Message
func (*PermissionRequest) Reset ¶
func (x *PermissionRequest) Reset()
func (*PermissionRequest) String ¶
func (x *PermissionRequest) String() string
type PermissionResponse ¶
type PermissionResponse struct { Access bool `protobuf:"varint,1,opt,name=access,proto3" json:"access,omitempty"` // contains filtered or unexported fields }
func (*PermissionResponse) Descriptor
deprecated
func (*PermissionResponse) Descriptor() ([]byte, []int)
Deprecated: Use PermissionResponse.ProtoReflect.Descriptor instead.
func (*PermissionResponse) GetAccess ¶
func (x *PermissionResponse) GetAccess() bool
func (*PermissionResponse) ProtoMessage ¶
func (*PermissionResponse) ProtoMessage()
func (*PermissionResponse) ProtoReflect ¶
func (x *PermissionResponse) ProtoReflect() protoreflect.Message
func (*PermissionResponse) Reset ¶
func (x *PermissionResponse) Reset()
func (*PermissionResponse) String ¶
func (x *PermissionResponse) String() string
type RoleData ¶
type RoleData struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` RoleId string `protobuf:"bytes,2,opt,name=role_id,json=roleId,proto3" json:"role_id,omitempty"` DistrictScopes string `protobuf:"bytes,3,opt,name=district_scopes,json=districtScopes,proto3" json:"district_scopes,omitempty"` //行政区划代码 OrgScope int32 `protobuf:"varint,4,opt,name=org_scope,json=orgScope,proto3" json:"org_scope,omitempty"` //组织机构权限类型 OrgIds string `protobuf:"bytes,5,opt,name=org_ids,json=orgIds,proto3" json:"org_ids,omitempty"` //指定组织机构 id BusinessDataIds string `protobuf:"bytes,6,opt,name=business_data_ids,json=businessDataIds,proto3" json:"business_data_ids,omitempty"` //业务数据权限 // contains filtered or unexported fields }
func (*RoleData) Descriptor
deprecated
func (*RoleData) GetBusinessDataIds ¶
func (*RoleData) GetDistrictScopes ¶
func (*RoleData) GetOrgScope ¶
func (*RoleData) ProtoMessage ¶
func (*RoleData) ProtoMessage()
func (*RoleData) ProtoReflect ¶
func (x *RoleData) ProtoReflect() protoreflect.Message
type RoleDataResponse ¶
type RoleDataResponse struct { Userid string `protobuf:"bytes,1,opt,name=userid,proto3" json:"userid,omitempty"` List []*RoleData `protobuf:"bytes,2,rep,name=list,proto3" json:"list,omitempty"` // contains filtered or unexported fields }
func (*RoleDataResponse) Descriptor
deprecated
func (*RoleDataResponse) Descriptor() ([]byte, []int)
Deprecated: Use RoleDataResponse.ProtoReflect.Descriptor instead.
func (*RoleDataResponse) GetList ¶
func (x *RoleDataResponse) GetList() []*RoleData
func (*RoleDataResponse) GetUserid ¶
func (x *RoleDataResponse) GetUserid() string
func (*RoleDataResponse) ProtoMessage ¶
func (*RoleDataResponse) ProtoMessage()
func (*RoleDataResponse) ProtoReflect ¶
func (x *RoleDataResponse) ProtoReflect() protoreflect.Message
func (*RoleDataResponse) Reset ¶
func (x *RoleDataResponse) Reset()
func (*RoleDataResponse) String ¶
func (x *RoleDataResponse) String() string
type SystemInfo ¶
type SystemInfo struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` AppId string `protobuf:"bytes,3,opt,name=app_id,json=appId,proto3" json:"app_id,omitempty"` Code string `protobuf:"bytes,4,opt,name=code,proto3" json:"code,omitempty"` Url string `protobuf:"bytes,5,opt,name=url,proto3" json:"url,omitempty"` Icon string `protobuf:"bytes,6,opt,name=icon,proto3" json:"icon,omitempty"` Status int32 `protobuf:"varint,7,opt,name=status,proto3" json:"status,omitempty"` ExpireTime int64 `protobuf:"varint,8,opt,name=expire_time,json=expireTime,proto3" json:"expire_time,omitempty"` // contains filtered or unexported fields }
func (*SystemInfo) Descriptor
deprecated
func (*SystemInfo) Descriptor() ([]byte, []int)
Deprecated: Use SystemInfo.ProtoReflect.Descriptor instead.
func (*SystemInfo) GetAppId ¶
func (x *SystemInfo) GetAppId() string
func (*SystemInfo) GetCode ¶
func (x *SystemInfo) GetCode() string
func (*SystemInfo) GetExpireTime ¶
func (x *SystemInfo) GetExpireTime() int64
func (*SystemInfo) GetIcon ¶
func (x *SystemInfo) GetIcon() string
func (*SystemInfo) GetId ¶
func (x *SystemInfo) GetId() string
func (*SystemInfo) GetName ¶
func (x *SystemInfo) GetName() string
func (*SystemInfo) GetStatus ¶
func (x *SystemInfo) GetStatus() int32
func (*SystemInfo) GetUrl ¶
func (x *SystemInfo) GetUrl() string
func (*SystemInfo) ProtoMessage ¶
func (*SystemInfo) ProtoMessage()
func (*SystemInfo) ProtoReflect ¶
func (x *SystemInfo) ProtoReflect() protoreflect.Message
func (*SystemInfo) Reset ¶
func (x *SystemInfo) Reset()
func (*SystemInfo) String ¶
func (x *SystemInfo) String() string
type UnimplementedUserAuthServiceServer ¶
type UnimplementedUserAuthServiceServer struct { }
UnimplementedUserAuthServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedUserAuthServiceServer) CheckPermission ¶
func (UnimplementedUserAuthServiceServer) CheckPermission(context.Context, *PermissionRequest) (*PermissionResponse, error)
func (UnimplementedUserAuthServiceServer) GetCaptcha ¶
func (UnimplementedUserAuthServiceServer) GetCaptcha(context.Context, *EmptyRequest) (*CaptchaResponse, error)
func (UnimplementedUserAuthServiceServer) GetDataAuthorities ¶
func (UnimplementedUserAuthServiceServer) GetDataAuthorities(context.Context, *IdRequest) (*RoleDataResponse, error)
func (UnimplementedUserAuthServiceServer) GetUserRoles ¶
func (UnimplementedUserAuthServiceServer) GetUserRoles(context.Context, *IdRequest) (*GetUserRolesResponse, error)
func (UnimplementedUserAuthServiceServer) GetUserSystems ¶
func (UnimplementedUserAuthServiceServer) GetUserSystems(context.Context, *EmptyRequest) (*GetUserSystemsResponse, error)
func (UnimplementedUserAuthServiceServer) Login ¶
func (UnimplementedUserAuthServiceServer) Login(context.Context, *LoginRequest) (*LoginResponse, error)
func (UnimplementedUserAuthServiceServer) MinioUrlGet ¶
func (UnimplementedUserAuthServiceServer) MinioUrlGet(context.Context, *MinioUrlRequest) (*MinioUrlResponse, error)
func (UnimplementedUserAuthServiceServer) VerifyCaptcha ¶
func (UnimplementedUserAuthServiceServer) VerifyCaptcha(context.Context, *CaptchaVerifyRequest) (*CaptchaVerifyResponse, error)
type UnsafeUserAuthServiceServer ¶
type UnsafeUserAuthServiceServer interface {
// contains filtered or unexported methods
}
UnsafeUserAuthServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to UserAuthServiceServer will result in compilation errors.
type UserAuthServiceClient ¶
type UserAuthServiceClient interface { Login(ctx context.Context, in *LoginRequest, opts ...grpc.CallOption) (*LoginResponse, error) GetUserSystems(ctx context.Context, in *EmptyRequest, opts ...grpc.CallOption) (*GetUserSystemsResponse, error) GetUserRoles(ctx context.Context, in *IdRequest, opts ...grpc.CallOption) (*GetUserRolesResponse, error) MinioUrlGet(ctx context.Context, in *MinioUrlRequest, opts ...grpc.CallOption) (*MinioUrlResponse, error) CheckPermission(ctx context.Context, in *PermissionRequest, opts ...grpc.CallOption) (*PermissionResponse, error) GetDataAuthorities(ctx context.Context, in *IdRequest, opts ...grpc.CallOption) (*RoleDataResponse, error) GetCaptcha(ctx context.Context, in *EmptyRequest, opts ...grpc.CallOption) (*CaptchaResponse, error) VerifyCaptcha(ctx context.Context, in *CaptchaVerifyRequest, opts ...grpc.CallOption) (*CaptchaVerifyResponse, error) }
UserAuthServiceClient is the client API for UserAuthService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewUserAuthServiceClient ¶
func NewUserAuthServiceClient(cc grpc.ClientConnInterface) UserAuthServiceClient
type UserAuthServiceServer ¶
type UserAuthServiceServer interface { Login(context.Context, *LoginRequest) (*LoginResponse, error) GetUserSystems(context.Context, *EmptyRequest) (*GetUserSystemsResponse, error) GetUserRoles(context.Context, *IdRequest) (*GetUserRolesResponse, error) MinioUrlGet(context.Context, *MinioUrlRequest) (*MinioUrlResponse, error) CheckPermission(context.Context, *PermissionRequest) (*PermissionResponse, error) GetDataAuthorities(context.Context, *IdRequest) (*RoleDataResponse, error) GetCaptcha(context.Context, *EmptyRequest) (*CaptchaResponse, error) VerifyCaptcha(context.Context, *CaptchaVerifyRequest) (*CaptchaVerifyResponse, error) // contains filtered or unexported methods }
UserAuthServiceServer is the server API for UserAuthService service. All implementations must embed UnimplementedUserAuthServiceServer for forward compatibility