sts

package
v1.0.42 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 11, 2024 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

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) Descriptor() ([]byte, []int)

Deprecated: Use Auth.ProtoReflect.Descriptor instead.

func (*Auth) GetAppId

func (x *Auth) GetAppId() string

func (*Auth) GetAuthType

func (x *Auth) GetAuthType() int64

func (*Auth) GetUnionId

func (x *Auth) GetUnionId() string

func (*Auth) ProtoMessage

func (*Auth) ProtoMessage()

func (*Auth) ProtoReflect

func (x *Auth) ProtoReflect() protoreflect.Message

func (*Auth) Reset

func (x *Auth) Reset()

func (*Auth) String

func (x *Auth) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use AuthInfo.ProtoReflect.Descriptor instead.

func (*AuthInfo) GetAppId

func (x *AuthInfo) GetAppId() string

func (*AuthInfo) GetAuthType

func (x *AuthInfo) GetAuthType() AuthType

func (*AuthInfo) GetUnionId

func (x *AuthInfo) GetUnionId() string

func (*AuthInfo) ProtoMessage

func (*AuthInfo) ProtoMessage()

func (*AuthInfo) ProtoReflect

func (x *AuthInfo) ProtoReflect() protoreflect.Message

func (*AuthInfo) Reset

func (x *AuthInfo) Reset()

func (*AuthInfo) String

func (x *AuthInfo) String() string

type AuthType

type AuthType int32
const (
	AuthType_UnKnownType AuthType = 0
	AuthType_email       AuthType = 1
	AuthType_qq          AuthType = 2
	AuthType_wechat      AuthType = 3
	AuthType_github      AuthType = 4
	AuthType_gitee       AuthType = 5
)

func (AuthType) Descriptor

func (AuthType) Descriptor() protoreflect.EnumDescriptor

func (AuthType) Enum

func (x AuthType) Enum() *AuthType

func (AuthType) EnumDescriptor deprecated

func (AuthType) EnumDescriptor() ([]byte, []int)

Deprecated: Use AuthType.Descriptor instead.

func (AuthType) Number

func (x AuthType) Number() protoreflect.EnumNumber

func (AuthType) String

func (x AuthType) String() string

func (AuthType) Type

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
const (
	Role_UnKnownRole Role = 0
	Role_system      Role = 1
	Role_user        Role = 2
	Role_test        Role = 3
)

func (Role) Descriptor

func (Role) Descriptor() protoreflect.EnumDescriptor

func (Role) Enum

func (x Role) Enum() *Role

func (Role) EnumDescriptor deprecated

func (Role) EnumDescriptor() ([]byte, []int)

Deprecated: Use Role.Descriptor instead.

func (Role) Number

func (x Role) Number() protoreflect.EnumNumber

func (Role) String

func (x Role) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use User.ProtoReflect.Descriptor instead.

func (*User) GetPassword

func (x *User) GetPassword() string

func (*User) GetRole

func (x *User) GetRole() int64

func (*User) GetUserId

func (x *User) GetUserId() string

func (*User) ProtoMessage

func (*User) ProtoMessage()

func (*User) ProtoReflect

func (x *User) ProtoReflect() protoreflect.Message

func (*User) Reset

func (x *User) Reset()

func (*User) String

func (x *User) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use UserInfo.ProtoReflect.Descriptor instead.

func (*UserInfo) GetPassword

func (x *UserInfo) GetPassword() string

func (*UserInfo) GetRole

func (x *UserInfo) GetRole() Role

func (*UserInfo) ProtoMessage

func (*UserInfo) ProtoMessage()

func (*UserInfo) ProtoReflect

func (x *UserInfo) ProtoReflect() protoreflect.Message

func (*UserInfo) Reset

func (x *UserInfo) Reset()

func (*UserInfo) String

func (x *UserInfo) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL