usermodel

package
v0.64.0 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_proto_model_v1_user_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Scram added in v0.56.0

type Scram struct {
	Sha1           string `protobuf:"bytes,1,opt,name=sha1,proto3" json:"sha1,omitempty"`
	Sha256         string `protobuf:"bytes,2,opt,name=sha256,proto3" json:"sha256,omitempty"`
	Sha512         string `protobuf:"bytes,3,opt,name=sha512,proto3" json:"sha512,omitempty"`
	Sha3512        string `protobuf:"bytes,4,opt,name=sha3512,proto3" json:"sha3512,omitempty"`
	IterationCount int64  `protobuf:"varint,5,opt,name=iteration_count,json=iterationCount,proto3" json:"iteration_count,omitempty"`
	Salt           string `protobuf:"bytes,6,opt,name=salt,proto3" json:"salt,omitempty"`
	PepperId       string `protobuf:"bytes,7,opt,name=pepper_id,json=pepperId,proto3" json:"pepper_id,omitempty"`
	// contains filtered or unexported fields
}

func (*Scram) Descriptor deprecated added in v0.56.0

func (*Scram) Descriptor() ([]byte, []int)

Deprecated: Use Scram.ProtoReflect.Descriptor instead.

func (*Scram) GetIterationCount added in v0.56.0

func (x *Scram) GetIterationCount() int64

func (*Scram) GetPepperId added in v0.56.0

func (x *Scram) GetPepperId() string

func (*Scram) GetSalt added in v0.56.0

func (x *Scram) GetSalt() string

func (*Scram) GetSha1 added in v0.56.0

func (x *Scram) GetSha1() string

func (*Scram) GetSha256 added in v0.56.0

func (x *Scram) GetSha256() string

func (*Scram) GetSha3512 added in v0.56.0

func (x *Scram) GetSha3512() string

func (*Scram) GetSha512 added in v0.56.0

func (x *Scram) GetSha512() string

func (*Scram) ProtoMessage added in v0.56.0

func (*Scram) ProtoMessage()

func (*Scram) ProtoReflect added in v0.56.0

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

func (*Scram) Reset added in v0.56.0

func (x *Scram) Reset()

func (*Scram) String added in v0.56.0

func (x *Scram) String() string

type User

type User struct {
	Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
	Scram    *Scram `protobuf:"bytes,2,opt,name=scram,proto3" json:"scram,omitempty"`
	// contains filtered or unexported fields
}

User represents a user entity.

func (*User) Descriptor deprecated added in v0.56.0

func (*User) Descriptor() ([]byte, []int)

Deprecated: Use User.ProtoReflect.Descriptor instead.

func (*User) GetScram added in v0.56.0

func (x *User) GetScram() *Scram

func (*User) GetUsername added in v0.56.0

func (x *User) GetUsername() string

func (*User) MarshalBinary added in v0.58.0

func (x *User) MarshalBinary() (data []byte, err error)

MarshalBinary satisfies encoding.BinaryMarshaler interface.

func (*User) ProtoMessage added in v0.56.0

func (*User) ProtoMessage()

func (*User) ProtoReflect added in v0.56.0

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

func (*User) Reset added in v0.56.0

func (x *User) Reset()

func (*User) String added in v0.56.0

func (x *User) String() string

func (*User) UnmarshalBinary added in v0.58.0

func (x *User) UnmarshalBinary(data []byte) error

UnmarshalBinary satisfies encoding.BinaryUnmarshaler interface.

Jump to

Keyboard shortcuts

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