Documentation ¶
Index ¶
- Variables
- type Auth
- type AuthInfo
- func (*AuthInfo) Descriptor() ([]byte, []int)deprecated
- func (x *AuthInfo) GetAppId() string
- func (x *AuthInfo) GetAuthType() AuthType
- func (x *AuthInfo) GetUnionId() string
- func (*AuthInfo) ProtoMessage()
- func (x *AuthInfo) ProtoReflect() protoreflect.Message
- func (x *AuthInfo) Reset()
- func (x *AuthInfo) String() string
- type AuthType
- type EmailOptions
- type Role
- type User
- type UserIdOptions
- func (*UserIdOptions) Descriptor() ([]byte, []int)deprecated
- func (x *UserIdOptions) GetPassword() string
- func (x *UserIdOptions) GetUserId() string
- func (*UserIdOptions) ProtoMessage()
- func (x *UserIdOptions) ProtoReflect() protoreflect.Message
- func (x *UserIdOptions) Reset()
- func (x *UserIdOptions) String() string
- type UserInfo
Constants ¶
This section is empty.
Variables ¶
View Source
var ( AuthType_name = map[int32]string{ 0: "UnKnownType", 1: "email", 2: "qq", 3: "wechat", 4: "github", 5: "gitee", } AuthType_value = map[string]int32{ "UnKnownType": 0, "email": 1, "qq": 2, "wechat": 3, "github": 4, "gitee": 5, } )
Enum value maps for AuthType.
View Source
var ( Role_name = map[int32]string{ 0: "UnKnownRole", 1: "system", 2: "user", 3: "test", } Role_value = map[string]int32{ "UnKnownRole": 0, "system": 1, "user": 2, "test": 3, } )
Enum value maps for Role.
View Source
var File_cloudmind_sts_common_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Auth ¶
type Auth struct { AuthType int64 `protobuf:"varint,1,opt,name=authType,proto3" json:"authType" form:"authType" query:"authType"` AppId string `protobuf:"bytes,2,opt,name=appId,proto3" json:"appId" form:"appId" query:"appId"` UnionId string `protobuf:"bytes,3,opt,name=unionId,proto3" json:"unionId" form:"unionId" query:"unionId"` // contains filtered or unexported fields }
func (*Auth) Descriptor
deprecated
func (*Auth) GetAuthType ¶
func (*Auth) GetUnionId ¶
func (*Auth) ProtoMessage ¶
func (*Auth) ProtoMessage()
func (*Auth) ProtoReflect ¶
func (x *Auth) ProtoReflect() protoreflect.Message
type AuthInfo ¶
type AuthInfo struct { AuthType AuthType `protobuf:"varint,1,opt,name=authType,proto3,enum=cloudmind.sts.AuthType" json:"authType" form:"authType" query:"authType"` AppId string `protobuf:"bytes,2,opt,name=appId,proto3" json:"appId" form:"appId" query:"appId"` UnionId string `protobuf:"bytes,3,opt,name=unionId,proto3" json:"unionId" form:"unionId" query:"unionId"` // contains filtered or unexported fields }
func (*AuthInfo) Descriptor
deprecated
func (*AuthInfo) GetAuthType ¶
func (*AuthInfo) GetUnionId ¶
func (*AuthInfo) ProtoMessage ¶
func (*AuthInfo) ProtoMessage()
func (*AuthInfo) ProtoReflect ¶
func (x *AuthInfo) ProtoReflect() protoreflect.Message
type AuthType ¶
type AuthType int32
func (AuthType) Descriptor ¶
func (AuthType) Descriptor() protoreflect.EnumDescriptor
func (AuthType) EnumDescriptor
deprecated
func (AuthType) Number ¶
func (x AuthType) Number() protoreflect.EnumNumber
func (AuthType) Type ¶
func (AuthType) Type() protoreflect.EnumType
type EmailOptions ¶
type EmailOptions struct { Email string `protobuf:"bytes,1,opt,name=email,proto3" json:"email" form:"email" query:"email"` // contains filtered or unexported fields }
func (*EmailOptions) Descriptor
deprecated
func (*EmailOptions) Descriptor() ([]byte, []int)
Deprecated: Use EmailOptions.ProtoReflect.Descriptor instead.
func (*EmailOptions) GetEmail ¶
func (x *EmailOptions) GetEmail() string
func (*EmailOptions) ProtoMessage ¶
func (*EmailOptions) ProtoMessage()
func (*EmailOptions) ProtoReflect ¶
func (x *EmailOptions) ProtoReflect() protoreflect.Message
func (*EmailOptions) Reset ¶
func (x *EmailOptions) Reset()
func (*EmailOptions) String ¶
func (x *EmailOptions) String() string
type Role ¶
type Role int32
func (Role) Descriptor ¶
func (Role) Descriptor() protoreflect.EnumDescriptor
func (Role) EnumDescriptor
deprecated
func (Role) Number ¶
func (x Role) Number() protoreflect.EnumNumber
func (Role) Type ¶
func (Role) Type() protoreflect.EnumType
type User ¶
type User struct { UserId string `protobuf:"bytes,1,opt,name=userId,proto3" json:"userId" form:"userId" query:"userId"` Role int64 `protobuf:"varint,2,opt,name=role,proto3" json:"role" form:"role" query:"role"` Password string `protobuf:"bytes,3,opt,name=Password,proto3" json:"Password" form:"Password" query:"Password"` // contains filtered or unexported fields }
func (*User) Descriptor
deprecated
func (*User) GetPassword ¶
func (*User) ProtoMessage ¶
func (*User) ProtoMessage()
func (*User) ProtoReflect ¶
func (x *User) ProtoReflect() protoreflect.Message
type UserIdOptions ¶
type UserIdOptions struct { UserId string `protobuf:"bytes,1,opt,name=userId,proto3" json:"userId" form:"userId" query:"userId"` Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password" form:"password" query:"password"` // contains filtered or unexported fields }
func (*UserIdOptions) Descriptor
deprecated
func (*UserIdOptions) Descriptor() ([]byte, []int)
Deprecated: Use UserIdOptions.ProtoReflect.Descriptor instead.
func (*UserIdOptions) GetPassword ¶
func (x *UserIdOptions) GetPassword() string
func (*UserIdOptions) GetUserId ¶
func (x *UserIdOptions) GetUserId() string
func (*UserIdOptions) ProtoMessage ¶
func (*UserIdOptions) ProtoMessage()
func (*UserIdOptions) ProtoReflect ¶
func (x *UserIdOptions) ProtoReflect() protoreflect.Message
func (*UserIdOptions) Reset ¶
func (x *UserIdOptions) Reset()
func (*UserIdOptions) String ¶
func (x *UserIdOptions) String() string
type UserInfo ¶
type UserInfo struct { Role Role `protobuf:"varint,1,opt,name=role,proto3,enum=cloudmind.sts.Role" json:"role" form:"role" query:"role"` Password *string `protobuf:"bytes,2,opt,name=password,proto3,oneof" json:"password" form:"password" query:"password"` // contains filtered or unexported fields }
func (*UserInfo) Descriptor
deprecated
func (*UserInfo) GetPassword ¶
func (*UserInfo) ProtoMessage ¶
func (*UserInfo) ProtoMessage()
func (*UserInfo) ProtoReflect ¶
func (x *UserInfo) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.