Documentation ¶
Index ¶
- Variables
- type Author
- func (*Author) Descriptor() ([]byte, []int)deprecated
- func (m *Author) GetAccount() isAuthor_Account
- func (x *Author) GetIdentifier() string
- func (x *Author) GetPrintableName() string
- func (x *Author) GetServiceAccountId() string
- func (x *Author) GetUserId() string
- func (*Author) ProtoMessage()
- func (x *Author) ProtoReflect() protoreflect.Message
- func (x *Author) Reset()
- func (x *Author) String() string
- type Author_ServiceAccountId
- type Author_UserId
- type BcryptHashingConfig
- func (*BcryptHashingConfig) Descriptor() ([]byte, []int)deprecated
- func (x *BcryptHashingConfig) GetCost() int32
- func (*BcryptHashingConfig) ProtoMessage()
- func (x *BcryptHashingConfig) ProtoReflect() protoreflect.Message
- func (x *BcryptHashingConfig) Reset()
- func (x *BcryptHashingConfig) String() string
- type BcryptHashingInstance
- type HashingConfig
- func (*HashingConfig) Descriptor() ([]byte, []int)deprecated
- func (x *HashingConfig) GetBcrypt() *BcryptHashingConfig
- func (m *HashingConfig) GetMethod() isHashingConfig_Method
- func (x *HashingConfig) GetScrypt() *ScryptHashingConfig
- func (*HashingConfig) ProtoMessage()
- func (x *HashingConfig) ProtoReflect() protoreflect.Message
- func (x *HashingConfig) Reset()
- func (x *HashingConfig) String() string
- type HashingConfig_Bcrypt
- type HashingConfig_Scrypt
- type HashingInstance
- func (*HashingInstance) Descriptor() ([]byte, []int)deprecated
- func (x *HashingInstance) GetBcrypt() *BcryptHashingInstance
- func (x *HashingInstance) GetConfig() *HashingConfig
- func (x *HashingInstance) GetHash() []byte
- func (m *HashingInstance) GetInstance() isHashingInstance_Instance
- func (x *HashingInstance) GetScrypt() *ScryptHashingInstance
- func (*HashingInstance) ProtoMessage()
- func (x *HashingInstance) ProtoReflect() protoreflect.Message
- func (x *HashingInstance) Reset()
- func (x *HashingInstance) String() string
- type HashingInstance_Bcrypt
- type HashingInstance_Scrypt
- type LoginType
- type MemberEntry
- func (*MemberEntry) Descriptor() ([]byte, []int)deprecated
- func (x *MemberEntry) GetJoinedAt() *timestamppb.Timestamp
- func (x *MemberEntry) GetUser() *UserEntry
- func (*MemberEntry) ProtoMessage()
- func (x *MemberEntry) ProtoReflect() protoreflect.Message
- func (x *MemberEntry) Reset()
- func (x *MemberEntry) String() string
- type Metadata
- type OauthProvider
- func (OauthProvider) Descriptor() protoreflect.EnumDescriptor
- func (x OauthProvider) Enum() *OauthProvider
- func (OauthProvider) EnumDescriptor() ([]byte, []int)deprecated
- func (x OauthProvider) Number() protoreflect.EnumNumber
- func (x OauthProvider) String() string
- func (OauthProvider) Type() protoreflect.EnumType
- type Pagination
- func (*Pagination) Descriptor() ([]byte, []int)deprecated
- func (x *Pagination) GetDescending() bool
- func (x *Pagination) GetLimit() uint32
- func (x *Pagination) GetOffset() uint32
- func (*Pagination) ProtoMessage()
- func (x *Pagination) ProtoReflect() protoreflect.Message
- func (x *Pagination) Reset()
- func (x *Pagination) String() string
- type ProviderCredentials
- func (*ProviderCredentials) Descriptor() ([]byte, []int)deprecated
- func (x *ProviderCredentials) GetPrivateKey() string
- func (x *ProviderCredentials) GetPublicKey() string
- func (*ProviderCredentials) ProtoMessage()
- func (x *ProviderCredentials) ProtoReflect() protoreflect.Message
- func (x *ProviderCredentials) Reset()
- func (x *ProviderCredentials) String() string
- type RegisterInfo
- func (*RegisterInfo) Descriptor() ([]byte, []int)deprecated
- func (x *RegisterInfo) GetCreaterId() string
- func (x *RegisterInfo) GetMethod() *RegisterMethod
- func (*RegisterInfo) ProtoMessage()
- func (x *RegisterInfo) ProtoReflect() protoreflect.Message
- func (x *RegisterInfo) Reset()
- func (x *RegisterInfo) String() string
- type RegisterMethod
- func (*RegisterMethod) Descriptor() ([]byte, []int)deprecated
- func (m *RegisterMethod) GetMethod() isRegisterMethod_Method
- func (x *RegisterMethod) GetMigration() *RegisterMethod_Migration
- func (x *RegisterMethod) GetOauthProvider() OauthProvider
- func (x *RegisterMethod) GetSignup() *RegisterMethod_Signup
- func (x *RegisterMethod) GetSystem() *RegisterMethod_System
- func (*RegisterMethod) ProtoMessage()
- func (x *RegisterMethod) ProtoReflect() protoreflect.Message
- func (x *RegisterMethod) Reset()
- func (x *RegisterMethod) String() string
- type RegisterMethod_Migration
- func (*RegisterMethod_Migration) Descriptor() ([]byte, []int)deprecated
- func (x *RegisterMethod_Migration) GetFrom() string
- func (*RegisterMethod_Migration) ProtoMessage()
- func (x *RegisterMethod_Migration) ProtoReflect() protoreflect.Message
- func (x *RegisterMethod_Migration) Reset()
- func (x *RegisterMethod_Migration) String() string
- type RegisterMethod_Migration_
- type RegisterMethod_OauthProvider
- type RegisterMethod_Signup
- func (*RegisterMethod_Signup) Descriptor() ([]byte, []int)deprecated
- func (x *RegisterMethod_Signup) GetLoginType() LoginType
- func (*RegisterMethod_Signup) ProtoMessage()
- func (x *RegisterMethod_Signup) ProtoReflect() protoreflect.Message
- func (x *RegisterMethod_Signup) Reset()
- func (x *RegisterMethod_Signup) String() string
- type RegisterMethod_Signup_
- type RegisterMethod_System
- type RegisterMethod_System_
- type ScryptHashingConfig
- func (*ScryptHashingConfig) Descriptor() ([]byte, []int)deprecated
- func (x *ScryptHashingConfig) GetKeyLen() int32
- func (x *ScryptHashingConfig) GetMemCost() int32
- func (x *ScryptHashingConfig) GetP() int32
- func (x *ScryptHashingConfig) GetRounds() int32
- func (x *ScryptHashingConfig) GetSaltSeparator() string
- func (x *ScryptHashingConfig) GetSignerKey() string
- func (*ScryptHashingConfig) ProtoMessage()
- func (x *ScryptHashingConfig) ProtoReflect() protoreflect.Message
- func (x *ScryptHashingConfig) Reset()
- func (x *ScryptHashingConfig) String() string
- type ScryptHashingInstance
- func (*ScryptHashingInstance) Descriptor() ([]byte, []int)deprecated
- func (x *ScryptHashingInstance) GetSalt() []byte
- func (*ScryptHashingInstance) ProtoMessage()
- func (x *ScryptHashingInstance) ProtoReflect() protoreflect.Message
- func (x *ScryptHashingInstance) Reset()
- func (x *ScryptHashingInstance) String() string
- type UserEntry
- func (*UserEntry) Descriptor() ([]byte, []int)deprecated
- func (x *UserEntry) GetCreatedAt() *timestamppb.Timestamp
- func (x *UserEntry) GetGroupIds() []string
- func (x *UserEntry) GetPrintableName() string
- func (x *UserEntry) GetRegisterInfo() *RegisterInfo
- func (x *UserEntry) GetUserId() string
- func (x *UserEntry) GetVerified() bool
- func (*UserEntry) ProtoMessage()
- func (x *UserEntry) ProtoReflect() protoreflect.Message
- func (x *UserEntry) Reset()
- func (x *UserEntry) String() string
- type UserIdentifier
- func (*UserIdentifier) Descriptor() ([]byte, []int)deprecated
- func (x *UserIdentifier) GetEmail() string
- func (m *UserIdentifier) GetIdentifier() isUserIdentifier_Identifier
- func (x *UserIdentifier) GetPhoneNumber() string
- func (x *UserIdentifier) GetUsername() string
- func (*UserIdentifier) ProtoMessage()
- func (x *UserIdentifier) ProtoReflect() protoreflect.Message
- func (x *UserIdentifier) Reset()
- func (x *UserIdentifier) String() string
- type UserIdentifier_Email
- type UserIdentifier_PhoneNumber
- type UserIdentifier_Username
- type UserInfo
- func (*UserInfo) Descriptor() ([]byte, []int)deprecated
- func (x *UserInfo) GetCreatedAt() *timestamppb.Timestamp
- func (x *UserInfo) GetEmail() string
- func (x *UserInfo) GetGroupIds() []string
- func (x *UserInfo) GetPhoneNumber() string
- func (x *UserInfo) GetUsername() string
- func (*UserInfo) ProtoMessage()
- func (x *UserInfo) ProtoReflect() protoreflect.Message
- func (x *UserInfo) Reset()
- func (x *UserInfo) String() string
Constants ¶
This section is empty.
Variables ¶
var ( LoginType_name = map[int32]string{ 0: "LOGIN_TYPE_UNSPECIFIED", 1: "LOGIN_TYPE_EMAIL_PASSWORD", 2: "LOGIN_TYPE_PHONE_PASSWORD", 3: "LOGIN_TYPE_USERNAME_PASSWORD", } LoginType_value = map[string]int32{ "LOGIN_TYPE_UNSPECIFIED": 0, "LOGIN_TYPE_EMAIL_PASSWORD": 1, "LOGIN_TYPE_PHONE_PASSWORD": 2, "LOGIN_TYPE_USERNAME_PASSWORD": 3, } )
Enum value maps for LoginType.
var ( OauthProvider_name = map[int32]string{ 0: "OAUTH_PROVIDER_UNSPECIFIED", 1: "OAUTH_PROVIDER_GOOGLE", 2: "OAUTH_PROVIDER_GITHUB", 3: "OAUTH_PROVIDER_FACEBOOK", } OauthProvider_value = map[string]int32{ "OAUTH_PROVIDER_UNSPECIFIED": 0, "OAUTH_PROVIDER_GOOGLE": 1, "OAUTH_PROVIDER_GITHUB": 2, "OAUTH_PROVIDER_FACEBOOK": 3, } )
Enum value maps for OauthProvider.
var File_model_auth_proto protoreflect.FileDescriptor
var File_model_common_proto protoreflect.FileDescriptor
var File_model_credentials_proto protoreflect.FileDescriptor
var File_model_metadata_proto protoreflect.FileDescriptor
var File_model_user_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Author ¶
type Author struct { // Cached identifier of the author, e.g. email or username at the time of // change. Identifier string `protobuf:"bytes,1,opt,name=identifier,proto3" json:"identifier,omitempty"` // Cached pretty-printed name of the author at the time of // change. PrintableName string `protobuf:"bytes,2,opt,name=printable_name,json=printableName,proto3" json:"printable_name,omitempty"` // User ID of the author. This should be used to get current information // about the author. // // Types that are assignable to Account: // // *Author_UserId // *Author_ServiceAccountId Account isAuthor_Account `protobuf_oneof:"account"` // contains filtered or unexported fields }
func (*Author) Descriptor
deprecated
func (*Author) GetAccount ¶
func (m *Author) GetAccount() isAuthor_Account
func (*Author) GetIdentifier ¶
func (*Author) GetPrintableName ¶
func (*Author) GetServiceAccountId ¶
func (*Author) ProtoMessage ¶
func (*Author) ProtoMessage()
func (*Author) ProtoReflect ¶
func (x *Author) ProtoReflect() protoreflect.Message
type Author_ServiceAccountId ¶
type Author_ServiceAccountId struct {
ServiceAccountId string `protobuf:"bytes,4,opt,name=service_account_id,json=serviceAccountId,proto3,oneof"`
}
type Author_UserId ¶
type Author_UserId struct {
UserId string `protobuf:"bytes,3,opt,name=user_id,json=userId,proto3,oneof"`
}
type BcryptHashingConfig ¶
type BcryptHashingConfig struct { Cost int32 `protobuf:"varint,1,opt,name=cost,proto3" json:"cost,omitempty"` // contains filtered or unexported fields }
func (*BcryptHashingConfig) Descriptor
deprecated
func (*BcryptHashingConfig) Descriptor() ([]byte, []int)
Deprecated: Use BcryptHashingConfig.ProtoReflect.Descriptor instead.
func (*BcryptHashingConfig) GetCost ¶
func (x *BcryptHashingConfig) GetCost() int32
func (*BcryptHashingConfig) ProtoMessage ¶
func (*BcryptHashingConfig) ProtoMessage()
func (*BcryptHashingConfig) ProtoReflect ¶
func (x *BcryptHashingConfig) ProtoReflect() protoreflect.Message
func (*BcryptHashingConfig) Reset ¶
func (x *BcryptHashingConfig) Reset()
func (*BcryptHashingConfig) String ¶
func (x *BcryptHashingConfig) String() string
type BcryptHashingInstance ¶
type BcryptHashingInstance struct {
// contains filtered or unexported fields
}
func (*BcryptHashingInstance) Descriptor
deprecated
func (*BcryptHashingInstance) Descriptor() ([]byte, []int)
Deprecated: Use BcryptHashingInstance.ProtoReflect.Descriptor instead.
func (*BcryptHashingInstance) ProtoMessage ¶
func (*BcryptHashingInstance) ProtoMessage()
func (*BcryptHashingInstance) ProtoReflect ¶
func (x *BcryptHashingInstance) ProtoReflect() protoreflect.Message
func (*BcryptHashingInstance) Reset ¶
func (x *BcryptHashingInstance) Reset()
func (*BcryptHashingInstance) String ¶
func (x *BcryptHashingInstance) String() string
type HashingConfig ¶
type HashingConfig struct { // Types that are assignable to Method: // // *HashingConfig_Bcrypt // *HashingConfig_Scrypt Method isHashingConfig_Method `protobuf_oneof:"method"` // contains filtered or unexported fields }
func (*HashingConfig) Descriptor
deprecated
func (*HashingConfig) Descriptor() ([]byte, []int)
Deprecated: Use HashingConfig.ProtoReflect.Descriptor instead.
func (*HashingConfig) GetBcrypt ¶
func (x *HashingConfig) GetBcrypt() *BcryptHashingConfig
func (*HashingConfig) GetMethod ¶
func (m *HashingConfig) GetMethod() isHashingConfig_Method
func (*HashingConfig) GetScrypt ¶
func (x *HashingConfig) GetScrypt() *ScryptHashingConfig
func (*HashingConfig) ProtoMessage ¶
func (*HashingConfig) ProtoMessage()
func (*HashingConfig) ProtoReflect ¶
func (x *HashingConfig) ProtoReflect() protoreflect.Message
func (*HashingConfig) Reset ¶
func (x *HashingConfig) Reset()
func (*HashingConfig) String ¶
func (x *HashingConfig) String() string
type HashingConfig_Bcrypt ¶
type HashingConfig_Bcrypt struct {
Bcrypt *BcryptHashingConfig `protobuf:"bytes,1,opt,name=bcrypt,proto3,oneof"`
}
type HashingConfig_Scrypt ¶
type HashingConfig_Scrypt struct {
Scrypt *ScryptHashingConfig `protobuf:"bytes,2,opt,name=scrypt,proto3,oneof"`
}
type HashingInstance ¶
type HashingInstance struct { Config *HashingConfig `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"` Hash []byte `protobuf:"bytes,2,opt,name=hash,proto3" json:"hash,omitempty"` // Types that are assignable to Instance: // // *HashingInstance_Bcrypt // *HashingInstance_Scrypt Instance isHashingInstance_Instance `protobuf_oneof:"instance"` // contains filtered or unexported fields }
func (*HashingInstance) Descriptor
deprecated
func (*HashingInstance) Descriptor() ([]byte, []int)
Deprecated: Use HashingInstance.ProtoReflect.Descriptor instead.
func (*HashingInstance) GetBcrypt ¶
func (x *HashingInstance) GetBcrypt() *BcryptHashingInstance
func (*HashingInstance) GetConfig ¶
func (x *HashingInstance) GetConfig() *HashingConfig
func (*HashingInstance) GetHash ¶
func (x *HashingInstance) GetHash() []byte
func (*HashingInstance) GetInstance ¶
func (m *HashingInstance) GetInstance() isHashingInstance_Instance
func (*HashingInstance) GetScrypt ¶
func (x *HashingInstance) GetScrypt() *ScryptHashingInstance
func (*HashingInstance) ProtoMessage ¶
func (*HashingInstance) ProtoMessage()
func (*HashingInstance) ProtoReflect ¶
func (x *HashingInstance) ProtoReflect() protoreflect.Message
func (*HashingInstance) Reset ¶
func (x *HashingInstance) Reset()
func (*HashingInstance) String ¶
func (x *HashingInstance) String() string
type HashingInstance_Bcrypt ¶
type HashingInstance_Bcrypt struct {
Bcrypt *BcryptHashingInstance `protobuf:"bytes,3,opt,name=bcrypt,proto3,oneof"`
}
type HashingInstance_Scrypt ¶
type HashingInstance_Scrypt struct {
Scrypt *ScryptHashingInstance `protobuf:"bytes,4,opt,name=scrypt,proto3,oneof"`
}
type LoginType ¶
type LoginType int32
func (LoginType) Descriptor ¶
func (LoginType) Descriptor() protoreflect.EnumDescriptor
func (LoginType) EnumDescriptor
deprecated
func (LoginType) Number ¶
func (x LoginType) Number() protoreflect.EnumNumber
func (LoginType) Type ¶
func (LoginType) Type() protoreflect.EnumType
type MemberEntry ¶
type MemberEntry struct { User *UserEntry `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` JoinedAt *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=joined_at,json=joinedAt,proto3" json:"joined_at,omitempty"` // contains filtered or unexported fields }
func (*MemberEntry) Descriptor
deprecated
func (*MemberEntry) Descriptor() ([]byte, []int)
Deprecated: Use MemberEntry.ProtoReflect.Descriptor instead.
func (*MemberEntry) GetJoinedAt ¶
func (x *MemberEntry) GetJoinedAt() *timestamppb.Timestamp
func (*MemberEntry) GetUser ¶
func (x *MemberEntry) GetUser() *UserEntry
func (*MemberEntry) ProtoMessage ¶
func (*MemberEntry) ProtoMessage()
func (*MemberEntry) ProtoReflect ¶
func (x *MemberEntry) ProtoReflect() protoreflect.Message
func (*MemberEntry) Reset ¶
func (x *MemberEntry) Reset()
func (*MemberEntry) String ¶
func (x *MemberEntry) String() string
type Metadata ¶
type Metadata struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` Value []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*Metadata) Descriptor
deprecated
func (*Metadata) ProtoMessage ¶
func (*Metadata) ProtoMessage()
func (*Metadata) ProtoReflect ¶
func (x *Metadata) ProtoReflect() protoreflect.Message
type OauthProvider ¶
type OauthProvider int32
const ( OauthProvider_OAUTH_PROVIDER_UNSPECIFIED OauthProvider = 0 OauthProvider_OAUTH_PROVIDER_GOOGLE OauthProvider = 1 OauthProvider_OAUTH_PROVIDER_GITHUB OauthProvider = 2 OauthProvider_OAUTH_PROVIDER_FACEBOOK OauthProvider = 3 )
func (OauthProvider) Descriptor ¶
func (OauthProvider) Descriptor() protoreflect.EnumDescriptor
func (OauthProvider) Enum ¶
func (x OauthProvider) Enum() *OauthProvider
func (OauthProvider) EnumDescriptor
deprecated
func (OauthProvider) EnumDescriptor() ([]byte, []int)
Deprecated: Use OauthProvider.Descriptor instead.
func (OauthProvider) Number ¶
func (x OauthProvider) Number() protoreflect.EnumNumber
func (OauthProvider) String ¶
func (x OauthProvider) String() string
func (OauthProvider) Type ¶
func (OauthProvider) Type() protoreflect.EnumType
type Pagination ¶
type Pagination struct { Offset uint32 `protobuf:"varint,1,opt,name=offset,proto3" json:"offset,omitempty"` Limit uint32 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"` Descending bool `protobuf:"varint,3,opt,name=descending,proto3" json:"descending,omitempty"` // contains filtered or unexported fields }
func (*Pagination) Descriptor
deprecated
func (*Pagination) Descriptor() ([]byte, []int)
Deprecated: Use Pagination.ProtoReflect.Descriptor instead.
func (*Pagination) GetDescending ¶
func (x *Pagination) GetDescending() bool
func (*Pagination) GetLimit ¶
func (x *Pagination) GetLimit() uint32
func (*Pagination) GetOffset ¶
func (x *Pagination) GetOffset() uint32
func (*Pagination) ProtoMessage ¶
func (*Pagination) ProtoMessage()
func (*Pagination) ProtoReflect ¶
func (x *Pagination) ProtoReflect() protoreflect.Message
func (*Pagination) Reset ¶
func (x *Pagination) Reset()
func (*Pagination) String ¶
func (x *Pagination) String() string
type ProviderCredentials ¶
type ProviderCredentials struct { PublicKey string `protobuf:"bytes,1,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"` PrivateKey string `protobuf:"bytes,2,opt,name=private_key,json=privateKey,proto3" json:"private_key,omitempty"` // contains filtered or unexported fields }
func (*ProviderCredentials) Descriptor
deprecated
func (*ProviderCredentials) Descriptor() ([]byte, []int)
Deprecated: Use ProviderCredentials.ProtoReflect.Descriptor instead.
func (*ProviderCredentials) GetPrivateKey ¶
func (x *ProviderCredentials) GetPrivateKey() string
func (*ProviderCredentials) GetPublicKey ¶
func (x *ProviderCredentials) GetPublicKey() string
func (*ProviderCredentials) ProtoMessage ¶
func (*ProviderCredentials) ProtoMessage()
func (*ProviderCredentials) ProtoReflect ¶
func (x *ProviderCredentials) ProtoReflect() protoreflect.Message
func (*ProviderCredentials) Reset ¶
func (x *ProviderCredentials) Reset()
func (*ProviderCredentials) String ¶
func (x *ProviderCredentials) String() string
type RegisterInfo ¶
type RegisterInfo struct { CreaterId string `protobuf:"bytes,1,opt,name=creater_id,json=createrId,proto3" json:"creater_id,omitempty"` Method *RegisterMethod `protobuf:"bytes,2,opt,name=method,proto3" json:"method,omitempty"` // contains filtered or unexported fields }
func (*RegisterInfo) Descriptor
deprecated
func (*RegisterInfo) Descriptor() ([]byte, []int)
Deprecated: Use RegisterInfo.ProtoReflect.Descriptor instead.
func (*RegisterInfo) GetCreaterId ¶
func (x *RegisterInfo) GetCreaterId() string
func (*RegisterInfo) GetMethod ¶
func (x *RegisterInfo) GetMethod() *RegisterMethod
func (*RegisterInfo) ProtoMessage ¶
func (*RegisterInfo) ProtoMessage()
func (*RegisterInfo) ProtoReflect ¶
func (x *RegisterInfo) ProtoReflect() protoreflect.Message
func (*RegisterInfo) Reset ¶
func (x *RegisterInfo) Reset()
func (*RegisterInfo) String ¶
func (x *RegisterInfo) String() string
type RegisterMethod ¶
type RegisterMethod struct { // Types that are assignable to Method: // // *RegisterMethod_System_ // *RegisterMethod_Signup_ // *RegisterMethod_OauthProvider // *RegisterMethod_Migration_ Method isRegisterMethod_Method `protobuf_oneof:"method"` // contains filtered or unexported fields }
func (*RegisterMethod) Descriptor
deprecated
func (*RegisterMethod) Descriptor() ([]byte, []int)
Deprecated: Use RegisterMethod.ProtoReflect.Descriptor instead.
func (*RegisterMethod) GetMethod ¶
func (m *RegisterMethod) GetMethod() isRegisterMethod_Method
func (*RegisterMethod) GetMigration ¶
func (x *RegisterMethod) GetMigration() *RegisterMethod_Migration
func (*RegisterMethod) GetOauthProvider ¶
func (x *RegisterMethod) GetOauthProvider() OauthProvider
func (*RegisterMethod) GetSignup ¶
func (x *RegisterMethod) GetSignup() *RegisterMethod_Signup
func (*RegisterMethod) GetSystem ¶
func (x *RegisterMethod) GetSystem() *RegisterMethod_System
func (*RegisterMethod) ProtoMessage ¶
func (*RegisterMethod) ProtoMessage()
func (*RegisterMethod) ProtoReflect ¶
func (x *RegisterMethod) ProtoReflect() protoreflect.Message
func (*RegisterMethod) Reset ¶
func (x *RegisterMethod) Reset()
func (*RegisterMethod) String ¶
func (x *RegisterMethod) String() string
type RegisterMethod_Migration ¶
type RegisterMethod_Migration struct { From string `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty"` // contains filtered or unexported fields }
func (*RegisterMethod_Migration) Descriptor
deprecated
func (*RegisterMethod_Migration) Descriptor() ([]byte, []int)
Deprecated: Use RegisterMethod_Migration.ProtoReflect.Descriptor instead.
func (*RegisterMethod_Migration) GetFrom ¶
func (x *RegisterMethod_Migration) GetFrom() string
func (*RegisterMethod_Migration) ProtoMessage ¶
func (*RegisterMethod_Migration) ProtoMessage()
func (*RegisterMethod_Migration) ProtoReflect ¶
func (x *RegisterMethod_Migration) ProtoReflect() protoreflect.Message
func (*RegisterMethod_Migration) Reset ¶
func (x *RegisterMethod_Migration) Reset()
func (*RegisterMethod_Migration) String ¶
func (x *RegisterMethod_Migration) String() string
type RegisterMethod_Migration_ ¶
type RegisterMethod_Migration_ struct {
Migration *RegisterMethod_Migration `protobuf:"bytes,4,opt,name=migration,proto3,oneof"`
}
type RegisterMethod_OauthProvider ¶
type RegisterMethod_OauthProvider struct {
OauthProvider OauthProvider `protobuf:"varint,3,opt,name=oauth_provider,json=oauthProvider,proto3,enum=model.OauthProvider,oneof"`
}
type RegisterMethod_Signup ¶
type RegisterMethod_Signup struct { LoginType LoginType `protobuf:"varint,1,opt,name=login_type,json=loginType,proto3,enum=model.LoginType" json:"login_type,omitempty"` // contains filtered or unexported fields }
func (*RegisterMethod_Signup) Descriptor
deprecated
func (*RegisterMethod_Signup) Descriptor() ([]byte, []int)
Deprecated: Use RegisterMethod_Signup.ProtoReflect.Descriptor instead.
func (*RegisterMethod_Signup) GetLoginType ¶
func (x *RegisterMethod_Signup) GetLoginType() LoginType
func (*RegisterMethod_Signup) ProtoMessage ¶
func (*RegisterMethod_Signup) ProtoMessage()
func (*RegisterMethod_Signup) ProtoReflect ¶
func (x *RegisterMethod_Signup) ProtoReflect() protoreflect.Message
func (*RegisterMethod_Signup) Reset ¶
func (x *RegisterMethod_Signup) Reset()
func (*RegisterMethod_Signup) String ¶
func (x *RegisterMethod_Signup) String() string
type RegisterMethod_Signup_ ¶
type RegisterMethod_Signup_ struct {
Signup *RegisterMethod_Signup `protobuf:"bytes,2,opt,name=signup,proto3,oneof"`
}
type RegisterMethod_System ¶
type RegisterMethod_System struct {
// contains filtered or unexported fields
}
func (*RegisterMethod_System) Descriptor
deprecated
func (*RegisterMethod_System) Descriptor() ([]byte, []int)
Deprecated: Use RegisterMethod_System.ProtoReflect.Descriptor instead.
func (*RegisterMethod_System) ProtoMessage ¶
func (*RegisterMethod_System) ProtoMessage()
func (*RegisterMethod_System) ProtoReflect ¶
func (x *RegisterMethod_System) ProtoReflect() protoreflect.Message
func (*RegisterMethod_System) Reset ¶
func (x *RegisterMethod_System) Reset()
func (*RegisterMethod_System) String ¶
func (x *RegisterMethod_System) String() string
type RegisterMethod_System_ ¶
type RegisterMethod_System_ struct {
System *RegisterMethod_System `protobuf:"bytes,1,opt,name=system,proto3,oneof"`
}
type ScryptHashingConfig ¶
type ScryptHashingConfig struct { SignerKey string `protobuf:"bytes,1,opt,name=signer_key,json=signerKey,proto3" json:"signer_key,omitempty"` SaltSeparator string `protobuf:"bytes,2,opt,name=salt_separator,json=saltSeparator,proto3" json:"salt_separator,omitempty"` Rounds int32 `protobuf:"varint,3,opt,name=rounds,proto3" json:"rounds,omitempty"` MemCost int32 `protobuf:"varint,4,opt,name=mem_cost,json=memCost,proto3" json:"mem_cost,omitempty"` P int32 `protobuf:"varint,5,opt,name=p,proto3" json:"p,omitempty"` KeyLen int32 `protobuf:"varint,6,opt,name=key_len,json=keyLen,proto3" json:"key_len,omitempty"` // contains filtered or unexported fields }
func (*ScryptHashingConfig) Descriptor
deprecated
func (*ScryptHashingConfig) Descriptor() ([]byte, []int)
Deprecated: Use ScryptHashingConfig.ProtoReflect.Descriptor instead.
func (*ScryptHashingConfig) GetKeyLen ¶
func (x *ScryptHashingConfig) GetKeyLen() int32
func (*ScryptHashingConfig) GetMemCost ¶
func (x *ScryptHashingConfig) GetMemCost() int32
func (*ScryptHashingConfig) GetP ¶
func (x *ScryptHashingConfig) GetP() int32
func (*ScryptHashingConfig) GetRounds ¶
func (x *ScryptHashingConfig) GetRounds() int32
func (*ScryptHashingConfig) GetSaltSeparator ¶
func (x *ScryptHashingConfig) GetSaltSeparator() string
func (*ScryptHashingConfig) GetSignerKey ¶
func (x *ScryptHashingConfig) GetSignerKey() string
func (*ScryptHashingConfig) ProtoMessage ¶
func (*ScryptHashingConfig) ProtoMessage()
func (*ScryptHashingConfig) ProtoReflect ¶
func (x *ScryptHashingConfig) ProtoReflect() protoreflect.Message
func (*ScryptHashingConfig) Reset ¶
func (x *ScryptHashingConfig) Reset()
func (*ScryptHashingConfig) String ¶
func (x *ScryptHashingConfig) String() string
type ScryptHashingInstance ¶
type ScryptHashingInstance struct { Salt []byte `protobuf:"bytes,1,opt,name=salt,proto3" json:"salt,omitempty"` // contains filtered or unexported fields }
func (*ScryptHashingInstance) Descriptor
deprecated
func (*ScryptHashingInstance) Descriptor() ([]byte, []int)
Deprecated: Use ScryptHashingInstance.ProtoReflect.Descriptor instead.
func (*ScryptHashingInstance) GetSalt ¶
func (x *ScryptHashingInstance) GetSalt() []byte
func (*ScryptHashingInstance) ProtoMessage ¶
func (*ScryptHashingInstance) ProtoMessage()
func (*ScryptHashingInstance) ProtoReflect ¶
func (x *ScryptHashingInstance) ProtoReflect() protoreflect.Message
func (*ScryptHashingInstance) Reset ¶
func (x *ScryptHashingInstance) Reset()
func (*ScryptHashingInstance) String ¶
func (x *ScryptHashingInstance) String() string
type UserEntry ¶
type UserEntry struct { UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` PrintableName string `protobuf:"bytes,2,opt,name=printable_name,json=printableName,proto3" json:"printable_name,omitempty"` RegisterInfo *RegisterInfo `protobuf:"bytes,3,opt,name=register_info,json=registerInfo,proto3" json:"register_info,omitempty"` Verified bool `protobuf:"varint,4,opt,name=verified,proto3" json:"verified,omitempty"` GroupIds []string `protobuf:"bytes,5,rep,name=group_ids,json=groupIds,proto3" json:"group_ids,omitempty"` CreatedAt *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // contains filtered or unexported fields }
func (*UserEntry) Descriptor
deprecated
func (*UserEntry) GetCreatedAt ¶
func (x *UserEntry) GetCreatedAt() *timestamppb.Timestamp
func (*UserEntry) GetGroupIds ¶
func (*UserEntry) GetPrintableName ¶
func (*UserEntry) GetRegisterInfo ¶
func (x *UserEntry) GetRegisterInfo() *RegisterInfo
func (*UserEntry) GetVerified ¶
func (*UserEntry) ProtoMessage ¶
func (*UserEntry) ProtoMessage()
func (*UserEntry) ProtoReflect ¶
func (x *UserEntry) ProtoReflect() protoreflect.Message
type UserIdentifier ¶
type UserIdentifier struct { // Types that are assignable to Identifier: // // *UserIdentifier_Username // *UserIdentifier_Email // *UserIdentifier_PhoneNumber Identifier isUserIdentifier_Identifier `protobuf_oneof:"identifier"` // contains filtered or unexported fields }
func (*UserIdentifier) Descriptor
deprecated
func (*UserIdentifier) Descriptor() ([]byte, []int)
Deprecated: Use UserIdentifier.ProtoReflect.Descriptor instead.
func (*UserIdentifier) GetEmail ¶
func (x *UserIdentifier) GetEmail() string
func (*UserIdentifier) GetIdentifier ¶
func (m *UserIdentifier) GetIdentifier() isUserIdentifier_Identifier
func (*UserIdentifier) GetPhoneNumber ¶
func (x *UserIdentifier) GetPhoneNumber() string
func (*UserIdentifier) GetUsername ¶
func (x *UserIdentifier) GetUsername() string
func (*UserIdentifier) ProtoMessage ¶
func (*UserIdentifier) ProtoMessage()
func (*UserIdentifier) ProtoReflect ¶
func (x *UserIdentifier) ProtoReflect() protoreflect.Message
func (*UserIdentifier) Reset ¶
func (x *UserIdentifier) Reset()
func (*UserIdentifier) String ¶
func (x *UserIdentifier) String() string
type UserIdentifier_Email ¶
type UserIdentifier_Email struct {
Email string `protobuf:"bytes,2,opt,name=email,proto3,oneof"`
}
type UserIdentifier_PhoneNumber ¶
type UserIdentifier_PhoneNumber struct {
PhoneNumber string `protobuf:"bytes,3,opt,name=phone_number,json=phoneNumber,proto3,oneof"`
}
type UserIdentifier_Username ¶
type UserIdentifier_Username struct {
Username string `protobuf:"bytes,1,opt,name=username,proto3,oneof"`
}
type UserInfo ¶
type UserInfo struct { Email string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"` Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"` PhoneNumber string `protobuf:"bytes,3,opt,name=phone_number,json=phoneNumber,proto3" json:"phone_number,omitempty"` CreatedAt *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` GroupIds []string `protobuf:"bytes,6,rep,name=group_ids,json=groupIds,proto3" json:"group_ids,omitempty"` // contains filtered or unexported fields }
func (*UserInfo) Descriptor
deprecated
func (*UserInfo) GetCreatedAt ¶
func (x *UserInfo) GetCreatedAt() *timestamppb.Timestamp
func (*UserInfo) GetGroupIds ¶
func (*UserInfo) GetPhoneNumber ¶
func (*UserInfo) GetUsername ¶
func (*UserInfo) ProtoMessage ¶
func (*UserInfo) ProtoMessage()
func (*UserInfo) ProtoReflect ¶
func (x *UserInfo) ProtoReflect() protoreflect.Message