Documentation ¶
Overview ¶
Package com_HailoOSS_service_login_auth is a generated protocol buffer package.
It is generated from these files:
github.com/HailoOSS/login-service/proto/auth/auth.proto
It has these top-level messages:
Request Response
Index ¶
- type Request
- func (m *Request) GetApiToken() string
- func (m *Request) GetApplication() string
- func (m *Request) GetDeviceType() string
- func (m *Request) GetEmail() string
- func (m *Request) GetMech() string
- func (m *Request) GetMeta() []*com_HailoOSS_service_login.KeyValue
- func (m *Request) GetNewPassword() string
- func (m *Request) GetNoExpire() bool
- func (m *Request) GetOauthToken() string
- func (m *Request) GetPassword() string
- func (m *Request) GetPhone() string
- func (m *Request) GetProvider() string
- func (m *Request) GetUsername() string
- func (*Request) ProtoMessage()
- func (m *Request) Reset()
- func (m *Request) String() string
- type Response
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Request ¶
type Request struct { Mech *string `protobuf:"bytes,1,req,name=mech" json:"mech,omitempty"` DeviceType *string `protobuf:"bytes,2,req,name=deviceType" json:"deviceType,omitempty"` Password *string `protobuf:"bytes,3,req,name=password" json:"password,omitempty"` Username *string `protobuf:"bytes,4,opt,name=username" json:"username,omitempty"` // the plan is to get rid of these when we port Email *string `protobuf:"bytes,5,opt,name=email" json:"email,omitempty"` Phone *string `protobuf:"bytes,6,opt,name=phone" json:"phone,omitempty"` NewPassword *string `protobuf:"bytes,7,opt,name=newPassword" json:"newPassword,omitempty"` ApiToken *string `protobuf:"bytes,8,opt,name=apiToken" json:"apiToken,omitempty"` // application is for h2 login and namespaces our user pool Application *string `protobuf:"bytes,9,opt,name=application" json:"application,omitempty"` // meta data is optional meta data for h2 logins to attach to the login record, things like IP etc. Meta []*com_HailoOSS_service_login.KeyValue `protobuf:"bytes,10,rep,name=meta" json:"meta,omitempty"` // If true will authenticate the user with the current session NoExpire *bool `protobuf:"varint,11,opt,name=noExpire" json:"noExpire,omitempty"` OauthToken *string `protobuf:"bytes,12,opt,name=oauthToken" json:"oauthToken,omitempty"` Provider *string `protobuf:"bytes,13,opt,name=provider" json:"provider,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*Request) GetApiToken ¶
func (*Request) GetApplication ¶
func (*Request) GetDeviceType ¶
func (*Request) GetMeta ¶
func (m *Request) GetMeta() []*com_HailoOSS_service_login.KeyValue
func (*Request) GetNewPassword ¶
func (*Request) GetNoExpire ¶
func (*Request) GetOauthToken ¶
func (*Request) GetPassword ¶
func (*Request) GetProvider ¶
func (*Request) GetUsername ¶
func (*Request) ProtoMessage ¶
func (*Request) ProtoMessage()
Click to show internal directories.
Click to hide internal directories.