com_hailocab_service_login_auth

package
v0.0.0-...-cbea63e Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package com_hailocab_service_login_auth is a generated protocol buffer package.

It is generated from these files:

github.com/hailocab/h2/proto/login/proto/auth/auth.proto

It has these top-level messages:

Request
Response

Index

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_hailocab_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"`
	XXX_unrecognized []byte `json:"-"`
}

func (*Request) GetApiToken

func (m *Request) GetApiToken() string

func (*Request) GetApplication

func (m *Request) GetApplication() string

func (*Request) GetDeviceType

func (m *Request) GetDeviceType() string

func (*Request) GetEmail

func (m *Request) GetEmail() string

func (*Request) GetMech

func (m *Request) GetMech() string

func (*Request) GetMeta

func (*Request) GetNewPassword

func (m *Request) GetNewPassword() string

func (*Request) GetNoExpire

func (m *Request) GetNoExpire() bool

func (*Request) GetPassword

func (m *Request) GetPassword() string

func (*Request) GetPhone

func (m *Request) GetPhone() string

func (*Request) GetUsername

func (m *Request) GetUsername() string

func (*Request) ProtoMessage

func (*Request) ProtoMessage()

func (*Request) Reset

func (m *Request) Reset()

func (*Request) String

func (m *Request) String() string

type Response

type Response struct {
	SessId           *string `protobuf:"bytes,1,req,name=sessId" json:"sessId,omitempty"`
	Token            *string `protobuf:"bytes,2,req,name=token" json:"token,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

func (*Response) GetSessId

func (m *Response) GetSessId() string

func (*Response) GetToken

func (m *Response) GetToken() string

func (*Response) ProtoMessage

func (*Response) ProtoMessage()

func (*Response) Reset

func (m *Response) Reset()

func (*Response) String

func (m *Response) String() string

Jump to

Keyboard shortcuts

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