Documentation ¶
Index ¶
- Variables
- func RegisterAuth1Server(s grpc.ServiceRegistrar, srv Auth1Server)
- type AddSiteUserReply
- type AddSiteUserRequest
- func (*AddSiteUserRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AddSiteUserRequest) GetMemo() string
- func (x *AddSiteUserRequest) GetNoauth() bool
- func (x *AddSiteUserRequest) GetPw() []byte
- func (x *AddSiteUserRequest) GetSiteKey() string
- func (x *AddSiteUserRequest) GetUid() string
- func (*AddSiteUserRequest) ProtoMessage()
- func (x *AddSiteUserRequest) ProtoReflect() protoreflect.Message
- func (x *AddSiteUserRequest) Reset()
- func (x *AddSiteUserRequest) String() string
- type Auth1Client
- type Auth1Server
- type LoginNoAuthRequest
- func (*LoginNoAuthRequest) Descriptor() ([]byte, []int)deprecated
- func (x *LoginNoAuthRequest) GetSiteKey() string
- func (x *LoginNoAuthRequest) GetUid() string
- func (*LoginNoAuthRequest) ProtoMessage()
- func (x *LoginNoAuthRequest) ProtoReflect() protoreflect.Message
- func (x *LoginNoAuthRequest) Reset()
- func (x *LoginNoAuthRequest) String() string
- type LoginOneTapRequest
- func (*LoginOneTapRequest) Descriptor() ([]byte, []int)deprecated
- func (x *LoginOneTapRequest) GetSiteKey() string
- func (x *LoginOneTapRequest) GetToken() string
- func (*LoginOneTapRequest) ProtoMessage()
- func (x *LoginOneTapRequest) ProtoReflect() protoreflect.Message
- func (x *LoginOneTapRequest) Reset()
- func (x *LoginOneTapRequest) String() string
- type LoginResultReply
- func (*LoginResultReply) Descriptor() ([]byte, []int)deprecated
- func (x *LoginResultReply) GetAtk() string
- func (x *LoginResultReply) GetRtk() string
- func (*LoginResultReply) ProtoMessage()
- func (x *LoginResultReply) ProtoReflect() protoreflect.Message
- func (x *LoginResultReply) Reset()
- func (x *LoginResultReply) String() string
- type LoginUidpwRequest
- func (*LoginUidpwRequest) Descriptor() ([]byte, []int)deprecated
- func (x *LoginUidpwRequest) GetPw() []byte
- func (x *LoginUidpwRequest) GetSiteKey() string
- func (x *LoginUidpwRequest) GetUid() string
- func (x *LoginUidpwRequest) GetVer() string
- func (*LoginUidpwRequest) ProtoMessage()
- func (x *LoginUidpwRequest) ProtoReflect() protoreflect.Message
- func (x *LoginUidpwRequest) Reset()
- func (x *LoginUidpwRequest) String() string
- type LogoutReply
- type RtokenRequest
- func (*RtokenRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RtokenRequest) GetRtk() string
- func (x *RtokenRequest) GetSiteKey() string
- func (*RtokenRequest) ProtoMessage()
- func (x *RtokenRequest) ProtoReflect() protoreflect.Message
- func (x *RtokenRequest) Reset()
- func (x *RtokenRequest) String() string
- type SiteJwtSecretReply
- func (*SiteJwtSecretReply) Descriptor() ([]byte, []int)deprecated
- func (x *SiteJwtSecretReply) GetJwtSecret() []byte
- func (*SiteJwtSecretReply) ProtoMessage()
- func (x *SiteJwtSecretReply) ProtoReflect() protoreflect.Message
- func (x *SiteJwtSecretReply) Reset()
- func (x *SiteJwtSecretReply) String() string
- type SiteJwtSecretRequest
- func (*SiteJwtSecretRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SiteJwtSecretRequest) GetSiteKey() string
- func (*SiteJwtSecretRequest) ProtoMessage()
- func (x *SiteJwtSecretRequest) ProtoReflect() protoreflect.Message
- func (x *SiteJwtSecretRequest) Reset()
- func (x *SiteJwtSecretRequest) String() string
- type UnimplementedAuth1Server
- func (UnimplementedAuth1Server) AddSiteUser(context.Context, *AddSiteUserRequest) (*AddSiteUserReply, error)
- func (UnimplementedAuth1Server) GetSiteJwtSecret(context.Context, *SiteJwtSecretRequest) (*SiteJwtSecretReply, error)
- func (UnimplementedAuth1Server) GetUserInfo(context.Context, *UserInfoRequest) (*UserInfoReply, error)
- func (UnimplementedAuth1Server) LoginNoAuth(context.Context, *LoginNoAuthRequest) (*LoginResultReply, error)
- func (UnimplementedAuth1Server) LoginOneTap(context.Context, *LoginOneTapRequest) (*LoginResultReply, error)
- func (UnimplementedAuth1Server) LoginUidpw(context.Context, *LoginUidpwRequest) (*LoginResultReply, error)
- func (UnimplementedAuth1Server) LogoutUser(context.Context, *RtokenRequest) (*LogoutReply, error)
- func (UnimplementedAuth1Server) RefreshUser(context.Context, *RtokenRequest) (*LoginResultReply, error)
- type UnsafeAuth1Server
- type UserInfoReply
- func (*UserInfoReply) Descriptor() ([]byte, []int)deprecated
- func (x *UserInfoReply) GetBlocked() bool
- func (x *UserInfoReply) GetEmail() string
- func (x *UserInfoReply) GetExtras() []*UserInfoReply_ExtraField
- func (x *UserInfoReply) GetJoinedAt() int32
- func (x *UserInfoReply) GetNick() string
- func (x *UserInfoReply) GetPhoto() string
- func (x *UserInfoReply) GetUserKey() string
- func (*UserInfoReply) ProtoMessage()
- func (x *UserInfoReply) ProtoReflect() protoreflect.Message
- func (x *UserInfoReply) Reset()
- func (x *UserInfoReply) String() string
- type UserInfoReply_ExtraField
- func (*UserInfoReply_ExtraField) Descriptor() ([]byte, []int)deprecated
- func (x *UserInfoReply_ExtraField) GetKey() string
- func (x *UserInfoReply_ExtraField) GetValue() string
- func (*UserInfoReply_ExtraField) ProtoMessage()
- func (x *UserInfoReply_ExtraField) ProtoReflect() protoreflect.Message
- func (x *UserInfoReply_ExtraField) Reset()
- func (x *UserInfoReply_ExtraField) String() string
- type UserInfoRequest
Constants ¶
This section is empty.
Variables ¶
var Auth1_ServiceDesc = grpc.ServiceDesc{ ServiceName: "rpcapi.Auth1", HandlerType: (*Auth1Server)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetSiteJwtSecret", Handler: _Auth1_GetSiteJwtSecret_Handler, }, { MethodName: "LoginUidpw", Handler: _Auth1_LoginUidpw_Handler, }, { MethodName: "LoginNoAuth", Handler: _Auth1_LoginNoAuth_Handler, }, { MethodName: "LoginOneTap", Handler: _Auth1_LoginOneTap_Handler, }, { MethodName: "RefreshUser", Handler: _Auth1_RefreshUser_Handler, }, { MethodName: "LogoutUser", Handler: _Auth1_LogoutUser_Handler, }, { MethodName: "GetUserInfo", Handler: _Auth1_GetUserInfo_Handler, }, { MethodName: "AddSiteUser", Handler: _Auth1_AddSiteUser_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "rpcapi/auth1.proto", }
Auth1_ServiceDesc is the grpc.ServiceDesc for Auth1 service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_rpcapi_auth1_proto protoreflect.FileDescriptor
Functions ¶
func RegisterAuth1Server ¶
func RegisterAuth1Server(s grpc.ServiceRegistrar, srv Auth1Server)
Types ¶
type AddSiteUserReply ¶ added in v0.0.4
type AddSiteUserReply struct { UserKey string `protobuf:"bytes,1,opt,name=userKey,proto3" json:"userKey,omitempty"` // contains filtered or unexported fields }
func (*AddSiteUserReply) Descriptor
deprecated
added in
v0.0.4
func (*AddSiteUserReply) Descriptor() ([]byte, []int)
Deprecated: Use AddSiteUserReply.ProtoReflect.Descriptor instead.
func (*AddSiteUserReply) GetUserKey ¶ added in v0.0.4
func (x *AddSiteUserReply) GetUserKey() string
func (*AddSiteUserReply) ProtoMessage ¶ added in v0.0.4
func (*AddSiteUserReply) ProtoMessage()
func (*AddSiteUserReply) ProtoReflect ¶ added in v0.0.4
func (x *AddSiteUserReply) ProtoReflect() protoreflect.Message
func (*AddSiteUserReply) Reset ¶ added in v0.0.4
func (x *AddSiteUserReply) Reset()
func (*AddSiteUserReply) String ¶ added in v0.0.4
func (x *AddSiteUserReply) String() string
type AddSiteUserRequest ¶ added in v0.0.4
type AddSiteUserRequest struct { SiteKey string `protobuf:"bytes,1,opt,name=siteKey,proto3" json:"siteKey,omitempty"` Uid string `protobuf:"bytes,3,opt,name=uid,proto3" json:"uid,omitempty"` Pw []byte `protobuf:"bytes,4,opt,name=pw,proto3" json:"pw,omitempty"` Memo string `protobuf:"bytes,5,opt,name=memo,proto3" json:"memo,omitempty"` Noauth bool `protobuf:"varint,6,opt,name=noauth,proto3" json:"noauth,omitempty"` // contains filtered or unexported fields }
func (*AddSiteUserRequest) Descriptor
deprecated
added in
v0.0.4
func (*AddSiteUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use AddSiteUserRequest.ProtoReflect.Descriptor instead.
func (*AddSiteUserRequest) GetMemo ¶ added in v0.0.4
func (x *AddSiteUserRequest) GetMemo() string
func (*AddSiteUserRequest) GetNoauth ¶ added in v0.0.6
func (x *AddSiteUserRequest) GetNoauth() bool
func (*AddSiteUserRequest) GetPw ¶ added in v0.0.4
func (x *AddSiteUserRequest) GetPw() []byte
func (*AddSiteUserRequest) GetSiteKey ¶ added in v0.0.4
func (x *AddSiteUserRequest) GetSiteKey() string
func (*AddSiteUserRequest) GetUid ¶ added in v0.0.4
func (x *AddSiteUserRequest) GetUid() string
func (*AddSiteUserRequest) ProtoMessage ¶ added in v0.0.4
func (*AddSiteUserRequest) ProtoMessage()
func (*AddSiteUserRequest) ProtoReflect ¶ added in v0.0.4
func (x *AddSiteUserRequest) ProtoReflect() protoreflect.Message
func (*AddSiteUserRequest) Reset ¶ added in v0.0.4
func (x *AddSiteUserRequest) Reset()
func (*AddSiteUserRequest) String ¶ added in v0.0.4
func (x *AddSiteUserRequest) String() string
type Auth1Client ¶
type Auth1Client interface { GetSiteJwtSecret(ctx context.Context, in *SiteJwtSecretRequest, opts ...grpc.CallOption) (*SiteJwtSecretReply, error) LoginUidpw(ctx context.Context, in *LoginUidpwRequest, opts ...grpc.CallOption) (*LoginResultReply, error) LoginNoAuth(ctx context.Context, in *LoginNoAuthRequest, opts ...grpc.CallOption) (*LoginResultReply, error) LoginOneTap(ctx context.Context, in *LoginOneTapRequest, opts ...grpc.CallOption) (*LoginResultReply, error) RefreshUser(ctx context.Context, in *RtokenRequest, opts ...grpc.CallOption) (*LoginResultReply, error) LogoutUser(ctx context.Context, in *RtokenRequest, opts ...grpc.CallOption) (*LogoutReply, error) GetUserInfo(ctx context.Context, in *UserInfoRequest, opts ...grpc.CallOption) (*UserInfoReply, error) AddSiteUser(ctx context.Context, in *AddSiteUserRequest, opts ...grpc.CallOption) (*AddSiteUserReply, error) }
Auth1Client is the client API for Auth1 service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewAuth1Client ¶
func NewAuth1Client(cc grpc.ClientConnInterface) Auth1Client
type Auth1Server ¶
type Auth1Server interface { GetSiteJwtSecret(context.Context, *SiteJwtSecretRequest) (*SiteJwtSecretReply, error) LoginUidpw(context.Context, *LoginUidpwRequest) (*LoginResultReply, error) LoginNoAuth(context.Context, *LoginNoAuthRequest) (*LoginResultReply, error) LoginOneTap(context.Context, *LoginOneTapRequest) (*LoginResultReply, error) RefreshUser(context.Context, *RtokenRequest) (*LoginResultReply, error) LogoutUser(context.Context, *RtokenRequest) (*LogoutReply, error) GetUserInfo(context.Context, *UserInfoRequest) (*UserInfoReply, error) AddSiteUser(context.Context, *AddSiteUserRequest) (*AddSiteUserReply, error) // contains filtered or unexported methods }
Auth1Server is the server API for Auth1 service. All implementations must embed UnimplementedAuth1Server for forward compatibility
type LoginNoAuthRequest ¶ added in v0.0.6
type LoginNoAuthRequest struct { SiteKey string `protobuf:"bytes,1,opt,name=siteKey,proto3" json:"siteKey,omitempty"` Uid string `protobuf:"bytes,3,opt,name=uid,proto3" json:"uid,omitempty"` // contains filtered or unexported fields }
func (*LoginNoAuthRequest) Descriptor
deprecated
added in
v0.0.6
func (*LoginNoAuthRequest) Descriptor() ([]byte, []int)
Deprecated: Use LoginNoAuthRequest.ProtoReflect.Descriptor instead.
func (*LoginNoAuthRequest) GetSiteKey ¶ added in v0.0.6
func (x *LoginNoAuthRequest) GetSiteKey() string
func (*LoginNoAuthRequest) GetUid ¶ added in v0.0.6
func (x *LoginNoAuthRequest) GetUid() string
func (*LoginNoAuthRequest) ProtoMessage ¶ added in v0.0.6
func (*LoginNoAuthRequest) ProtoMessage()
func (*LoginNoAuthRequest) ProtoReflect ¶ added in v0.0.6
func (x *LoginNoAuthRequest) ProtoReflect() protoreflect.Message
func (*LoginNoAuthRequest) Reset ¶ added in v0.0.6
func (x *LoginNoAuthRequest) Reset()
func (*LoginNoAuthRequest) String ¶ added in v0.0.6
func (x *LoginNoAuthRequest) String() string
type LoginOneTapRequest ¶ added in v0.0.5
type LoginOneTapRequest struct { SiteKey string `protobuf:"bytes,1,opt,name=siteKey,proto3" json:"siteKey,omitempty"` Token string `protobuf:"bytes,3,opt,name=token,proto3" json:"token,omitempty"` // contains filtered or unexported fields }
func (*LoginOneTapRequest) Descriptor
deprecated
added in
v0.0.5
func (*LoginOneTapRequest) Descriptor() ([]byte, []int)
Deprecated: Use LoginOneTapRequest.ProtoReflect.Descriptor instead.
func (*LoginOneTapRequest) GetSiteKey ¶ added in v0.0.5
func (x *LoginOneTapRequest) GetSiteKey() string
func (*LoginOneTapRequest) GetToken ¶ added in v0.0.5
func (x *LoginOneTapRequest) GetToken() string
func (*LoginOneTapRequest) ProtoMessage ¶ added in v0.0.5
func (*LoginOneTapRequest) ProtoMessage()
func (*LoginOneTapRequest) ProtoReflect ¶ added in v0.0.5
func (x *LoginOneTapRequest) ProtoReflect() protoreflect.Message
func (*LoginOneTapRequest) Reset ¶ added in v0.0.5
func (x *LoginOneTapRequest) Reset()
func (*LoginOneTapRequest) String ¶ added in v0.0.5
func (x *LoginOneTapRequest) String() string
type LoginResultReply ¶ added in v0.0.2
type LoginResultReply struct { Atk string `protobuf:"bytes,1,opt,name=atk,proto3" json:"atk,omitempty"` Rtk string `protobuf:"bytes,2,opt,name=rtk,proto3" json:"rtk,omitempty"` // contains filtered or unexported fields }
func (*LoginResultReply) Descriptor
deprecated
added in
v0.0.2
func (*LoginResultReply) Descriptor() ([]byte, []int)
Deprecated: Use LoginResultReply.ProtoReflect.Descriptor instead.
func (*LoginResultReply) GetAtk ¶ added in v0.0.2
func (x *LoginResultReply) GetAtk() string
func (*LoginResultReply) GetRtk ¶ added in v0.0.2
func (x *LoginResultReply) GetRtk() string
func (*LoginResultReply) ProtoMessage ¶ added in v0.0.2
func (*LoginResultReply) ProtoMessage()
func (*LoginResultReply) ProtoReflect ¶ added in v0.0.2
func (x *LoginResultReply) ProtoReflect() protoreflect.Message
func (*LoginResultReply) Reset ¶ added in v0.0.2
func (x *LoginResultReply) Reset()
func (*LoginResultReply) String ¶ added in v0.0.2
func (x *LoginResultReply) String() string
type LoginUidpwRequest ¶ added in v0.0.2
type LoginUidpwRequest struct { SiteKey string `protobuf:"bytes,1,opt,name=siteKey,proto3" json:"siteKey,omitempty"` Ver string `protobuf:"bytes,2,opt,name=ver,proto3" json:"ver,omitempty"` Uid string `protobuf:"bytes,3,opt,name=uid,proto3" json:"uid,omitempty"` Pw []byte `protobuf:"bytes,4,opt,name=pw,proto3" json:"pw,omitempty"` // contains filtered or unexported fields }
func (*LoginUidpwRequest) Descriptor
deprecated
added in
v0.0.2
func (*LoginUidpwRequest) Descriptor() ([]byte, []int)
Deprecated: Use LoginUidpwRequest.ProtoReflect.Descriptor instead.
func (*LoginUidpwRequest) GetPw ¶ added in v0.0.2
func (x *LoginUidpwRequest) GetPw() []byte
func (*LoginUidpwRequest) GetSiteKey ¶ added in v0.0.2
func (x *LoginUidpwRequest) GetSiteKey() string
func (*LoginUidpwRequest) GetUid ¶ added in v0.0.2
func (x *LoginUidpwRequest) GetUid() string
func (*LoginUidpwRequest) GetVer ¶ added in v0.0.2
func (x *LoginUidpwRequest) GetVer() string
func (*LoginUidpwRequest) ProtoMessage ¶ added in v0.0.2
func (*LoginUidpwRequest) ProtoMessage()
func (*LoginUidpwRequest) ProtoReflect ¶ added in v0.0.2
func (x *LoginUidpwRequest) ProtoReflect() protoreflect.Message
func (*LoginUidpwRequest) Reset ¶ added in v0.0.2
func (x *LoginUidpwRequest) Reset()
func (*LoginUidpwRequest) String ¶ added in v0.0.2
func (x *LoginUidpwRequest) String() string
type LogoutReply ¶ added in v0.0.2
type LogoutReply struct {
// contains filtered or unexported fields
}
func (*LogoutReply) Descriptor
deprecated
added in
v0.0.2
func (*LogoutReply) Descriptor() ([]byte, []int)
Deprecated: Use LogoutReply.ProtoReflect.Descriptor instead.
func (*LogoutReply) ProtoMessage ¶ added in v0.0.2
func (*LogoutReply) ProtoMessage()
func (*LogoutReply) ProtoReflect ¶ added in v0.0.2
func (x *LogoutReply) ProtoReflect() protoreflect.Message
func (*LogoutReply) Reset ¶ added in v0.0.2
func (x *LogoutReply) Reset()
func (*LogoutReply) String ¶ added in v0.0.2
func (x *LogoutReply) String() string
type RtokenRequest ¶ added in v0.0.2
type RtokenRequest struct { SiteKey string `protobuf:"bytes,1,opt,name=siteKey,proto3" json:"siteKey,omitempty"` Rtk string `protobuf:"bytes,2,opt,name=rtk,proto3" json:"rtk,omitempty"` // contains filtered or unexported fields }
func (*RtokenRequest) Descriptor
deprecated
added in
v0.0.2
func (*RtokenRequest) Descriptor() ([]byte, []int)
Deprecated: Use RtokenRequest.ProtoReflect.Descriptor instead.
func (*RtokenRequest) GetRtk ¶ added in v0.0.2
func (x *RtokenRequest) GetRtk() string
func (*RtokenRequest) GetSiteKey ¶ added in v0.0.2
func (x *RtokenRequest) GetSiteKey() string
func (*RtokenRequest) ProtoMessage ¶ added in v0.0.2
func (*RtokenRequest) ProtoMessage()
func (*RtokenRequest) ProtoReflect ¶ added in v0.0.2
func (x *RtokenRequest) ProtoReflect() protoreflect.Message
func (*RtokenRequest) Reset ¶ added in v0.0.2
func (x *RtokenRequest) Reset()
func (*RtokenRequest) String ¶ added in v0.0.2
func (x *RtokenRequest) String() string
type SiteJwtSecretReply ¶
type SiteJwtSecretReply struct { JwtSecret []byte `protobuf:"bytes,1,opt,name=jwtSecret,proto3" json:"jwtSecret,omitempty"` // contains filtered or unexported fields }
func (*SiteJwtSecretReply) Descriptor
deprecated
func (*SiteJwtSecretReply) Descriptor() ([]byte, []int)
Deprecated: Use SiteJwtSecretReply.ProtoReflect.Descriptor instead.
func (*SiteJwtSecretReply) GetJwtSecret ¶
func (x *SiteJwtSecretReply) GetJwtSecret() []byte
func (*SiteJwtSecretReply) ProtoMessage ¶
func (*SiteJwtSecretReply) ProtoMessage()
func (*SiteJwtSecretReply) ProtoReflect ¶
func (x *SiteJwtSecretReply) ProtoReflect() protoreflect.Message
func (*SiteJwtSecretReply) Reset ¶
func (x *SiteJwtSecretReply) Reset()
func (*SiteJwtSecretReply) String ¶
func (x *SiteJwtSecretReply) String() string
type SiteJwtSecretRequest ¶
type SiteJwtSecretRequest struct { SiteKey string `protobuf:"bytes,1,opt,name=siteKey,proto3" json:"siteKey,omitempty"` // contains filtered or unexported fields }
func (*SiteJwtSecretRequest) Descriptor
deprecated
func (*SiteJwtSecretRequest) Descriptor() ([]byte, []int)
Deprecated: Use SiteJwtSecretRequest.ProtoReflect.Descriptor instead.
func (*SiteJwtSecretRequest) GetSiteKey ¶
func (x *SiteJwtSecretRequest) GetSiteKey() string
func (*SiteJwtSecretRequest) ProtoMessage ¶
func (*SiteJwtSecretRequest) ProtoMessage()
func (*SiteJwtSecretRequest) ProtoReflect ¶
func (x *SiteJwtSecretRequest) ProtoReflect() protoreflect.Message
func (*SiteJwtSecretRequest) Reset ¶
func (x *SiteJwtSecretRequest) Reset()
func (*SiteJwtSecretRequest) String ¶
func (x *SiteJwtSecretRequest) String() string
type UnimplementedAuth1Server ¶
type UnimplementedAuth1Server struct { }
UnimplementedAuth1Server must be embedded to have forward compatible implementations.
func (UnimplementedAuth1Server) AddSiteUser ¶ added in v0.0.4
func (UnimplementedAuth1Server) AddSiteUser(context.Context, *AddSiteUserRequest) (*AddSiteUserReply, error)
func (UnimplementedAuth1Server) GetSiteJwtSecret ¶
func (UnimplementedAuth1Server) GetSiteJwtSecret(context.Context, *SiteJwtSecretRequest) (*SiteJwtSecretReply, error)
func (UnimplementedAuth1Server) GetUserInfo ¶ added in v0.0.3
func (UnimplementedAuth1Server) GetUserInfo(context.Context, *UserInfoRequest) (*UserInfoReply, error)
func (UnimplementedAuth1Server) LoginNoAuth ¶ added in v0.0.6
func (UnimplementedAuth1Server) LoginNoAuth(context.Context, *LoginNoAuthRequest) (*LoginResultReply, error)
func (UnimplementedAuth1Server) LoginOneTap ¶ added in v0.0.5
func (UnimplementedAuth1Server) LoginOneTap(context.Context, *LoginOneTapRequest) (*LoginResultReply, error)
func (UnimplementedAuth1Server) LoginUidpw ¶ added in v0.0.2
func (UnimplementedAuth1Server) LoginUidpw(context.Context, *LoginUidpwRequest) (*LoginResultReply, error)
func (UnimplementedAuth1Server) LogoutUser ¶ added in v0.0.2
func (UnimplementedAuth1Server) LogoutUser(context.Context, *RtokenRequest) (*LogoutReply, error)
func (UnimplementedAuth1Server) RefreshUser ¶ added in v0.0.2
func (UnimplementedAuth1Server) RefreshUser(context.Context, *RtokenRequest) (*LoginResultReply, error)
type UnsafeAuth1Server ¶
type UnsafeAuth1Server interface {
// contains filtered or unexported methods
}
UnsafeAuth1Server may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to Auth1Server will result in compilation errors.
type UserInfoReply ¶ added in v0.0.3
type UserInfoReply struct { UserKey string `protobuf:"bytes,1,opt,name=userKey,proto3" json:"userKey,omitempty"` Nick string `protobuf:"bytes,2,opt,name=nick,proto3" json:"nick,omitempty"` Email string `protobuf:"bytes,3,opt,name=email,proto3" json:"email,omitempty"` Photo string `protobuf:"bytes,4,opt,name=photo,proto3" json:"photo,omitempty"` //optional name = 5; Blocked bool `protobuf:"varint,10,opt,name=blocked,proto3" json:"blocked,omitempty"` JoinedAt int32 `protobuf:"varint,11,opt,name=joinedAt,proto3" json:"joinedAt,omitempty"` Extras []*UserInfoReply_ExtraField `protobuf:"bytes,99,rep,name=extras,proto3" json:"extras,omitempty"` // contains filtered or unexported fields }
func (*UserInfoReply) Descriptor
deprecated
added in
v0.0.3
func (*UserInfoReply) Descriptor() ([]byte, []int)
Deprecated: Use UserInfoReply.ProtoReflect.Descriptor instead.
func (*UserInfoReply) GetBlocked ¶ added in v0.0.3
func (x *UserInfoReply) GetBlocked() bool
func (*UserInfoReply) GetEmail ¶ added in v0.0.3
func (x *UserInfoReply) GetEmail() string
func (*UserInfoReply) GetExtras ¶ added in v0.0.3
func (x *UserInfoReply) GetExtras() []*UserInfoReply_ExtraField
func (*UserInfoReply) GetJoinedAt ¶ added in v0.0.3
func (x *UserInfoReply) GetJoinedAt() int32
func (*UserInfoReply) GetNick ¶ added in v0.0.3
func (x *UserInfoReply) GetNick() string
func (*UserInfoReply) GetPhoto ¶ added in v0.0.3
func (x *UserInfoReply) GetPhoto() string
func (*UserInfoReply) GetUserKey ¶ added in v0.0.3
func (x *UserInfoReply) GetUserKey() string
func (*UserInfoReply) ProtoMessage ¶ added in v0.0.3
func (*UserInfoReply) ProtoMessage()
func (*UserInfoReply) ProtoReflect ¶ added in v0.0.3
func (x *UserInfoReply) ProtoReflect() protoreflect.Message
func (*UserInfoReply) Reset ¶ added in v0.0.3
func (x *UserInfoReply) Reset()
func (*UserInfoReply) String ¶ added in v0.0.3
func (x *UserInfoReply) String() string
type UserInfoReply_ExtraField ¶ added in v0.0.3
type UserInfoReply_ExtraField struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*UserInfoReply_ExtraField) Descriptor
deprecated
added in
v0.0.3
func (*UserInfoReply_ExtraField) Descriptor() ([]byte, []int)
Deprecated: Use UserInfoReply_ExtraField.ProtoReflect.Descriptor instead.
func (*UserInfoReply_ExtraField) GetKey ¶ added in v0.0.3
func (x *UserInfoReply_ExtraField) GetKey() string
func (*UserInfoReply_ExtraField) GetValue ¶ added in v0.0.3
func (x *UserInfoReply_ExtraField) GetValue() string
func (*UserInfoReply_ExtraField) ProtoMessage ¶ added in v0.0.3
func (*UserInfoReply_ExtraField) ProtoMessage()
func (*UserInfoReply_ExtraField) ProtoReflect ¶ added in v0.0.3
func (x *UserInfoReply_ExtraField) ProtoReflect() protoreflect.Message
func (*UserInfoReply_ExtraField) Reset ¶ added in v0.0.3
func (x *UserInfoReply_ExtraField) Reset()
func (*UserInfoReply_ExtraField) String ¶ added in v0.0.3
func (x *UserInfoReply_ExtraField) String() string
type UserInfoRequest ¶ added in v0.0.3
type UserInfoRequest struct { UserKey string `protobuf:"bytes,1,opt,name=userKey,proto3" json:"userKey,omitempty"` // contains filtered or unexported fields }
func (*UserInfoRequest) Descriptor
deprecated
added in
v0.0.3
func (*UserInfoRequest) Descriptor() ([]byte, []int)
Deprecated: Use UserInfoRequest.ProtoReflect.Descriptor instead.
func (*UserInfoRequest) GetUserKey ¶ added in v0.0.3
func (x *UserInfoRequest) GetUserKey() string
func (*UserInfoRequest) ProtoMessage ¶ added in v0.0.3
func (*UserInfoRequest) ProtoMessage()
func (*UserInfoRequest) ProtoReflect ¶ added in v0.0.3
func (x *UserInfoRequest) ProtoReflect() protoreflect.Message
func (*UserInfoRequest) Reset ¶ added in v0.0.3
func (x *UserInfoRequest) Reset()
func (*UserInfoRequest) String ¶ added in v0.0.3
func (x *UserInfoRequest) String() string