Documentation ¶
Index ¶
- Variables
- type AuthChallenge
- func (*AuthChallenge) Descriptor() ([]byte, []int)deprecated
- func (x *AuthChallenge) GetMagicUrl() string
- func (x *AuthChallenge) GetMagicWords() string
- func (x *AuthChallenge) GetUserID() string
- func (*AuthChallenge) ProtoMessage()
- func (x *AuthChallenge) ProtoReflect() protoreflect.Message
- func (x *AuthChallenge) Reset()
- func (x *AuthChallenge) String() string
- type Token
- type Token_Type
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Token_Type_name = map[int32]string{ 0: "unknown", 1: "sessionKey", 2: "clientToken", } Token_Type_value = map[string]int32{ "unknown": 0, "sessionKey": 1, "clientToken": 2, } )
Enum value maps for Token_Type.
Functions ¶
This section is empty.
Types ¶
type AuthChallenge ¶
type AuthChallenge struct { UserID string `protobuf:"bytes,1,opt,name=userID,proto3" json:"userID,omitempty"` MagicUrl string `protobuf:"bytes,2,opt,name=magicUrl,proto3" json:"magicUrl,omitempty"` MagicWords string `protobuf:"bytes,3,opt,name=magicWords,proto3" json:"magicWords,omitempty"` // contains filtered or unexported fields }
func (*AuthChallenge) Descriptor
deprecated
func (*AuthChallenge) Descriptor() ([]byte, []int)
Deprecated: Use AuthChallenge.ProtoReflect.Descriptor instead.
func (*AuthChallenge) GetMagicUrl ¶
func (x *AuthChallenge) GetMagicUrl() string
func (*AuthChallenge) GetMagicWords ¶
func (x *AuthChallenge) GetMagicWords() string
func (*AuthChallenge) GetUserID ¶
func (x *AuthChallenge) GetUserID() string
func (*AuthChallenge) ProtoMessage ¶
func (*AuthChallenge) ProtoMessage()
func (*AuthChallenge) ProtoReflect ¶ added in v1.9.0
func (x *AuthChallenge) ProtoReflect() protoreflect.Message
func (*AuthChallenge) Reset ¶
func (x *AuthChallenge) Reset()
func (*AuthChallenge) String ¶
func (x *AuthChallenge) String() string
type Token ¶
type Token struct { Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` Type Token_Type `protobuf:"varint,2,opt,name=type,proto3,enum=roleypoly.auth.Token_Type" json:"type,omitempty"` State string `protobuf:"bytes,3,opt,name=state,proto3" json:"state,omitempty"` // contains filtered or unexported fields }
func (*Token) Descriptor
deprecated
func (*Token) GetType ¶
func (x *Token) GetType() Token_Type
func (*Token) ProtoMessage ¶
func (*Token) ProtoMessage()
func (*Token) ProtoReflect ¶ added in v1.9.0
func (x *Token) ProtoReflect() protoreflect.Message
type Token_Type ¶
type Token_Type int32
const ( Token_unknown Token_Type = 0 Token_sessionKey Token_Type = 1 Token_clientToken Token_Type = 2 )
func (Token_Type) Descriptor ¶ added in v1.9.0
func (Token_Type) Descriptor() protoreflect.EnumDescriptor
func (Token_Type) Enum ¶ added in v1.9.0
func (x Token_Type) Enum() *Token_Type
func (Token_Type) EnumDescriptor
deprecated
func (Token_Type) EnumDescriptor() ([]byte, []int)
Deprecated: Use Token_Type.Descriptor instead.
func (Token_Type) Number ¶ added in v1.9.0
func (x Token_Type) Number() protoreflect.EnumNumber
func (Token_Type) String ¶
func (x Token_Type) String() string
func (Token_Type) Type ¶ added in v1.9.0
func (Token_Type) Type() protoreflect.EnumType
Click to show internal directories.
Click to hide internal directories.