Documentation ¶
Index ¶
- Variables
- type AuthService
- type AuthServiceHandler
- type AuthStep
- func (*AuthStep) Descriptor() ([]byte, []int)deprecated
- func (x *AuthStep) GetCanGoBack() bool
- func (x *AuthStep) GetChoice() *AuthStep_Choice
- func (x *AuthStep) GetFallbackUrl() string
- func (x *AuthStep) GetForm() *AuthStep_Form
- func (x *AuthStep) GetSession() *Session
- func (m *AuthStep) GetStep() isAuthStep_Step
- func (x *AuthStep) GetWaiting() *AuthStep_Waiting
- func (m *AuthStep) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *AuthStep) MarshalToVT(dAtA []byte) (int, error)
- func (m *AuthStep) MarshalVT() (dAtA []byte, err error)
- func (*AuthStep) ProtoMessage()
- func (x *AuthStep) ProtoReflect() protoreflect.Message
- func (x *AuthStep) Reset()
- func (m *AuthStep) SizeVT() (n int)
- func (x *AuthStep) String() string
- func (m *AuthStep) UnmarshalVT(dAtA []byte) error
- type AuthStep_Choice
- func (*AuthStep_Choice) Descriptor() ([]byte, []int)deprecated
- func (x *AuthStep_Choice) GetOptions() []string
- func (x *AuthStep_Choice) GetTitle() string
- func (m *AuthStep_Choice) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *AuthStep_Choice) MarshalToVT(dAtA []byte) (int, error)
- func (m *AuthStep_Choice) MarshalVT() (dAtA []byte, err error)
- func (*AuthStep_Choice) ProtoMessage()
- func (x *AuthStep_Choice) ProtoReflect() protoreflect.Message
- func (x *AuthStep_Choice) Reset()
- func (m *AuthStep_Choice) SizeVT() (n int)
- func (x *AuthStep_Choice) String() string
- func (m *AuthStep_Choice) UnmarshalVT(dAtA []byte) error
- type AuthStep_Choice_
- type AuthStep_Form
- func (*AuthStep_Form) Descriptor() ([]byte, []int)deprecated
- func (x *AuthStep_Form) GetFields() []*AuthStep_Form_FormField
- func (x *AuthStep_Form) GetTitle() string
- func (m *AuthStep_Form) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *AuthStep_Form) MarshalToVT(dAtA []byte) (int, error)
- func (m *AuthStep_Form) MarshalVT() (dAtA []byte, err error)
- func (*AuthStep_Form) ProtoMessage()
- func (x *AuthStep_Form) ProtoReflect() protoreflect.Message
- func (x *AuthStep_Form) Reset()
- func (m *AuthStep_Form) SizeVT() (n int)
- func (x *AuthStep_Form) String() string
- func (m *AuthStep_Form) UnmarshalVT(dAtA []byte) error
- type AuthStep_Form_
- type AuthStep_Form_FormField
- func (*AuthStep_Form_FormField) Descriptor() ([]byte, []int)deprecated
- func (x *AuthStep_Form_FormField) GetName() string
- func (x *AuthStep_Form_FormField) GetType() string
- func (m *AuthStep_Form_FormField) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *AuthStep_Form_FormField) MarshalToVT(dAtA []byte) (int, error)
- func (m *AuthStep_Form_FormField) MarshalVT() (dAtA []byte, err error)
- func (*AuthStep_Form_FormField) ProtoMessage()
- func (x *AuthStep_Form_FormField) ProtoReflect() protoreflect.Message
- func (x *AuthStep_Form_FormField) Reset()
- func (m *AuthStep_Form_FormField) SizeVT() (n int)
- func (x *AuthStep_Form_FormField) String() string
- func (m *AuthStep_Form_FormField) UnmarshalVT(dAtA []byte) error
- type AuthStep_Session
- type AuthStep_Waiting
- func (*AuthStep_Waiting) Descriptor() ([]byte, []int)deprecated
- func (x *AuthStep_Waiting) GetDescription() string
- func (x *AuthStep_Waiting) GetTitle() string
- func (m *AuthStep_Waiting) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *AuthStep_Waiting) MarshalToVT(dAtA []byte) (int, error)
- func (m *AuthStep_Waiting) MarshalVT() (dAtA []byte, err error)
- func (*AuthStep_Waiting) ProtoMessage()
- func (x *AuthStep_Waiting) ProtoReflect() protoreflect.Message
- func (x *AuthStep_Waiting) Reset()
- func (m *AuthStep_Waiting) SizeVT() (n int)
- func (x *AuthStep_Waiting) String() string
- func (m *AuthStep_Waiting) UnmarshalVT(dAtA []byte) error
- type AuthStep_Waiting_
- type BeginAuthRequest
- func (*BeginAuthRequest) Descriptor() ([]byte, []int)deprecated
- func (x *BeginAuthRequest) GetForGuestToken() string
- func (m *BeginAuthRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *BeginAuthRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *BeginAuthRequest) MarshalVT() (dAtA []byte, err error)
- func (*BeginAuthRequest) ProtoMessage()
- func (x *BeginAuthRequest) ProtoReflect() protoreflect.Message
- func (x *BeginAuthRequest) Reset()
- func (m *BeginAuthRequest) SizeVT() (n int)
- func (x *BeginAuthRequest) String() string
- func (m *BeginAuthRequest) UnmarshalVT(dAtA []byte) error
- type BeginAuthResponse
- func (*BeginAuthResponse) Descriptor() ([]byte, []int)deprecated
- func (x *BeginAuthResponse) GetAuthId() string
- func (m *BeginAuthResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *BeginAuthResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *BeginAuthResponse) MarshalVT() (dAtA []byte, err error)
- func (*BeginAuthResponse) ProtoMessage()
- func (x *BeginAuthResponse) ProtoReflect() protoreflect.Message
- func (x *BeginAuthResponse) Reset()
- func (m *BeginAuthResponse) SizeVT() (n int)
- func (x *BeginAuthResponse) String() string
- func (m *BeginAuthResponse) UnmarshalVT(dAtA []byte) error
- type CheckLoggedInRequest
- func (*CheckLoggedInRequest) Descriptor() ([]byte, []int)deprecated
- func (m *CheckLoggedInRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *CheckLoggedInRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *CheckLoggedInRequest) MarshalVT() (dAtA []byte, err error)
- func (*CheckLoggedInRequest) ProtoMessage()
- func (x *CheckLoggedInRequest) ProtoReflect() protoreflect.Message
- func (x *CheckLoggedInRequest) Reset()
- func (m *CheckLoggedInRequest) SizeVT() (n int)
- func (x *CheckLoggedInRequest) String() string
- func (m *CheckLoggedInRequest) UnmarshalVT(dAtA []byte) error
- type CheckLoggedInResponse
- func (*CheckLoggedInResponse) Descriptor() ([]byte, []int)deprecated
- func (m *CheckLoggedInResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *CheckLoggedInResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *CheckLoggedInResponse) MarshalVT() (dAtA []byte, err error)
- func (*CheckLoggedInResponse) ProtoMessage()
- func (x *CheckLoggedInResponse) ProtoReflect() protoreflect.Message
- func (x *CheckLoggedInResponse) Reset()
- func (m *CheckLoggedInResponse) SizeVT() (n int)
- func (x *CheckLoggedInResponse) String() string
- func (m *CheckLoggedInResponse) UnmarshalVT(dAtA []byte) error
- type FederateRequest
- func (*FederateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *FederateRequest) GetServerId() string
- func (m *FederateRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *FederateRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *FederateRequest) MarshalVT() (dAtA []byte, err error)
- func (*FederateRequest) ProtoMessage()
- func (x *FederateRequest) ProtoReflect() protoreflect.Message
- func (x *FederateRequest) Reset()
- func (m *FederateRequest) SizeVT() (n int)
- func (x *FederateRequest) String() string
- func (m *FederateRequest) UnmarshalVT(dAtA []byte) error
- type FederateResponse
- func (*FederateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *FederateResponse) GetToken() *v1.Token
- func (m *FederateResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *FederateResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *FederateResponse) MarshalVT() (dAtA []byte, err error)
- func (*FederateResponse) ProtoMessage()
- func (x *FederateResponse) ProtoReflect() protoreflect.Message
- func (x *FederateResponse) Reset()
- func (m *FederateResponse) SizeVT() (n int)
- func (x *FederateResponse) String() string
- func (m *FederateResponse) UnmarshalVT(dAtA []byte) error
- type KeyRequest
- func (*KeyRequest) Descriptor() ([]byte, []int)deprecated
- func (m *KeyRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *KeyRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *KeyRequest) MarshalVT() (dAtA []byte, err error)
- func (*KeyRequest) ProtoMessage()
- func (x *KeyRequest) ProtoReflect() protoreflect.Message
- func (x *KeyRequest) Reset()
- func (m *KeyRequest) SizeVT() (n int)
- func (x *KeyRequest) String() string
- func (m *KeyRequest) UnmarshalVT(dAtA []byte) error
- type KeyResponse
- func (*KeyResponse) Descriptor() ([]byte, []int)deprecated
- func (x *KeyResponse) GetKey() []byte
- func (m *KeyResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *KeyResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *KeyResponse) MarshalVT() (dAtA []byte, err error)
- func (*KeyResponse) ProtoMessage()
- func (x *KeyResponse) ProtoReflect() protoreflect.Message
- func (x *KeyResponse) Reset()
- func (m *KeyResponse) SizeVT() (n int)
- func (x *KeyResponse) String() string
- func (m *KeyResponse) UnmarshalVT(dAtA []byte) error
- type LoginFederatedRequest
- func (*LoginFederatedRequest) Descriptor() ([]byte, []int)deprecated
- func (x *LoginFederatedRequest) GetAuthToken() *v1.Token
- func (x *LoginFederatedRequest) GetServerId() string
- func (m *LoginFederatedRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *LoginFederatedRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *LoginFederatedRequest) MarshalVT() (dAtA []byte, err error)
- func (*LoginFederatedRequest) ProtoMessage()
- func (x *LoginFederatedRequest) ProtoReflect() protoreflect.Message
- func (x *LoginFederatedRequest) Reset()
- func (m *LoginFederatedRequest) SizeVT() (n int)
- func (x *LoginFederatedRequest) String() string
- func (m *LoginFederatedRequest) UnmarshalVT(dAtA []byte) error
- type LoginFederatedResponse
- func (*LoginFederatedResponse) Descriptor() ([]byte, []int)deprecated
- func (x *LoginFederatedResponse) GetSession() *Session
- func (m *LoginFederatedResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *LoginFederatedResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *LoginFederatedResponse) MarshalVT() (dAtA []byte, err error)
- func (*LoginFederatedResponse) ProtoMessage()
- func (x *LoginFederatedResponse) ProtoReflect() protoreflect.Message
- func (x *LoginFederatedResponse) Reset()
- func (m *LoginFederatedResponse) SizeVT() (n int)
- func (x *LoginFederatedResponse) String() string
- func (m *LoginFederatedResponse) UnmarshalVT(dAtA []byte) error
- type NextStepRequest
- func (*NextStepRequest) Descriptor() ([]byte, []int)deprecated
- func (x *NextStepRequest) GetAuthId() string
- func (x *NextStepRequest) GetChoice() *NextStepRequest_Choice
- func (x *NextStepRequest) GetForm() *NextStepRequest_Form
- func (m *NextStepRequest) GetStep() isNextStepRequest_Step
- func (m *NextStepRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *NextStepRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *NextStepRequest) MarshalVT() (dAtA []byte, err error)
- func (*NextStepRequest) ProtoMessage()
- func (x *NextStepRequest) ProtoReflect() protoreflect.Message
- func (x *NextStepRequest) Reset()
- func (m *NextStepRequest) SizeVT() (n int)
- func (x *NextStepRequest) String() string
- func (m *NextStepRequest) UnmarshalVT(dAtA []byte) error
- type NextStepRequest_Choice
- func (*NextStepRequest_Choice) Descriptor() ([]byte, []int)deprecated
- func (x *NextStepRequest_Choice) GetChoice() string
- func (m *NextStepRequest_Choice) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *NextStepRequest_Choice) MarshalToVT(dAtA []byte) (int, error)
- func (m *NextStepRequest_Choice) MarshalVT() (dAtA []byte, err error)
- func (*NextStepRequest_Choice) ProtoMessage()
- func (x *NextStepRequest_Choice) ProtoReflect() protoreflect.Message
- func (x *NextStepRequest_Choice) Reset()
- func (m *NextStepRequest_Choice) SizeVT() (n int)
- func (x *NextStepRequest_Choice) String() string
- func (m *NextStepRequest_Choice) UnmarshalVT(dAtA []byte) error
- type NextStepRequest_Choice_
- type NextStepRequest_Form
- func (*NextStepRequest_Form) Descriptor() ([]byte, []int)deprecated
- func (x *NextStepRequest_Form) GetFields() []*NextStepRequest_FormFields
- func (m *NextStepRequest_Form) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *NextStepRequest_Form) MarshalToVT(dAtA []byte) (int, error)
- func (m *NextStepRequest_Form) MarshalVT() (dAtA []byte, err error)
- func (*NextStepRequest_Form) ProtoMessage()
- func (x *NextStepRequest_Form) ProtoReflect() protoreflect.Message
- func (x *NextStepRequest_Form) Reset()
- func (m *NextStepRequest_Form) SizeVT() (n int)
- func (x *NextStepRequest_Form) String() string
- func (m *NextStepRequest_Form) UnmarshalVT(dAtA []byte) error
- type NextStepRequest_FormFields
- func (*NextStepRequest_FormFields) Descriptor() ([]byte, []int)deprecated
- func (x *NextStepRequest_FormFields) GetBytes() []byte
- func (m *NextStepRequest_FormFields) GetField() isNextStepRequest_FormFields_Field
- func (x *NextStepRequest_FormFields) GetNumber() int64
- func (x *NextStepRequest_FormFields) GetString_() string
- func (m *NextStepRequest_FormFields) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *NextStepRequest_FormFields) MarshalToVT(dAtA []byte) (int, error)
- func (m *NextStepRequest_FormFields) MarshalVT() (dAtA []byte, err error)
- func (*NextStepRequest_FormFields) ProtoMessage()
- func (x *NextStepRequest_FormFields) ProtoReflect() protoreflect.Message
- func (x *NextStepRequest_FormFields) Reset()
- func (m *NextStepRequest_FormFields) SizeVT() (n int)
- func (x *NextStepRequest_FormFields) String() string
- func (m *NextStepRequest_FormFields) UnmarshalVT(dAtA []byte) error
- type NextStepRequest_FormFields_Bytes
- type NextStepRequest_FormFields_Number
- type NextStepRequest_FormFields_String_
- type NextStepRequest_Form_
- type NextStepResponse
- func (*NextStepResponse) Descriptor() ([]byte, []int)deprecated
- func (x *NextStepResponse) GetStep() *AuthStep
- func (m *NextStepResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *NextStepResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *NextStepResponse) MarshalVT() (dAtA []byte, err error)
- func (*NextStepResponse) ProtoMessage()
- func (x *NextStepResponse) ProtoReflect() protoreflect.Message
- func (x *NextStepResponse) Reset()
- func (m *NextStepResponse) SizeVT() (n int)
- func (x *NextStepResponse) String() string
- func (m *NextStepResponse) UnmarshalVT(dAtA []byte) error
- type Session
- func (*Session) Descriptor() ([]byte, []int)deprecated
- func (x *Session) GetGuestToken() string
- func (x *Session) GetSessionToken() string
- func (x *Session) GetUserId() uint64
- func (m *Session) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Session) MarshalToVT(dAtA []byte) (int, error)
- func (m *Session) MarshalVT() (dAtA []byte, err error)
- func (*Session) ProtoMessage()
- func (x *Session) ProtoReflect() protoreflect.Message
- func (x *Session) Reset()
- func (m *Session) SizeVT() (n int)
- func (x *Session) String() string
- func (m *Session) UnmarshalVT(dAtA []byte) error
- type StepBackRequest
- func (*StepBackRequest) Descriptor() ([]byte, []int)deprecated
- func (x *StepBackRequest) GetAuthId() string
- func (m *StepBackRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *StepBackRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *StepBackRequest) MarshalVT() (dAtA []byte, err error)
- func (*StepBackRequest) ProtoMessage()
- func (x *StepBackRequest) ProtoReflect() protoreflect.Message
- func (x *StepBackRequest) Reset()
- func (m *StepBackRequest) SizeVT() (n int)
- func (x *StepBackRequest) String() string
- func (m *StepBackRequest) UnmarshalVT(dAtA []byte) error
- type StepBackResponse
- func (*StepBackResponse) Descriptor() ([]byte, []int)deprecated
- func (x *StepBackResponse) GetStep() *AuthStep
- func (m *StepBackResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *StepBackResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *StepBackResponse) MarshalVT() (dAtA []byte, err error)
- func (*StepBackResponse) ProtoMessage()
- func (x *StepBackResponse) ProtoReflect() protoreflect.Message
- func (x *StepBackResponse) Reset()
- func (m *StepBackResponse) SizeVT() (n int)
- func (x *StepBackResponse) String() string
- func (m *StepBackResponse) UnmarshalVT(dAtA []byte) error
- type StreamStepsRequest
- func (*StreamStepsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *StreamStepsRequest) GetAuthId() string
- func (m *StreamStepsRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *StreamStepsRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *StreamStepsRequest) MarshalVT() (dAtA []byte, err error)
- func (*StreamStepsRequest) ProtoMessage()
- func (x *StreamStepsRequest) ProtoReflect() protoreflect.Message
- func (x *StreamStepsRequest) Reset()
- func (m *StreamStepsRequest) SizeVT() (n int)
- func (x *StreamStepsRequest) String() string
- func (m *StreamStepsRequest) UnmarshalVT(dAtA []byte) error
- type StreamStepsResponse
- func (*StreamStepsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *StreamStepsResponse) GetStep() *AuthStep
- func (m *StreamStepsResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *StreamStepsResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *StreamStepsResponse) MarshalVT() (dAtA []byte, err error)
- func (*StreamStepsResponse) ProtoMessage()
- func (x *StreamStepsResponse) ProtoReflect() protoreflect.Message
- func (x *StreamStepsResponse) Reset()
- func (m *StreamStepsResponse) SizeVT() (n int)
- func (x *StreamStepsResponse) String() string
- func (m *StreamStepsResponse) UnmarshalVT(dAtA []byte) error
- type TokenData
- func (*TokenData) Descriptor() ([]byte, []int)deprecated
- func (x *TokenData) GetAvatar() string
- func (x *TokenData) GetServerId() string
- func (x *TokenData) GetUserId() uint64
- func (x *TokenData) GetUsername() string
- func (m *TokenData) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *TokenData) MarshalToVT(dAtA []byte) (int, error)
- func (m *TokenData) MarshalVT() (dAtA []byte, err error)
- func (*TokenData) ProtoMessage()
- func (x *TokenData) ProtoReflect() protoreflect.Message
- func (x *TokenData) Reset()
- func (m *TokenData) SizeVT() (n int)
- func (x *TokenData) String() string
- func (m *TokenData) UnmarshalVT(dAtA []byte) error
Constants ¶
This section is empty.
Variables ¶
var ( ErrInvalidLength = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflow = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroup = fmt.Errorf("proto: unexpected end of group") )
var File_auth_v1_auth_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type AuthService ¶
type AuthService[T context.Context] interface { Federate(T, *FederateRequest) (*FederateResponse, error) LoginFederated(T, *LoginFederatedRequest) (*LoginFederatedResponse, error) Key(T, *KeyRequest) (*KeyResponse, error) BeginAuth(T, *BeginAuthRequest) (*BeginAuthResponse, error) NextStep(T, *NextStepRequest) (*NextStepResponse, error) StepBack(T, *StepBackRequest) (*StepBackResponse, error) CheckLoggedIn(T, *CheckLoggedInRequest) (*CheckLoggedInResponse, error) StreamSteps(T, chan *StreamStepsRequest, chan *StreamStepsResponse) error }
type AuthServiceHandler ¶
type AuthServiceHandler[T context.Context] struct { Impl AuthService[T] }
func (*AuthServiceHandler[T]) Routes ¶
func (h *AuthServiceHandler[T]) Routes() map[string]goserver.UnaryMethodData[T]
func (*AuthServiceHandler[T]) StreamRoutes ¶
func (h *AuthServiceHandler[T]) StreamRoutes() map[string]goserver.StreamMethodData[T]
type AuthStep ¶
type AuthStep struct { // fallback_url: unused. FallbackUrl string `protobuf:"bytes,1,opt,name=fallback_url,json=fallbackUrl,proto3" json:"fallback_url,omitempty"` // can_go_back: whether or not the client can request the // server to send the previous step. CanGoBack bool `protobuf:"varint,2,opt,name=can_go_back,json=canGoBack,proto3" json:"can_go_back,omitempty"` // step: the current step // // Types that are assignable to Step: // *AuthStep_Choice_ // *AuthStep_Form_ // *AuthStep_Session // *AuthStep_Waiting_ Step isAuthStep_Step `protobuf_oneof:"step"` // contains filtered or unexported fields }
A step in the authentication process. Contains a variety of different types of views.
It is recommended to have a fallback_url specified for non-trivial authentication procedures (such as captchas).
func (*AuthStep) Descriptor
deprecated
func (*AuthStep) GetCanGoBack ¶
func (*AuthStep) GetChoice ¶
func (x *AuthStep) GetChoice() *AuthStep_Choice
func (*AuthStep) GetFallbackUrl ¶
func (*AuthStep) GetForm ¶
func (x *AuthStep) GetForm() *AuthStep_Form
func (*AuthStep) GetSession ¶
func (*AuthStep) GetWaiting ¶
func (x *AuthStep) GetWaiting() *AuthStep_Waiting
func (*AuthStep) MarshalToSizedBufferVT ¶
func (*AuthStep) ProtoMessage ¶
func (*AuthStep) ProtoMessage()
func (*AuthStep) ProtoReflect ¶
func (x *AuthStep) ProtoReflect() protoreflect.Message
func (*AuthStep) UnmarshalVT ¶
type AuthStep_Choice ¶
type AuthStep_Choice struct { // title: the title of the list of choices. Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` // options: a list of choices, one of these // should be sent in nextstep. Options []string `protobuf:"bytes,2,rep,name=options,proto3" json:"options,omitempty"` // contains filtered or unexported fields }
A step which allows the user to choose from a range of options Allows you to show a heading by specifying title.
func (*AuthStep_Choice) Descriptor
deprecated
func (*AuthStep_Choice) Descriptor() ([]byte, []int)
Deprecated: Use AuthStep_Choice.ProtoReflect.Descriptor instead.
func (*AuthStep_Choice) GetOptions ¶
func (x *AuthStep_Choice) GetOptions() []string
func (*AuthStep_Choice) GetTitle ¶
func (x *AuthStep_Choice) GetTitle() string
func (*AuthStep_Choice) MarshalToSizedBufferVT ¶
func (m *AuthStep_Choice) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*AuthStep_Choice) MarshalToVT ¶
func (m *AuthStep_Choice) MarshalToVT(dAtA []byte) (int, error)
func (*AuthStep_Choice) MarshalVT ¶
func (m *AuthStep_Choice) MarshalVT() (dAtA []byte, err error)
func (*AuthStep_Choice) ProtoMessage ¶
func (*AuthStep_Choice) ProtoMessage()
func (*AuthStep_Choice) ProtoReflect ¶
func (x *AuthStep_Choice) ProtoReflect() protoreflect.Message
func (*AuthStep_Choice) Reset ¶
func (x *AuthStep_Choice) Reset()
func (*AuthStep_Choice) SizeVT ¶
func (m *AuthStep_Choice) SizeVT() (n int)
func (*AuthStep_Choice) String ¶
func (x *AuthStep_Choice) String() string
func (*AuthStep_Choice) UnmarshalVT ¶
func (m *AuthStep_Choice) UnmarshalVT(dAtA []byte) error
type AuthStep_Choice_ ¶
type AuthStep_Choice_ struct { // choice: the user must pick a thing out of a list of options. Choice *AuthStep_Choice `protobuf:"bytes,3,opt,name=choice,proto3,oneof"` }
func (*AuthStep_Choice_) MarshalToSizedBufferVT ¶
func (m *AuthStep_Choice_) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*AuthStep_Choice_) MarshalToVT ¶
func (m *AuthStep_Choice_) MarshalToVT(dAtA []byte) (int, error)
func (*AuthStep_Choice_) SizeVT ¶
func (m *AuthStep_Choice_) SizeVT() (n int)
type AuthStep_Form ¶
type AuthStep_Form struct { // title: the title of this form. Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` // fields: all the fields in this form. Fields []*AuthStep_Form_FormField `protobuf:"bytes,2,rep,name=fields,proto3" json:"fields,omitempty"` // contains filtered or unexported fields }
A step which requires the user to input information Allows you to show a heading by specifying title.
func (*AuthStep_Form) Descriptor
deprecated
func (*AuthStep_Form) Descriptor() ([]byte, []int)
Deprecated: Use AuthStep_Form.ProtoReflect.Descriptor instead.
func (*AuthStep_Form) GetFields ¶
func (x *AuthStep_Form) GetFields() []*AuthStep_Form_FormField
func (*AuthStep_Form) GetTitle ¶
func (x *AuthStep_Form) GetTitle() string
func (*AuthStep_Form) MarshalToSizedBufferVT ¶
func (m *AuthStep_Form) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*AuthStep_Form) MarshalToVT ¶
func (m *AuthStep_Form) MarshalToVT(dAtA []byte) (int, error)
func (*AuthStep_Form) MarshalVT ¶
func (m *AuthStep_Form) MarshalVT() (dAtA []byte, err error)
func (*AuthStep_Form) ProtoMessage ¶
func (*AuthStep_Form) ProtoMessage()
func (*AuthStep_Form) ProtoReflect ¶
func (x *AuthStep_Form) ProtoReflect() protoreflect.Message
func (*AuthStep_Form) Reset ¶
func (x *AuthStep_Form) Reset()
func (*AuthStep_Form) SizeVT ¶
func (m *AuthStep_Form) SizeVT() (n int)
func (*AuthStep_Form) String ¶
func (x *AuthStep_Form) String() string
func (*AuthStep_Form) UnmarshalVT ¶
func (m *AuthStep_Form) UnmarshalVT(dAtA []byte) error
type AuthStep_Form_ ¶
type AuthStep_Form_ struct { // form: the user must complete a form. Form *AuthStep_Form `protobuf:"bytes,4,opt,name=form,proto3,oneof"` }
func (*AuthStep_Form_) MarshalToSizedBufferVT ¶
func (m *AuthStep_Form_) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*AuthStep_Form_) MarshalToVT ¶
func (m *AuthStep_Form_) MarshalToVT(dAtA []byte) (int, error)
func (*AuthStep_Form_) SizeVT ¶
func (m *AuthStep_Form_) SizeVT() (n int)
type AuthStep_Form_FormField ¶
type AuthStep_Form_FormField struct { // name: the identifier for the form field. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // type: the type of the form field, as documented above. Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"` // contains filtered or unexported fields }
A field in the form, containing information on how it should be rendered Here is a list of form types that need to be supported: email: a field type that has to contain a valid email password: a field type that has to contain a password new-password: a field type for new passwords text: a field type that has to contain text number: a field type that has to contain a number
func (*AuthStep_Form_FormField) Descriptor
deprecated
func (*AuthStep_Form_FormField) Descriptor() ([]byte, []int)
Deprecated: Use AuthStep_Form_FormField.ProtoReflect.Descriptor instead.
func (*AuthStep_Form_FormField) GetName ¶
func (x *AuthStep_Form_FormField) GetName() string
func (*AuthStep_Form_FormField) GetType ¶
func (x *AuthStep_Form_FormField) GetType() string
func (*AuthStep_Form_FormField) MarshalToSizedBufferVT ¶
func (m *AuthStep_Form_FormField) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*AuthStep_Form_FormField) MarshalToVT ¶
func (m *AuthStep_Form_FormField) MarshalToVT(dAtA []byte) (int, error)
func (*AuthStep_Form_FormField) MarshalVT ¶
func (m *AuthStep_Form_FormField) MarshalVT() (dAtA []byte, err error)
func (*AuthStep_Form_FormField) ProtoMessage ¶
func (*AuthStep_Form_FormField) ProtoMessage()
func (*AuthStep_Form_FormField) ProtoReflect ¶
func (x *AuthStep_Form_FormField) ProtoReflect() protoreflect.Message
func (*AuthStep_Form_FormField) Reset ¶
func (x *AuthStep_Form_FormField) Reset()
func (*AuthStep_Form_FormField) SizeVT ¶
func (m *AuthStep_Form_FormField) SizeVT() (n int)
func (*AuthStep_Form_FormField) String ¶
func (x *AuthStep_Form_FormField) String() string
func (*AuthStep_Form_FormField) UnmarshalVT ¶
func (m *AuthStep_Form_FormField) UnmarshalVT(dAtA []byte) error
type AuthStep_Session ¶
type AuthStep_Session struct { // session: you've completed auth, and have a session. Session *Session `protobuf:"bytes,5,opt,name=session,proto3,oneof"` }
func (*AuthStep_Session) MarshalToSizedBufferVT ¶
func (m *AuthStep_Session) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*AuthStep_Session) MarshalToVT ¶
func (m *AuthStep_Session) MarshalToVT(dAtA []byte) (int, error)
func (*AuthStep_Session) SizeVT ¶
func (m *AuthStep_Session) SizeVT() (n int)
type AuthStep_Waiting ¶
type AuthStep_Waiting struct { // title: the title of this waiting screen. Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` // description: the explanation of what's being waited on. Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` // contains filtered or unexported fields }
Waiting A step which requires the user to perform an external action The title and description should explain to the user what they should do to complete this step.
func (*AuthStep_Waiting) Descriptor
deprecated
func (*AuthStep_Waiting) Descriptor() ([]byte, []int)
Deprecated: Use AuthStep_Waiting.ProtoReflect.Descriptor instead.
func (*AuthStep_Waiting) GetDescription ¶
func (x *AuthStep_Waiting) GetDescription() string
func (*AuthStep_Waiting) GetTitle ¶
func (x *AuthStep_Waiting) GetTitle() string
func (*AuthStep_Waiting) MarshalToSizedBufferVT ¶
func (m *AuthStep_Waiting) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*AuthStep_Waiting) MarshalToVT ¶
func (m *AuthStep_Waiting) MarshalToVT(dAtA []byte) (int, error)
func (*AuthStep_Waiting) MarshalVT ¶
func (m *AuthStep_Waiting) MarshalVT() (dAtA []byte, err error)
func (*AuthStep_Waiting) ProtoMessage ¶
func (*AuthStep_Waiting) ProtoMessage()
func (*AuthStep_Waiting) ProtoReflect ¶
func (x *AuthStep_Waiting) ProtoReflect() protoreflect.Message
func (*AuthStep_Waiting) Reset ¶
func (x *AuthStep_Waiting) Reset()
func (*AuthStep_Waiting) SizeVT ¶
func (m *AuthStep_Waiting) SizeVT() (n int)
func (*AuthStep_Waiting) String ¶
func (x *AuthStep_Waiting) String() string
func (*AuthStep_Waiting) UnmarshalVT ¶
func (m *AuthStep_Waiting) UnmarshalVT(dAtA []byte) error
type AuthStep_Waiting_ ¶
type AuthStep_Waiting_ struct { // waiting: you're waiting on something. Waiting *AuthStep_Waiting `protobuf:"bytes,6,opt,name=waiting,proto3,oneof"` }
func (*AuthStep_Waiting_) MarshalToSizedBufferVT ¶
func (m *AuthStep_Waiting_) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*AuthStep_Waiting_) MarshalToVT ¶
func (m *AuthStep_Waiting_) MarshalToVT(dAtA []byte) (int, error)
func (*AuthStep_Waiting_) SizeVT ¶
func (m *AuthStep_Waiting_) SizeVT() (n int)
type BeginAuthRequest ¶
type BeginAuthRequest struct { // If provided, this is the guest token // for the account being upgraded from // a guest account to a full account // during the auth flow. // // This token is provided by the server // at the end of the auth flow that // created the guest account. ForGuestToken *string `protobuf:"bytes,1,opt,name=for_guest_token,json=forGuestToken,proto3,oneof" json:"for_guest_token,omitempty"` // contains filtered or unexported fields }
Used in `BeginAuth` endpoint.
func (*BeginAuthRequest) Descriptor
deprecated
func (*BeginAuthRequest) Descriptor() ([]byte, []int)
Deprecated: Use BeginAuthRequest.ProtoReflect.Descriptor instead.
func (*BeginAuthRequest) GetForGuestToken ¶
func (x *BeginAuthRequest) GetForGuestToken() string
func (*BeginAuthRequest) MarshalToSizedBufferVT ¶
func (m *BeginAuthRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*BeginAuthRequest) MarshalToVT ¶
func (m *BeginAuthRequest) MarshalToVT(dAtA []byte) (int, error)
func (*BeginAuthRequest) MarshalVT ¶
func (m *BeginAuthRequest) MarshalVT() (dAtA []byte, err error)
func (*BeginAuthRequest) ProtoMessage ¶
func (*BeginAuthRequest) ProtoMessage()
func (*BeginAuthRequest) ProtoReflect ¶
func (x *BeginAuthRequest) ProtoReflect() protoreflect.Message
func (*BeginAuthRequest) Reset ¶
func (x *BeginAuthRequest) Reset()
func (*BeginAuthRequest) SizeVT ¶
func (m *BeginAuthRequest) SizeVT() (n int)
func (*BeginAuthRequest) String ¶
func (x *BeginAuthRequest) String() string
func (*BeginAuthRequest) UnmarshalVT ¶
func (m *BeginAuthRequest) UnmarshalVT(dAtA []byte) error
type BeginAuthResponse ¶
type BeginAuthResponse struct { // auth_id: the ID of this auth session. AuthId string `protobuf:"bytes,1,opt,name=auth_id,json=authId,proto3" json:"auth_id,omitempty"` // contains filtered or unexported fields }
The return type of BeginAuth, containing the auth_id that will be used for the authentication section.
func (*BeginAuthResponse) Descriptor
deprecated
func (*BeginAuthResponse) Descriptor() ([]byte, []int)
Deprecated: Use BeginAuthResponse.ProtoReflect.Descriptor instead.
func (*BeginAuthResponse) GetAuthId ¶
func (x *BeginAuthResponse) GetAuthId() string
func (*BeginAuthResponse) MarshalToSizedBufferVT ¶
func (m *BeginAuthResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*BeginAuthResponse) MarshalToVT ¶
func (m *BeginAuthResponse) MarshalToVT(dAtA []byte) (int, error)
func (*BeginAuthResponse) MarshalVT ¶
func (m *BeginAuthResponse) MarshalVT() (dAtA []byte, err error)
func (*BeginAuthResponse) ProtoMessage ¶
func (*BeginAuthResponse) ProtoMessage()
func (*BeginAuthResponse) ProtoReflect ¶
func (x *BeginAuthResponse) ProtoReflect() protoreflect.Message
func (*BeginAuthResponse) Reset ¶
func (x *BeginAuthResponse) Reset()
func (*BeginAuthResponse) SizeVT ¶
func (m *BeginAuthResponse) SizeVT() (n int)
func (*BeginAuthResponse) String ¶
func (x *BeginAuthResponse) String() string
func (*BeginAuthResponse) UnmarshalVT ¶
func (m *BeginAuthResponse) UnmarshalVT(dAtA []byte) error
type CheckLoggedInRequest ¶
type CheckLoggedInRequest struct {
// contains filtered or unexported fields
}
Used in `CheckLoggedIn` endpoint.
func (*CheckLoggedInRequest) Descriptor
deprecated
func (*CheckLoggedInRequest) Descriptor() ([]byte, []int)
Deprecated: Use CheckLoggedInRequest.ProtoReflect.Descriptor instead.
func (*CheckLoggedInRequest) MarshalToSizedBufferVT ¶
func (m *CheckLoggedInRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*CheckLoggedInRequest) MarshalToVT ¶
func (m *CheckLoggedInRequest) MarshalToVT(dAtA []byte) (int, error)
func (*CheckLoggedInRequest) MarshalVT ¶
func (m *CheckLoggedInRequest) MarshalVT() (dAtA []byte, err error)
func (*CheckLoggedInRequest) ProtoMessage ¶
func (*CheckLoggedInRequest) ProtoMessage()
func (*CheckLoggedInRequest) ProtoReflect ¶
func (x *CheckLoggedInRequest) ProtoReflect() protoreflect.Message
func (*CheckLoggedInRequest) Reset ¶
func (x *CheckLoggedInRequest) Reset()
func (*CheckLoggedInRequest) SizeVT ¶
func (m *CheckLoggedInRequest) SizeVT() (n int)
func (*CheckLoggedInRequest) String ¶
func (x *CheckLoggedInRequest) String() string
func (*CheckLoggedInRequest) UnmarshalVT ¶
func (m *CheckLoggedInRequest) UnmarshalVT(dAtA []byte) error
type CheckLoggedInResponse ¶
type CheckLoggedInResponse struct {
// contains filtered or unexported fields
}
Used in `CheckLoggedIn` endpoint.
func (*CheckLoggedInResponse) Descriptor
deprecated
func (*CheckLoggedInResponse) Descriptor() ([]byte, []int)
Deprecated: Use CheckLoggedInResponse.ProtoReflect.Descriptor instead.
func (*CheckLoggedInResponse) MarshalToSizedBufferVT ¶
func (m *CheckLoggedInResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*CheckLoggedInResponse) MarshalToVT ¶
func (m *CheckLoggedInResponse) MarshalToVT(dAtA []byte) (int, error)
func (*CheckLoggedInResponse) MarshalVT ¶
func (m *CheckLoggedInResponse) MarshalVT() (dAtA []byte, err error)
func (*CheckLoggedInResponse) ProtoMessage ¶
func (*CheckLoggedInResponse) ProtoMessage()
func (*CheckLoggedInResponse) ProtoReflect ¶
func (x *CheckLoggedInResponse) ProtoReflect() protoreflect.Message
func (*CheckLoggedInResponse) Reset ¶
func (x *CheckLoggedInResponse) Reset()
func (*CheckLoggedInResponse) SizeVT ¶
func (m *CheckLoggedInResponse) SizeVT() (n int)
func (*CheckLoggedInResponse) String ¶
func (x *CheckLoggedInResponse) String() string
func (*CheckLoggedInResponse) UnmarshalVT ¶
func (m *CheckLoggedInResponse) UnmarshalVT(dAtA []byte) error
type FederateRequest ¶
type FederateRequest struct { // The server ID foreign server you want to federate with. ServerId string `protobuf:"bytes,1,opt,name=server_id,json=serverId,proto3" json:"server_id,omitempty"` // contains filtered or unexported fields }
The request to federate with a foreign server.
func (*FederateRequest) Descriptor
deprecated
func (*FederateRequest) Descriptor() ([]byte, []int)
Deprecated: Use FederateRequest.ProtoReflect.Descriptor instead.
func (*FederateRequest) GetServerId ¶
func (x *FederateRequest) GetServerId() string
func (*FederateRequest) MarshalToSizedBufferVT ¶
func (m *FederateRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*FederateRequest) MarshalToVT ¶
func (m *FederateRequest) MarshalToVT(dAtA []byte) (int, error)
func (*FederateRequest) MarshalVT ¶
func (m *FederateRequest) MarshalVT() (dAtA []byte, err error)
func (*FederateRequest) ProtoMessage ¶
func (*FederateRequest) ProtoMessage()
func (*FederateRequest) ProtoReflect ¶
func (x *FederateRequest) ProtoReflect() protoreflect.Message
func (*FederateRequest) Reset ¶
func (x *FederateRequest) Reset()
func (*FederateRequest) SizeVT ¶
func (m *FederateRequest) SizeVT() (n int)
func (*FederateRequest) String ¶
func (x *FederateRequest) String() string
func (*FederateRequest) UnmarshalVT ¶
func (m *FederateRequest) UnmarshalVT(dAtA []byte) error
type FederateResponse ¶
type FederateResponse struct { // A `harmonytypes.v1.Token` whose `data` field is a serialized `TokenData` message. // It is signed with the homeserver's private key. Token *v1.Token `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` // contains filtered or unexported fields }
The reply to a successful federation request, containing the token you need to present to the foreign server.
func (*FederateResponse) Descriptor
deprecated
func (*FederateResponse) Descriptor() ([]byte, []int)
Deprecated: Use FederateResponse.ProtoReflect.Descriptor instead.
func (*FederateResponse) GetToken ¶
func (x *FederateResponse) GetToken() *v1.Token
func (*FederateResponse) MarshalToSizedBufferVT ¶
func (m *FederateResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*FederateResponse) MarshalToVT ¶
func (m *FederateResponse) MarshalToVT(dAtA []byte) (int, error)
func (*FederateResponse) MarshalVT ¶
func (m *FederateResponse) MarshalVT() (dAtA []byte, err error)
func (*FederateResponse) ProtoMessage ¶
func (*FederateResponse) ProtoMessage()
func (*FederateResponse) ProtoReflect ¶
func (x *FederateResponse) ProtoReflect() protoreflect.Message
func (*FederateResponse) Reset ¶
func (x *FederateResponse) Reset()
func (*FederateResponse) SizeVT ¶
func (m *FederateResponse) SizeVT() (n int)
func (*FederateResponse) String ¶
func (x *FederateResponse) String() string
func (*FederateResponse) UnmarshalVT ¶
func (m *FederateResponse) UnmarshalVT(dAtA []byte) error
type KeyRequest ¶
type KeyRequest struct {
// contains filtered or unexported fields
}
Used in `Key` endpoint.
func (*KeyRequest) Descriptor
deprecated
func (*KeyRequest) Descriptor() ([]byte, []int)
Deprecated: Use KeyRequest.ProtoReflect.Descriptor instead.
func (*KeyRequest) MarshalToSizedBufferVT ¶
func (m *KeyRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*KeyRequest) MarshalToVT ¶
func (m *KeyRequest) MarshalToVT(dAtA []byte) (int, error)
func (*KeyRequest) MarshalVT ¶
func (m *KeyRequest) MarshalVT() (dAtA []byte, err error)
func (*KeyRequest) ProtoMessage ¶
func (*KeyRequest) ProtoMessage()
func (*KeyRequest) ProtoReflect ¶
func (x *KeyRequest) ProtoReflect() protoreflect.Message
func (*KeyRequest) Reset ¶
func (x *KeyRequest) Reset()
func (*KeyRequest) SizeVT ¶
func (m *KeyRequest) SizeVT() (n int)
func (*KeyRequest) String ¶
func (x *KeyRequest) String() string
func (*KeyRequest) UnmarshalVT ¶
func (m *KeyRequest) UnmarshalVT(dAtA []byte) error
type KeyResponse ¶
type KeyResponse struct { // key: the bytes of the public key. Key []byte `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` // contains filtered or unexported fields }
Contains a key's bytes.
func (*KeyResponse) Descriptor
deprecated
func (*KeyResponse) Descriptor() ([]byte, []int)
Deprecated: Use KeyResponse.ProtoReflect.Descriptor instead.
func (*KeyResponse) GetKey ¶
func (x *KeyResponse) GetKey() []byte
func (*KeyResponse) MarshalToSizedBufferVT ¶
func (m *KeyResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*KeyResponse) MarshalToVT ¶
func (m *KeyResponse) MarshalToVT(dAtA []byte) (int, error)
func (*KeyResponse) MarshalVT ¶
func (m *KeyResponse) MarshalVT() (dAtA []byte, err error)
func (*KeyResponse) ProtoMessage ¶
func (*KeyResponse) ProtoMessage()
func (*KeyResponse) ProtoReflect ¶
func (x *KeyResponse) ProtoReflect() protoreflect.Message
func (*KeyResponse) Reset ¶
func (x *KeyResponse) Reset()
func (*KeyResponse) SizeVT ¶
func (m *KeyResponse) SizeVT() (n int)
func (*KeyResponse) String ¶
func (x *KeyResponse) String() string
func (*KeyResponse) UnmarshalVT ¶
func (m *KeyResponse) UnmarshalVT(dAtA []byte) error
type LoginFederatedRequest ¶
type LoginFederatedRequest struct { // A `harmonytypes.v1.Token` whose `data` field is a serialized `TokenData` message. // It is signed with the homeserver's private key. AuthToken *v1.Token `protobuf:"bytes,1,opt,name=auth_token,json=authToken,proto3" json:"auth_token,omitempty"` // The server ID of the homeserver that the auth token is from ServerId string `protobuf:"bytes,2,opt,name=server_id,json=serverId,proto3" json:"server_id,omitempty"` // contains filtered or unexported fields }
Log into a foreignserver using a token from your homeserver, obtained through a FederateRequest.
func (*LoginFederatedRequest) Descriptor
deprecated
func (*LoginFederatedRequest) Descriptor() ([]byte, []int)
Deprecated: Use LoginFederatedRequest.ProtoReflect.Descriptor instead.
func (*LoginFederatedRequest) GetAuthToken ¶
func (x *LoginFederatedRequest) GetAuthToken() *v1.Token
func (*LoginFederatedRequest) GetServerId ¶
func (x *LoginFederatedRequest) GetServerId() string
func (*LoginFederatedRequest) MarshalToSizedBufferVT ¶
func (m *LoginFederatedRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*LoginFederatedRequest) MarshalToVT ¶
func (m *LoginFederatedRequest) MarshalToVT(dAtA []byte) (int, error)
func (*LoginFederatedRequest) MarshalVT ¶
func (m *LoginFederatedRequest) MarshalVT() (dAtA []byte, err error)
func (*LoginFederatedRequest) ProtoMessage ¶
func (*LoginFederatedRequest) ProtoMessage()
func (*LoginFederatedRequest) ProtoReflect ¶
func (x *LoginFederatedRequest) ProtoReflect() protoreflect.Message
func (*LoginFederatedRequest) Reset ¶
func (x *LoginFederatedRequest) Reset()
func (*LoginFederatedRequest) SizeVT ¶
func (m *LoginFederatedRequest) SizeVT() (n int)
func (*LoginFederatedRequest) String ¶
func (x *LoginFederatedRequest) String() string
func (*LoginFederatedRequest) UnmarshalVT ¶
func (m *LoginFederatedRequest) UnmarshalVT(dAtA []byte) error
type LoginFederatedResponse ¶
type LoginFederatedResponse struct { // The user's session. Session *Session `protobuf:"bytes,1,opt,name=session,proto3" json:"session,omitempty"` // contains filtered or unexported fields }
Used in `LoginFederated` endpoint.
func (*LoginFederatedResponse) Descriptor
deprecated
func (*LoginFederatedResponse) Descriptor() ([]byte, []int)
Deprecated: Use LoginFederatedResponse.ProtoReflect.Descriptor instead.
func (*LoginFederatedResponse) GetSession ¶
func (x *LoginFederatedResponse) GetSession() *Session
func (*LoginFederatedResponse) MarshalToSizedBufferVT ¶
func (m *LoginFederatedResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*LoginFederatedResponse) MarshalToVT ¶
func (m *LoginFederatedResponse) MarshalToVT(dAtA []byte) (int, error)
func (*LoginFederatedResponse) MarshalVT ¶
func (m *LoginFederatedResponse) MarshalVT() (dAtA []byte, err error)
func (*LoginFederatedResponse) ProtoMessage ¶
func (*LoginFederatedResponse) ProtoMessage()
func (*LoginFederatedResponse) ProtoReflect ¶
func (x *LoginFederatedResponse) ProtoReflect() protoreflect.Message
func (*LoginFederatedResponse) Reset ¶
func (x *LoginFederatedResponse) Reset()
func (*LoginFederatedResponse) SizeVT ¶
func (m *LoginFederatedResponse) SizeVT() (n int)
func (*LoginFederatedResponse) String ¶
func (x *LoginFederatedResponse) String() string
func (*LoginFederatedResponse) UnmarshalVT ¶
func (m *LoginFederatedResponse) UnmarshalVT(dAtA []byte) error
type NextStepRequest ¶
type NextStepRequest struct { // auth_id: the authentication session you want // the next step of. AuthId string `protobuf:"bytes,1,opt,name=auth_id,json=authId,proto3" json:"auth_id,omitempty"` // step: the user's response to a step. // // Types that are assignable to Step: // *NextStepRequest_Choice_ // *NextStepRequest_Form_ Step isNextStepRequest_Step `protobuf_oneof:"step"` // contains filtered or unexported fields }
contains the client's response to the server's challenge This needs to be called first with no arguments to receive the first step.
func (*NextStepRequest) Descriptor
deprecated
func (*NextStepRequest) Descriptor() ([]byte, []int)
Deprecated: Use NextStepRequest.ProtoReflect.Descriptor instead.
func (*NextStepRequest) GetAuthId ¶
func (x *NextStepRequest) GetAuthId() string
func (*NextStepRequest) GetChoice ¶
func (x *NextStepRequest) GetChoice() *NextStepRequest_Choice
func (*NextStepRequest) GetForm ¶
func (x *NextStepRequest) GetForm() *NextStepRequest_Form
func (*NextStepRequest) GetStep ¶
func (m *NextStepRequest) GetStep() isNextStepRequest_Step
func (*NextStepRequest) MarshalToSizedBufferVT ¶
func (m *NextStepRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*NextStepRequest) MarshalToVT ¶
func (m *NextStepRequest) MarshalToVT(dAtA []byte) (int, error)
func (*NextStepRequest) MarshalVT ¶
func (m *NextStepRequest) MarshalVT() (dAtA []byte, err error)
func (*NextStepRequest) ProtoMessage ¶
func (*NextStepRequest) ProtoMessage()
func (*NextStepRequest) ProtoReflect ¶
func (x *NextStepRequest) ProtoReflect() protoreflect.Message
func (*NextStepRequest) Reset ¶
func (x *NextStepRequest) Reset()
func (*NextStepRequest) SizeVT ¶
func (m *NextStepRequest) SizeVT() (n int)
func (*NextStepRequest) String ¶
func (x *NextStepRequest) String() string
func (*NextStepRequest) UnmarshalVT ¶
func (m *NextStepRequest) UnmarshalVT(dAtA []byte) error
type NextStepRequest_Choice ¶
type NextStepRequest_Choice struct { // choice: the choice the user picked. Choice string `protobuf:"bytes,1,opt,name=choice,proto3" json:"choice,omitempty"` // contains filtered or unexported fields }
A simple choice string indicating which option the user chose.
func (*NextStepRequest_Choice) Descriptor
deprecated
func (*NextStepRequest_Choice) Descriptor() ([]byte, []int)
Deprecated: Use NextStepRequest_Choice.ProtoReflect.Descriptor instead.
func (*NextStepRequest_Choice) GetChoice ¶
func (x *NextStepRequest_Choice) GetChoice() string
func (*NextStepRequest_Choice) MarshalToSizedBufferVT ¶
func (m *NextStepRequest_Choice) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*NextStepRequest_Choice) MarshalToVT ¶
func (m *NextStepRequest_Choice) MarshalToVT(dAtA []byte) (int, error)
func (*NextStepRequest_Choice) MarshalVT ¶
func (m *NextStepRequest_Choice) MarshalVT() (dAtA []byte, err error)
func (*NextStepRequest_Choice) ProtoMessage ¶
func (*NextStepRequest_Choice) ProtoMessage()
func (*NextStepRequest_Choice) ProtoReflect ¶
func (x *NextStepRequest_Choice) ProtoReflect() protoreflect.Message
func (*NextStepRequest_Choice) Reset ¶
func (x *NextStepRequest_Choice) Reset()
func (*NextStepRequest_Choice) SizeVT ¶
func (m *NextStepRequest_Choice) SizeVT() (n int)
func (*NextStepRequest_Choice) String ¶
func (x *NextStepRequest_Choice) String() string
func (*NextStepRequest_Choice) UnmarshalVT ¶
func (m *NextStepRequest_Choice) UnmarshalVT(dAtA []byte) error
type NextStepRequest_Choice_ ¶
type NextStepRequest_Choice_ struct { // choice: the choice the user picked. Choice *NextStepRequest_Choice `protobuf:"bytes,2,opt,name=choice,proto3,oneof"` }
func (*NextStepRequest_Choice_) MarshalToSizedBufferVT ¶
func (m *NextStepRequest_Choice_) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*NextStepRequest_Choice_) MarshalToVT ¶
func (m *NextStepRequest_Choice_) MarshalToVT(dAtA []byte) (int, error)
func (*NextStepRequest_Choice_) SizeVT ¶
func (m *NextStepRequest_Choice_) SizeVT() (n int)
type NextStepRequest_Form ¶
type NextStepRequest_Form struct { // fields: the fields the user filled out. Fields []*NextStepRequest_FormFields `protobuf:"bytes,1,rep,name=fields,proto3" json:"fields,omitempty"` // contains filtered or unexported fields }
An array of form fields, in the same order they came in from the server.
func (*NextStepRequest_Form) Descriptor
deprecated
func (*NextStepRequest_Form) Descriptor() ([]byte, []int)
Deprecated: Use NextStepRequest_Form.ProtoReflect.Descriptor instead.
func (*NextStepRequest_Form) GetFields ¶
func (x *NextStepRequest_Form) GetFields() []*NextStepRequest_FormFields
func (*NextStepRequest_Form) MarshalToSizedBufferVT ¶
func (m *NextStepRequest_Form) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*NextStepRequest_Form) MarshalToVT ¶
func (m *NextStepRequest_Form) MarshalToVT(dAtA []byte) (int, error)
func (*NextStepRequest_Form) MarshalVT ¶
func (m *NextStepRequest_Form) MarshalVT() (dAtA []byte, err error)
func (*NextStepRequest_Form) ProtoMessage ¶
func (*NextStepRequest_Form) ProtoMessage()
func (*NextStepRequest_Form) ProtoReflect ¶
func (x *NextStepRequest_Form) ProtoReflect() protoreflect.Message
func (*NextStepRequest_Form) Reset ¶
func (x *NextStepRequest_Form) Reset()
func (*NextStepRequest_Form) SizeVT ¶
func (m *NextStepRequest_Form) SizeVT() (n int)
func (*NextStepRequest_Form) String ¶
func (x *NextStepRequest_Form) String() string
func (*NextStepRequest_Form) UnmarshalVT ¶
func (m *NextStepRequest_Form) UnmarshalVT(dAtA []byte) error
type NextStepRequest_FormFields ¶
type NextStepRequest_FormFields struct { // field: the data for a form field. // // Types that are assignable to Field: // *NextStepRequest_FormFields_Bytes // *NextStepRequest_FormFields_String_ // *NextStepRequest_FormFields_Number Field isNextStepRequest_FormFields_Field `protobuf_oneof:"field"` // contains filtered or unexported fields }
Form fields can either be bytes, string, or int64.
func (*NextStepRequest_FormFields) Descriptor
deprecated
func (*NextStepRequest_FormFields) Descriptor() ([]byte, []int)
Deprecated: Use NextStepRequest_FormFields.ProtoReflect.Descriptor instead.
func (*NextStepRequest_FormFields) GetBytes ¶
func (x *NextStepRequest_FormFields) GetBytes() []byte
func (*NextStepRequest_FormFields) GetField ¶
func (m *NextStepRequest_FormFields) GetField() isNextStepRequest_FormFields_Field
func (*NextStepRequest_FormFields) GetNumber ¶
func (x *NextStepRequest_FormFields) GetNumber() int64
func (*NextStepRequest_FormFields) GetString_ ¶
func (x *NextStepRequest_FormFields) GetString_() string
func (*NextStepRequest_FormFields) MarshalToSizedBufferVT ¶
func (m *NextStepRequest_FormFields) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*NextStepRequest_FormFields) MarshalToVT ¶
func (m *NextStepRequest_FormFields) MarshalToVT(dAtA []byte) (int, error)
func (*NextStepRequest_FormFields) MarshalVT ¶
func (m *NextStepRequest_FormFields) MarshalVT() (dAtA []byte, err error)
func (*NextStepRequest_FormFields) ProtoMessage ¶
func (*NextStepRequest_FormFields) ProtoMessage()
func (*NextStepRequest_FormFields) ProtoReflect ¶
func (x *NextStepRequest_FormFields) ProtoReflect() protoreflect.Message
func (*NextStepRequest_FormFields) Reset ¶
func (x *NextStepRequest_FormFields) Reset()
func (*NextStepRequest_FormFields) SizeVT ¶
func (m *NextStepRequest_FormFields) SizeVT() (n int)
func (*NextStepRequest_FormFields) String ¶
func (x *NextStepRequest_FormFields) String() string
func (*NextStepRequest_FormFields) UnmarshalVT ¶
func (m *NextStepRequest_FormFields) UnmarshalVT(dAtA []byte) error
type NextStepRequest_FormFields_Bytes ¶
type NextStepRequest_FormFields_Bytes struct { // bytes: the form field's data is a byte array. Bytes []byte `protobuf:"bytes,1,opt,name=bytes,proto3,oneof"` }
func (*NextStepRequest_FormFields_Bytes) MarshalToSizedBufferVT ¶
func (m *NextStepRequest_FormFields_Bytes) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*NextStepRequest_FormFields_Bytes) MarshalToVT ¶
func (m *NextStepRequest_FormFields_Bytes) MarshalToVT(dAtA []byte) (int, error)
func (*NextStepRequest_FormFields_Bytes) SizeVT ¶
func (m *NextStepRequest_FormFields_Bytes) SizeVT() (n int)
type NextStepRequest_FormFields_Number ¶
type NextStepRequest_FormFields_Number struct { // number: the form field's data is a number. Number int64 `protobuf:"varint,3,opt,name=number,proto3,oneof"` }
func (*NextStepRequest_FormFields_Number) MarshalToSizedBufferVT ¶
func (m *NextStepRequest_FormFields_Number) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*NextStepRequest_FormFields_Number) MarshalToVT ¶
func (m *NextStepRequest_FormFields_Number) MarshalToVT(dAtA []byte) (int, error)
func (*NextStepRequest_FormFields_Number) SizeVT ¶
func (m *NextStepRequest_FormFields_Number) SizeVT() (n int)
type NextStepRequest_FormFields_String_ ¶
type NextStepRequest_FormFields_String_ struct { // string: the form field's data is a string. String_ string `protobuf:"bytes,2,opt,name=string,proto3,oneof"` }
func (*NextStepRequest_FormFields_String_) MarshalToSizedBufferVT ¶
func (m *NextStepRequest_FormFields_String_) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*NextStepRequest_FormFields_String_) MarshalToVT ¶
func (m *NextStepRequest_FormFields_String_) MarshalToVT(dAtA []byte) (int, error)
func (*NextStepRequest_FormFields_String_) SizeVT ¶
func (m *NextStepRequest_FormFields_String_) SizeVT() (n int)
type NextStepRequest_Form_ ¶
type NextStepRequest_Form_ struct { // form: the form the user filled out. Form *NextStepRequest_Form `protobuf:"bytes,3,opt,name=form,proto3,oneof"` }
func (*NextStepRequest_Form_) MarshalToSizedBufferVT ¶
func (m *NextStepRequest_Form_) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*NextStepRequest_Form_) MarshalToVT ¶
func (m *NextStepRequest_Form_) MarshalToVT(dAtA []byte) (int, error)
func (*NextStepRequest_Form_) SizeVT ¶
func (m *NextStepRequest_Form_) SizeVT() (n int)
type NextStepResponse ¶
type NextStepResponse struct { // step: the next step in the authentication process. Step *AuthStep `protobuf:"bytes,1,opt,name=step,proto3" json:"step,omitempty"` // contains filtered or unexported fields }
Used in `NextStep` endpoint.
func (*NextStepResponse) Descriptor
deprecated
func (*NextStepResponse) Descriptor() ([]byte, []int)
Deprecated: Use NextStepResponse.ProtoReflect.Descriptor instead.
func (*NextStepResponse) GetStep ¶
func (x *NextStepResponse) GetStep() *AuthStep
func (*NextStepResponse) MarshalToSizedBufferVT ¶
func (m *NextStepResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*NextStepResponse) MarshalToVT ¶
func (m *NextStepResponse) MarshalToVT(dAtA []byte) (int, error)
func (*NextStepResponse) MarshalVT ¶
func (m *NextStepResponse) MarshalVT() (dAtA []byte, err error)
func (*NextStepResponse) ProtoMessage ¶
func (*NextStepResponse) ProtoMessage()
func (*NextStepResponse) ProtoReflect ¶
func (x *NextStepResponse) ProtoReflect() protoreflect.Message
func (*NextStepResponse) Reset ¶
func (x *NextStepResponse) Reset()
func (*NextStepResponse) SizeVT ¶
func (m *NextStepResponse) SizeVT() (n int)
func (*NextStepResponse) String ¶
func (x *NextStepResponse) String() string
func (*NextStepResponse) UnmarshalVT ¶
func (m *NextStepResponse) UnmarshalVT(dAtA []byte) error
type Session ¶
type Session struct { // user_id: the ID of the user you logged in as. UserId uint64 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // session_token: the session token to use in authorization. SessionToken string `protobuf:"bytes,2,opt,name=session_token,json=sessionToken,proto3" json:"session_token,omitempty"` // A token allowing for this account to be upgraded to a // "full" account by beginning an auth session and providing // this token. // // The guest token only exists to upgrade a guest account to a full // account, and does not permit logging in with a guest account // on more than one session. // // A "guest token" MAY be provided to BeginAuth to begin // an authorization process that will upgrade the guest account // to a full account if completed successfully. // This MUST only affect now being able to log // into the account with more than one session, and MUST not // change other information about the account, such as username // and password. GuestToken *string `protobuf:"bytes,3,opt,name=guest_token,json=guestToken,proto3,oneof" json:"guest_token,omitempty"` // contains filtered or unexported fields }
Session contains the information for a new session; the user_id you logged in as and the session_token which should be passed to authorisation.
func (*Session) Descriptor
deprecated
func (*Session) GetGuestToken ¶
func (*Session) GetSessionToken ¶
func (*Session) MarshalToSizedBufferVT ¶
func (*Session) ProtoMessage ¶
func (*Session) ProtoMessage()
func (*Session) ProtoReflect ¶
func (x *Session) ProtoReflect() protoreflect.Message
func (*Session) UnmarshalVT ¶
type StepBackRequest ¶
type StepBackRequest struct { // auth_id: the authentication session the user // wants to go back in. AuthId string `protobuf:"bytes,1,opt,name=auth_id,json=authId,proto3" json:"auth_id,omitempty"` // contains filtered or unexported fields }
A request to go back 1 step.
func (*StepBackRequest) Descriptor
deprecated
func (*StepBackRequest) Descriptor() ([]byte, []int)
Deprecated: Use StepBackRequest.ProtoReflect.Descriptor instead.
func (*StepBackRequest) GetAuthId ¶
func (x *StepBackRequest) GetAuthId() string
func (*StepBackRequest) MarshalToSizedBufferVT ¶
func (m *StepBackRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*StepBackRequest) MarshalToVT ¶
func (m *StepBackRequest) MarshalToVT(dAtA []byte) (int, error)
func (*StepBackRequest) MarshalVT ¶
func (m *StepBackRequest) MarshalVT() (dAtA []byte, err error)
func (*StepBackRequest) ProtoMessage ¶
func (*StepBackRequest) ProtoMessage()
func (*StepBackRequest) ProtoReflect ¶
func (x *StepBackRequest) ProtoReflect() protoreflect.Message
func (*StepBackRequest) Reset ¶
func (x *StepBackRequest) Reset()
func (*StepBackRequest) SizeVT ¶
func (m *StepBackRequest) SizeVT() (n int)
func (*StepBackRequest) String ¶
func (x *StepBackRequest) String() string
func (*StepBackRequest) UnmarshalVT ¶
func (m *StepBackRequest) UnmarshalVT(dAtA []byte) error
type StepBackResponse ¶
type StepBackResponse struct { // step: the previous step in the authentication process. Step *AuthStep `protobuf:"bytes,1,opt,name=step,proto3" json:"step,omitempty"` // contains filtered or unexported fields }
Used in `StepBack` endpoint.
func (*StepBackResponse) Descriptor
deprecated
func (*StepBackResponse) Descriptor() ([]byte, []int)
Deprecated: Use StepBackResponse.ProtoReflect.Descriptor instead.
func (*StepBackResponse) GetStep ¶
func (x *StepBackResponse) GetStep() *AuthStep
func (*StepBackResponse) MarshalToSizedBufferVT ¶
func (m *StepBackResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*StepBackResponse) MarshalToVT ¶
func (m *StepBackResponse) MarshalToVT(dAtA []byte) (int, error)
func (*StepBackResponse) MarshalVT ¶
func (m *StepBackResponse) MarshalVT() (dAtA []byte, err error)
func (*StepBackResponse) ProtoMessage ¶
func (*StepBackResponse) ProtoMessage()
func (*StepBackResponse) ProtoReflect ¶
func (x *StepBackResponse) ProtoReflect() protoreflect.Message
func (*StepBackResponse) Reset ¶
func (x *StepBackResponse) Reset()
func (*StepBackResponse) SizeVT ¶
func (m *StepBackResponse) SizeVT() (n int)
func (*StepBackResponse) String ¶
func (x *StepBackResponse) String() string
func (*StepBackResponse) UnmarshalVT ¶
func (m *StepBackResponse) UnmarshalVT(dAtA []byte) error
type StreamStepsRequest ¶
type StreamStepsRequest struct { // auth_id: the authorization session // who's steps you want to stream. AuthId string `protobuf:"bytes,1,opt,name=auth_id,json=authId,proto3" json:"auth_id,omitempty"` // contains filtered or unexported fields }
Required to be initiated by all authenticating clients Allows the server to send steps.
func (*StreamStepsRequest) Descriptor
deprecated
func (*StreamStepsRequest) Descriptor() ([]byte, []int)
Deprecated: Use StreamStepsRequest.ProtoReflect.Descriptor instead.
func (*StreamStepsRequest) GetAuthId ¶
func (x *StreamStepsRequest) GetAuthId() string
func (*StreamStepsRequest) MarshalToSizedBufferVT ¶
func (m *StreamStepsRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*StreamStepsRequest) MarshalToVT ¶
func (m *StreamStepsRequest) MarshalToVT(dAtA []byte) (int, error)
func (*StreamStepsRequest) MarshalVT ¶
func (m *StreamStepsRequest) MarshalVT() (dAtA []byte, err error)
func (*StreamStepsRequest) ProtoMessage ¶
func (*StreamStepsRequest) ProtoMessage()
func (*StreamStepsRequest) ProtoReflect ¶
func (x *StreamStepsRequest) ProtoReflect() protoreflect.Message
func (*StreamStepsRequest) Reset ¶
func (x *StreamStepsRequest) Reset()
func (*StreamStepsRequest) SizeVT ¶
func (m *StreamStepsRequest) SizeVT() (n int)
func (*StreamStepsRequest) String ¶
func (x *StreamStepsRequest) String() string
func (*StreamStepsRequest) UnmarshalVT ¶
func (m *StreamStepsRequest) UnmarshalVT(dAtA []byte) error
type StreamStepsResponse ¶
type StreamStepsResponse struct { // step: the next step in the authentication process. Step *AuthStep `protobuf:"bytes,1,opt,name=step,proto3" json:"step,omitempty"` // contains filtered or unexported fields }
Used in `StreamSteps` endpoint.
func (*StreamStepsResponse) Descriptor
deprecated
func (*StreamStepsResponse) Descriptor() ([]byte, []int)
Deprecated: Use StreamStepsResponse.ProtoReflect.Descriptor instead.
func (*StreamStepsResponse) GetStep ¶
func (x *StreamStepsResponse) GetStep() *AuthStep
func (*StreamStepsResponse) MarshalToSizedBufferVT ¶
func (m *StreamStepsResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*StreamStepsResponse) MarshalToVT ¶
func (m *StreamStepsResponse) MarshalToVT(dAtA []byte) (int, error)
func (*StreamStepsResponse) MarshalVT ¶
func (m *StreamStepsResponse) MarshalVT() (dAtA []byte, err error)
func (*StreamStepsResponse) ProtoMessage ¶
func (*StreamStepsResponse) ProtoMessage()
func (*StreamStepsResponse) ProtoReflect ¶
func (x *StreamStepsResponse) ProtoReflect() protoreflect.Message
func (*StreamStepsResponse) Reset ¶
func (x *StreamStepsResponse) Reset()
func (*StreamStepsResponse) SizeVT ¶
func (m *StreamStepsResponse) SizeVT() (n int)
func (*StreamStepsResponse) String ¶
func (x *StreamStepsResponse) String() string
func (*StreamStepsResponse) UnmarshalVT ¶
func (m *StreamStepsResponse) UnmarshalVT(dAtA []byte) error
type TokenData ¶
type TokenData struct { // The client's user ID on the homeserver. UserId uint64 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // The foreignserver's server ID. ServerId string `protobuf:"bytes,2,opt,name=server_id,json=serverId,proto3" json:"server_id,omitempty"` // The username of the client. Username string `protobuf:"bytes,3,opt,name=username,proto3" json:"username,omitempty"` // The avatar of the client. This must be a HMC that points to an image. Avatar *string `protobuf:"bytes,4,opt,name=avatar,proto3,oneof" json:"avatar,omitempty"` // contains filtered or unexported fields }
Information sent by a client's homeserver, in a `harmonytypes.v1.Token`. It will be sent to a foreignserver by the client.
func (*TokenData) Descriptor
deprecated
func (*TokenData) GetServerId ¶
func (*TokenData) GetUsername ¶
func (*TokenData) MarshalToSizedBufferVT ¶
func (*TokenData) ProtoMessage ¶
func (*TokenData) ProtoMessage()
func (*TokenData) ProtoReflect ¶
func (x *TokenData) ProtoReflect() protoreflect.Message