906 lines
33 KiB
Go
906 lines
33 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// versions:
|
|
// protoc-gen-go v1.35.1
|
|
// protoc v5.28.3
|
|
// source: helios/auth/auth.proto
|
|
|
|
package pbauth
|
|
|
|
import (
|
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
|
reflect "reflect"
|
|
sync "sync"
|
|
)
|
|
|
|
const (
|
|
// Verify that this generated code is sufficiently up-to-date.
|
|
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
|
|
// Verify that runtime/protoimpl is sufficiently up-to-date.
|
|
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
|
)
|
|
|
|
type AuthRole int32
|
|
|
|
const (
|
|
AuthRole_AUTH_ROLE_UNSPECIFIED AuthRole = 0
|
|
AuthRole_AUTH_ROLE_HUMAN AuthRole = 1
|
|
AuthRole_AUTH_ROLE_ADMIN AuthRole = 2
|
|
)
|
|
|
|
// Enum value maps for AuthRole.
|
|
var (
|
|
AuthRole_name = map[int32]string{
|
|
0: "AUTH_ROLE_UNSPECIFIED",
|
|
1: "AUTH_ROLE_HUMAN",
|
|
2: "AUTH_ROLE_ADMIN",
|
|
}
|
|
AuthRole_value = map[string]int32{
|
|
"AUTH_ROLE_UNSPECIFIED": 0,
|
|
"AUTH_ROLE_HUMAN": 1,
|
|
"AUTH_ROLE_ADMIN": 2,
|
|
}
|
|
)
|
|
|
|
func (x AuthRole) Enum() *AuthRole {
|
|
p := new(AuthRole)
|
|
*p = x
|
|
return p
|
|
}
|
|
|
|
func (x AuthRole) String() string {
|
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
}
|
|
|
|
func (AuthRole) Descriptor() protoreflect.EnumDescriptor {
|
|
return file_helios_auth_auth_proto_enumTypes[0].Descriptor()
|
|
}
|
|
|
|
func (AuthRole) Type() protoreflect.EnumType {
|
|
return &file_helios_auth_auth_proto_enumTypes[0]
|
|
}
|
|
|
|
func (x AuthRole) Number() protoreflect.EnumNumber {
|
|
return protoreflect.EnumNumber(x)
|
|
}
|
|
|
|
// Deprecated: Use AuthRole.Descriptor instead.
|
|
func (AuthRole) EnumDescriptor() ([]byte, []int) {
|
|
return file_helios_auth_auth_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
type ClientType int32
|
|
|
|
const (
|
|
ClientType_CLIENT_TYPE_UNSPECIFIED ClientType = 0
|
|
ClientType_CLIENT_TYPE_KEYPAD ClientType = 1
|
|
ClientType_CLIENT_TYPE_COMPUTER_DAEMON ClientType = 2
|
|
)
|
|
|
|
// Enum value maps for ClientType.
|
|
var (
|
|
ClientType_name = map[int32]string{
|
|
0: "CLIENT_TYPE_UNSPECIFIED",
|
|
1: "CLIENT_TYPE_KEYPAD",
|
|
2: "CLIENT_TYPE_COMPUTER_DAEMON",
|
|
}
|
|
ClientType_value = map[string]int32{
|
|
"CLIENT_TYPE_UNSPECIFIED": 0,
|
|
"CLIENT_TYPE_KEYPAD": 1,
|
|
"CLIENT_TYPE_COMPUTER_DAEMON": 2,
|
|
}
|
|
)
|
|
|
|
func (x ClientType) Enum() *ClientType {
|
|
p := new(ClientType)
|
|
*p = x
|
|
return p
|
|
}
|
|
|
|
func (x ClientType) String() string {
|
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
}
|
|
|
|
func (ClientType) Descriptor() protoreflect.EnumDescriptor {
|
|
return file_helios_auth_auth_proto_enumTypes[1].Descriptor()
|
|
}
|
|
|
|
func (ClientType) Type() protoreflect.EnumType {
|
|
return &file_helios_auth_auth_proto_enumTypes[1]
|
|
}
|
|
|
|
func (x ClientType) Number() protoreflect.EnumNumber {
|
|
return protoreflect.EnumNumber(x)
|
|
}
|
|
|
|
// Deprecated: Use ClientType.Descriptor instead.
|
|
func (ClientType) EnumDescriptor() ([]byte, []int) {
|
|
return file_helios_auth_auth_proto_rawDescGZIP(), []int{1}
|
|
}
|
|
|
|
type ErrorDetail struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
ErrorCode string `protobuf:"bytes,1,opt,name=error_code,json=errorCode,proto3" json:"error_code,omitempty"` // Custom error code (e.g., "USER_NOT_FOUND")
|
|
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` // Human-readable message
|
|
Metadata map[string]string `protobuf:"bytes,3,rep,name=metadata,proto3" json:"metadata,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // Optional extra info
|
|
}
|
|
|
|
func (x *ErrorDetail) Reset() {
|
|
*x = ErrorDetail{}
|
|
mi := &file_helios_auth_auth_proto_msgTypes[0]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ErrorDetail) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ErrorDetail) ProtoMessage() {}
|
|
|
|
func (x *ErrorDetail) ProtoReflect() protoreflect.Message {
|
|
mi := &file_helios_auth_auth_proto_msgTypes[0]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ErrorDetail.ProtoReflect.Descriptor instead.
|
|
func (*ErrorDetail) Descriptor() ([]byte, []int) {
|
|
return file_helios_auth_auth_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
func (x *ErrorDetail) GetErrorCode() string {
|
|
if x != nil {
|
|
return x.ErrorCode
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ErrorDetail) GetMessage() string {
|
|
if x != nil {
|
|
return x.Message
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ErrorDetail) GetMetadata() map[string]string {
|
|
if x != nil {
|
|
return x.Metadata
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type AuthedHuman struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
|
|
Email string `protobuf:"bytes,3,opt,name=email,proto3" json:"email,omitempty"`
|
|
AuthRole AuthRole `protobuf:"varint,4,opt,name=auth_role,json=authRole,proto3,enum=helios.auth.AuthRole" json:"auth_role,omitempty"`
|
|
// Whether or not this authed human is invited to use flowy (from the waitlist)
|
|
IsInvited bool `protobuf:"varint,5,opt,name=is_invited,json=isInvited,proto3" json:"is_invited,omitempty"`
|
|
ClientType ClientType `protobuf:"varint,6,opt,name=client_type,json=clientType,proto3,enum=helios.auth.ClientType" json:"client_type,omitempty"`
|
|
}
|
|
|
|
func (x *AuthedHuman) Reset() {
|
|
*x = AuthedHuman{}
|
|
mi := &file_helios_auth_auth_proto_msgTypes[1]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *AuthedHuman) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*AuthedHuman) ProtoMessage() {}
|
|
|
|
func (x *AuthedHuman) ProtoReflect() protoreflect.Message {
|
|
mi := &file_helios_auth_auth_proto_msgTypes[1]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use AuthedHuman.ProtoReflect.Descriptor instead.
|
|
func (*AuthedHuman) Descriptor() ([]byte, []int) {
|
|
return file_helios_auth_auth_proto_rawDescGZIP(), []int{1}
|
|
}
|
|
|
|
func (x *AuthedHuman) GetId() string {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AuthedHuman) GetDisplayName() string {
|
|
if x != nil {
|
|
return x.DisplayName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AuthedHuman) GetEmail() string {
|
|
if x != nil {
|
|
return x.Email
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AuthedHuman) GetAuthRole() AuthRole {
|
|
if x != nil {
|
|
return x.AuthRole
|
|
}
|
|
return AuthRole_AUTH_ROLE_UNSPECIFIED
|
|
}
|
|
|
|
func (x *AuthedHuman) GetIsInvited() bool {
|
|
if x != nil {
|
|
return x.IsInvited
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *AuthedHuman) GetClientType() ClientType {
|
|
if x != nil {
|
|
return x.ClientType
|
|
}
|
|
return ClientType_CLIENT_TYPE_UNSPECIFIED
|
|
}
|
|
|
|
type RegisterRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Email string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"`
|
|
DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
|
|
}
|
|
|
|
func (x *RegisterRequest) Reset() {
|
|
*x = RegisterRequest{}
|
|
mi := &file_helios_auth_auth_proto_msgTypes[2]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *RegisterRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*RegisterRequest) ProtoMessage() {}
|
|
|
|
func (x *RegisterRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_helios_auth_auth_proto_msgTypes[2]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use RegisterRequest.ProtoReflect.Descriptor instead.
|
|
func (*RegisterRequest) Descriptor() ([]byte, []int) {
|
|
return file_helios_auth_auth_proto_rawDescGZIP(), []int{2}
|
|
}
|
|
|
|
func (x *RegisterRequest) GetEmail() string {
|
|
if x != nil {
|
|
return x.Email
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *RegisterRequest) GetDisplayName() string {
|
|
if x != nil {
|
|
return x.DisplayName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type RegisterResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
}
|
|
|
|
func (x *RegisterResponse) Reset() {
|
|
*x = RegisterResponse{}
|
|
mi := &file_helios_auth_auth_proto_msgTypes[3]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *RegisterResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*RegisterResponse) ProtoMessage() {}
|
|
|
|
func (x *RegisterResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_helios_auth_auth_proto_msgTypes[3]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use RegisterResponse.ProtoReflect.Descriptor instead.
|
|
func (*RegisterResponse) Descriptor() ([]byte, []int) {
|
|
return file_helios_auth_auth_proto_rawDescGZIP(), []int{3}
|
|
}
|
|
|
|
type SignInRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Email string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"`
|
|
ClientType ClientType `protobuf:"varint,2,opt,name=client_type,json=clientType,proto3,enum=helios.auth.ClientType" json:"client_type,omitempty"`
|
|
}
|
|
|
|
func (x *SignInRequest) Reset() {
|
|
*x = SignInRequest{}
|
|
mi := &file_helios_auth_auth_proto_msgTypes[4]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SignInRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SignInRequest) ProtoMessage() {}
|
|
|
|
func (x *SignInRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_helios_auth_auth_proto_msgTypes[4]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use SignInRequest.ProtoReflect.Descriptor instead.
|
|
func (*SignInRequest) Descriptor() ([]byte, []int) {
|
|
return file_helios_auth_auth_proto_rawDescGZIP(), []int{4}
|
|
}
|
|
|
|
func (x *SignInRequest) GetEmail() string {
|
|
if x != nil {
|
|
return x.Email
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SignInRequest) GetClientType() ClientType {
|
|
if x != nil {
|
|
return x.ClientType
|
|
}
|
|
return ClientType_CLIENT_TYPE_UNSPECIFIED
|
|
}
|
|
|
|
type SignInResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
}
|
|
|
|
func (x *SignInResponse) Reset() {
|
|
*x = SignInResponse{}
|
|
mi := &file_helios_auth_auth_proto_msgTypes[5]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SignInResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SignInResponse) ProtoMessage() {}
|
|
|
|
func (x *SignInResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_helios_auth_auth_proto_msgTypes[5]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use SignInResponse.ProtoReflect.Descriptor instead.
|
|
func (*SignInResponse) Descriptor() ([]byte, []int) {
|
|
return file_helios_auth_auth_proto_rawDescGZIP(), []int{5}
|
|
}
|
|
|
|
type SignInVerifyRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Email string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"`
|
|
Code string `protobuf:"bytes,2,opt,name=code,proto3" json:"code,omitempty"`
|
|
}
|
|
|
|
func (x *SignInVerifyRequest) Reset() {
|
|
*x = SignInVerifyRequest{}
|
|
mi := &file_helios_auth_auth_proto_msgTypes[6]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SignInVerifyRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SignInVerifyRequest) ProtoMessage() {}
|
|
|
|
func (x *SignInVerifyRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_helios_auth_auth_proto_msgTypes[6]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use SignInVerifyRequest.ProtoReflect.Descriptor instead.
|
|
func (*SignInVerifyRequest) Descriptor() ([]byte, []int) {
|
|
return file_helios_auth_auth_proto_rawDescGZIP(), []int{6}
|
|
}
|
|
|
|
func (x *SignInVerifyRequest) GetEmail() string {
|
|
if x != nil {
|
|
return x.Email
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SignInVerifyRequest) GetCode() string {
|
|
if x != nil {
|
|
return x.Code
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type SignInVerifyResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// Please add this to metadata of future requests under the key "authorization"
|
|
Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
|
|
Role AuthRole `protobuf:"varint,2,opt,name=role,proto3,enum=helios.auth.AuthRole" json:"role,omitempty"`
|
|
ClientType ClientType `protobuf:"varint,3,opt,name=client_type,json=clientType,proto3,enum=helios.auth.ClientType" json:"client_type,omitempty"`
|
|
}
|
|
|
|
func (x *SignInVerifyResponse) Reset() {
|
|
*x = SignInVerifyResponse{}
|
|
mi := &file_helios_auth_auth_proto_msgTypes[7]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SignInVerifyResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SignInVerifyResponse) ProtoMessage() {}
|
|
|
|
func (x *SignInVerifyResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_helios_auth_auth_proto_msgTypes[7]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use SignInVerifyResponse.ProtoReflect.Descriptor instead.
|
|
func (*SignInVerifyResponse) Descriptor() ([]byte, []int) {
|
|
return file_helios_auth_auth_proto_rawDescGZIP(), []int{7}
|
|
}
|
|
|
|
func (x *SignInVerifyResponse) GetToken() string {
|
|
if x != nil {
|
|
return x.Token
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SignInVerifyResponse) GetRole() AuthRole {
|
|
if x != nil {
|
|
return x.Role
|
|
}
|
|
return AuthRole_AUTH_ROLE_UNSPECIFIED
|
|
}
|
|
|
|
func (x *SignInVerifyResponse) GetClientType() ClientType {
|
|
if x != nil {
|
|
return x.ClientType
|
|
}
|
|
return ClientType_CLIENT_TYPE_UNSPECIFIED
|
|
}
|
|
|
|
type SignOutRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
}
|
|
|
|
func (x *SignOutRequest) Reset() {
|
|
*x = SignOutRequest{}
|
|
mi := &file_helios_auth_auth_proto_msgTypes[8]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SignOutRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SignOutRequest) ProtoMessage() {}
|
|
|
|
func (x *SignOutRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_helios_auth_auth_proto_msgTypes[8]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use SignOutRequest.ProtoReflect.Descriptor instead.
|
|
func (*SignOutRequest) Descriptor() ([]byte, []int) {
|
|
return file_helios_auth_auth_proto_rawDescGZIP(), []int{8}
|
|
}
|
|
|
|
type SignOutResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
}
|
|
|
|
func (x *SignOutResponse) Reset() {
|
|
*x = SignOutResponse{}
|
|
mi := &file_helios_auth_auth_proto_msgTypes[9]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SignOutResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SignOutResponse) ProtoMessage() {}
|
|
|
|
func (x *SignOutResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_helios_auth_auth_proto_msgTypes[9]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use SignOutResponse.ProtoReflect.Descriptor instead.
|
|
func (*SignOutResponse) Descriptor() ([]byte, []int) {
|
|
return file_helios_auth_auth_proto_rawDescGZIP(), []int{9}
|
|
}
|
|
|
|
type AuthedHumanRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
}
|
|
|
|
func (x *AuthedHumanRequest) Reset() {
|
|
*x = AuthedHumanRequest{}
|
|
mi := &file_helios_auth_auth_proto_msgTypes[10]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *AuthedHumanRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*AuthedHumanRequest) ProtoMessage() {}
|
|
|
|
func (x *AuthedHumanRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_helios_auth_auth_proto_msgTypes[10]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use AuthedHumanRequest.ProtoReflect.Descriptor instead.
|
|
func (*AuthedHumanRequest) Descriptor() ([]byte, []int) {
|
|
return file_helios_auth_auth_proto_rawDescGZIP(), []int{10}
|
|
}
|
|
|
|
type AuthedHumanResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
AuthedHuman *AuthedHuman `protobuf:"bytes,1,opt,name=authed_human,json=authedHuman,proto3" json:"authed_human,omitempty"`
|
|
}
|
|
|
|
func (x *AuthedHumanResponse) Reset() {
|
|
*x = AuthedHumanResponse{}
|
|
mi := &file_helios_auth_auth_proto_msgTypes[11]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *AuthedHumanResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*AuthedHumanResponse) ProtoMessage() {}
|
|
|
|
func (x *AuthedHumanResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_helios_auth_auth_proto_msgTypes[11]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use AuthedHumanResponse.ProtoReflect.Descriptor instead.
|
|
func (*AuthedHumanResponse) Descriptor() ([]byte, []int) {
|
|
return file_helios_auth_auth_proto_rawDescGZIP(), []int{11}
|
|
}
|
|
|
|
func (x *AuthedHumanResponse) GetAuthedHuman() *AuthedHuman {
|
|
if x != nil {
|
|
return x.AuthedHuman
|
|
}
|
|
return nil
|
|
}
|
|
|
|
var File_helios_auth_auth_proto protoreflect.FileDescriptor
|
|
|
|
var file_helios_auth_auth_proto_rawDesc = []byte{
|
|
0x0a, 0x16, 0x68, 0x65, 0x6c, 0x69, 0x6f, 0x73, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x61, 0x75,
|
|
0x74, 0x68, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0b, 0x68, 0x65, 0x6c, 0x69, 0x6f, 0x73,
|
|
0x2e, 0x61, 0x75, 0x74, 0x68, 0x22, 0xc7, 0x01, 0x0a, 0x0b, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x44,
|
|
0x65, 0x74, 0x61, 0x69, 0x6c, 0x12, 0x1d, 0x0a, 0x0a, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x5f, 0x63,
|
|
0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x65, 0x72, 0x72, 0x6f, 0x72,
|
|
0x43, 0x6f, 0x64, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18,
|
|
0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x42,
|
|
0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b,
|
|
0x32, 0x26, 0x2e, 0x68, 0x65, 0x6c, 0x69, 0x6f, 0x73, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x45,
|
|
0x72, 0x72, 0x6f, 0x72, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x2e, 0x4d, 0x65, 0x74, 0x61, 0x64,
|
|
0x61, 0x74, 0x61, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61,
|
|
0x74, 0x61, 0x1a, 0x3b, 0x0a, 0x0d, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x45, 0x6e,
|
|
0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
|
|
0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02,
|
|
0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22,
|
|
0xe3, 0x01, 0x0a, 0x0b, 0x41, 0x75, 0x74, 0x68, 0x65, 0x64, 0x48, 0x75, 0x6d, 0x61, 0x6e, 0x12,
|
|
0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12,
|
|
0x21, 0x0a, 0x0c, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18,
|
|
0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x4e, 0x61,
|
|
0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28,
|
|
0x09, 0x52, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x12, 0x32, 0x0a, 0x09, 0x61, 0x75, 0x74, 0x68,
|
|
0x5f, 0x72, 0x6f, 0x6c, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x15, 0x2e, 0x68, 0x65,
|
|
0x6c, 0x69, 0x6f, 0x73, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x41, 0x75, 0x74, 0x68, 0x52, 0x6f,
|
|
0x6c, 0x65, 0x52, 0x08, 0x61, 0x75, 0x74, 0x68, 0x52, 0x6f, 0x6c, 0x65, 0x12, 0x1d, 0x0a, 0x0a,
|
|
0x69, 0x73, 0x5f, 0x69, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08,
|
|
0x52, 0x09, 0x69, 0x73, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x64, 0x12, 0x38, 0x0a, 0x0b, 0x63,
|
|
0x6c, 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0e,
|
|
0x32, 0x17, 0x2e, 0x68, 0x65, 0x6c, 0x69, 0x6f, 0x73, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x43,
|
|
0x6c, 0x69, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0a, 0x63, 0x6c, 0x69, 0x65, 0x6e,
|
|
0x74, 0x54, 0x79, 0x70, 0x65, 0x22, 0x4a, 0x0a, 0x0f, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65,
|
|
0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x6d, 0x61, 0x69,
|
|
0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x12, 0x21,
|
|
0x0a, 0x0c, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02,
|
|
0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x4e, 0x61, 0x6d,
|
|
0x65, 0x22, 0x12, 0x0a, 0x10, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x52, 0x65, 0x73,
|
|
0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x5f, 0x0a, 0x0d, 0x53, 0x69, 0x67, 0x6e, 0x49, 0x6e, 0x52,
|
|
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x18,
|
|
0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x12, 0x38, 0x0a, 0x0b,
|
|
0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
|
|
0x0e, 0x32, 0x17, 0x2e, 0x68, 0x65, 0x6c, 0x69, 0x6f, 0x73, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x2e,
|
|
0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0a, 0x63, 0x6c, 0x69, 0x65,
|
|
0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x22, 0x10, 0x0a, 0x0e, 0x53, 0x69, 0x67, 0x6e, 0x49, 0x6e,
|
|
0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x3f, 0x0a, 0x13, 0x53, 0x69, 0x67, 0x6e,
|
|
0x49, 0x6e, 0x56, 0x65, 0x72, 0x69, 0x66, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12,
|
|
0x14, 0x0a, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05,
|
|
0x65, 0x6d, 0x61, 0x69, 0x6c, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20,
|
|
0x01, 0x28, 0x09, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x22, 0x91, 0x01, 0x0a, 0x14, 0x53, 0x69,
|
|
0x67, 0x6e, 0x49, 0x6e, 0x56, 0x65, 0x72, 0x69, 0x66, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
|
|
0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28,
|
|
0x09, 0x52, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x29, 0x0a, 0x04, 0x72, 0x6f, 0x6c, 0x65,
|
|
0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x15, 0x2e, 0x68, 0x65, 0x6c, 0x69, 0x6f, 0x73, 0x2e,
|
|
0x61, 0x75, 0x74, 0x68, 0x2e, 0x41, 0x75, 0x74, 0x68, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x04, 0x72,
|
|
0x6f, 0x6c, 0x65, 0x12, 0x38, 0x0a, 0x0b, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x74, 0x79,
|
|
0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x17, 0x2e, 0x68, 0x65, 0x6c, 0x69, 0x6f,
|
|
0x73, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70,
|
|
0x65, 0x52, 0x0a, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x22, 0x10, 0x0a,
|
|
0x0e, 0x53, 0x69, 0x67, 0x6e, 0x4f, 0x75, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22,
|
|
0x11, 0x0a, 0x0f, 0x53, 0x69, 0x67, 0x6e, 0x4f, 0x75, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
|
|
0x73, 0x65, 0x22, 0x14, 0x0a, 0x12, 0x41, 0x75, 0x74, 0x68, 0x65, 0x64, 0x48, 0x75, 0x6d, 0x61,
|
|
0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x52, 0x0a, 0x13, 0x41, 0x75, 0x74, 0x68,
|
|
0x65, 0x64, 0x48, 0x75, 0x6d, 0x61, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12,
|
|
0x3b, 0x0a, 0x0c, 0x61, 0x75, 0x74, 0x68, 0x65, 0x64, 0x5f, 0x68, 0x75, 0x6d, 0x61, 0x6e, 0x18,
|
|
0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x68, 0x65, 0x6c, 0x69, 0x6f, 0x73, 0x2e, 0x61,
|
|
0x75, 0x74, 0x68, 0x2e, 0x41, 0x75, 0x74, 0x68, 0x65, 0x64, 0x48, 0x75, 0x6d, 0x61, 0x6e, 0x52,
|
|
0x0b, 0x61, 0x75, 0x74, 0x68, 0x65, 0x64, 0x48, 0x75, 0x6d, 0x61, 0x6e, 0x2a, 0x4f, 0x0a, 0x08,
|
|
0x41, 0x75, 0x74, 0x68, 0x52, 0x6f, 0x6c, 0x65, 0x12, 0x19, 0x0a, 0x15, 0x41, 0x55, 0x54, 0x48,
|
|
0x5f, 0x52, 0x4f, 0x4c, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45,
|
|
0x44, 0x10, 0x00, 0x12, 0x13, 0x0a, 0x0f, 0x41, 0x55, 0x54, 0x48, 0x5f, 0x52, 0x4f, 0x4c, 0x45,
|
|
0x5f, 0x48, 0x55, 0x4d, 0x41, 0x4e, 0x10, 0x01, 0x12, 0x13, 0x0a, 0x0f, 0x41, 0x55, 0x54, 0x48,
|
|
0x5f, 0x52, 0x4f, 0x4c, 0x45, 0x5f, 0x41, 0x44, 0x4d, 0x49, 0x4e, 0x10, 0x02, 0x2a, 0x62, 0x0a,
|
|
0x0a, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1b, 0x0a, 0x17, 0x43,
|
|
0x4c, 0x49, 0x45, 0x4e, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45,
|
|
0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x16, 0x0a, 0x12, 0x43, 0x4c, 0x49, 0x45,
|
|
0x4e, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4b, 0x45, 0x59, 0x50, 0x41, 0x44, 0x10, 0x01,
|
|
0x12, 0x1f, 0x0a, 0x1b, 0x43, 0x4c, 0x49, 0x45, 0x4e, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f,
|
|
0x43, 0x4f, 0x4d, 0x50, 0x55, 0x54, 0x45, 0x52, 0x5f, 0x44, 0x41, 0x45, 0x4d, 0x4f, 0x4e, 0x10,
|
|
0x02, 0x32, 0x90, 0x03, 0x0a, 0x0b, 0x41, 0x75, 0x74, 0x68, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63,
|
|
0x65, 0x12, 0x49, 0x0a, 0x08, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x12, 0x1c, 0x2e,
|
|
0x68, 0x65, 0x6c, 0x69, 0x6f, 0x73, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x52, 0x65, 0x67, 0x69,
|
|
0x73, 0x74, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x68, 0x65,
|
|
0x6c, 0x69, 0x6f, 0x73, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74,
|
|
0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x43, 0x0a, 0x06,
|
|
0x53, 0x69, 0x67, 0x6e, 0x49, 0x6e, 0x12, 0x1a, 0x2e, 0x68, 0x65, 0x6c, 0x69, 0x6f, 0x73, 0x2e,
|
|
0x61, 0x75, 0x74, 0x68, 0x2e, 0x53, 0x69, 0x67, 0x6e, 0x49, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65,
|
|
0x73, 0x74, 0x1a, 0x1b, 0x2e, 0x68, 0x65, 0x6c, 0x69, 0x6f, 0x73, 0x2e, 0x61, 0x75, 0x74, 0x68,
|
|
0x2e, 0x53, 0x69, 0x67, 0x6e, 0x49, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22,
|
|
0x00, 0x12, 0x55, 0x0a, 0x0c, 0x53, 0x69, 0x67, 0x6e, 0x49, 0x6e, 0x56, 0x65, 0x72, 0x69, 0x66,
|
|
0x79, 0x12, 0x20, 0x2e, 0x68, 0x65, 0x6c, 0x69, 0x6f, 0x73, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x2e,
|
|
0x53, 0x69, 0x67, 0x6e, 0x49, 0x6e, 0x56, 0x65, 0x72, 0x69, 0x66, 0x79, 0x52, 0x65, 0x71, 0x75,
|
|
0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x68, 0x65, 0x6c, 0x69, 0x6f, 0x73, 0x2e, 0x61, 0x75, 0x74,
|
|
0x68, 0x2e, 0x53, 0x69, 0x67, 0x6e, 0x49, 0x6e, 0x56, 0x65, 0x72, 0x69, 0x66, 0x79, 0x52, 0x65,
|
|
0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x46, 0x0a, 0x07, 0x53, 0x69, 0x67, 0x6e,
|
|
0x4f, 0x75, 0x74, 0x12, 0x1b, 0x2e, 0x68, 0x65, 0x6c, 0x69, 0x6f, 0x73, 0x2e, 0x61, 0x75, 0x74,
|
|
0x68, 0x2e, 0x53, 0x69, 0x67, 0x6e, 0x4f, 0x75, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
|
|
0x1a, 0x1c, 0x2e, 0x68, 0x65, 0x6c, 0x69, 0x6f, 0x73, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x53,
|
|
0x69, 0x67, 0x6e, 0x4f, 0x75, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00,
|
|
0x12, 0x52, 0x0a, 0x0b, 0x41, 0x75, 0x74, 0x68, 0x65, 0x64, 0x48, 0x75, 0x6d, 0x61, 0x6e, 0x12,
|
|
0x1f, 0x2e, 0x68, 0x65, 0x6c, 0x69, 0x6f, 0x73, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x41, 0x75,
|
|
0x74, 0x68, 0x65, 0x64, 0x48, 0x75, 0x6d, 0x61, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
|
|
0x1a, 0x20, 0x2e, 0x68, 0x65, 0x6c, 0x69, 0x6f, 0x73, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x41,
|
|
0x75, 0x74, 0x68, 0x65, 0x64, 0x48, 0x75, 0x6d, 0x61, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
|
|
0x73, 0x65, 0x22, 0x00, 0x42, 0x3a, 0x5a, 0x38, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63,
|
|
0x6f, 0x6d, 0x2f, 0x66, 0x6c, 0x6f, 0x77, 0x79, 0x2d, 0x6c, 0x69, 0x76, 0x65, 0x2f, 0x68, 0x65,
|
|
0x6c, 0x69, 0x6f, 0x73, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x68, 0x65,
|
|
0x6c, 0x69, 0x6f, 0x73, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x3b, 0x70, 0x62, 0x61, 0x75, 0x74, 0x68,
|
|
0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
|
}
|
|
|
|
var (
|
|
file_helios_auth_auth_proto_rawDescOnce sync.Once
|
|
file_helios_auth_auth_proto_rawDescData = file_helios_auth_auth_proto_rawDesc
|
|
)
|
|
|
|
func file_helios_auth_auth_proto_rawDescGZIP() []byte {
|
|
file_helios_auth_auth_proto_rawDescOnce.Do(func() {
|
|
file_helios_auth_auth_proto_rawDescData = protoimpl.X.CompressGZIP(file_helios_auth_auth_proto_rawDescData)
|
|
})
|
|
return file_helios_auth_auth_proto_rawDescData
|
|
}
|
|
|
|
var file_helios_auth_auth_proto_enumTypes = make([]protoimpl.EnumInfo, 2)
|
|
var file_helios_auth_auth_proto_msgTypes = make([]protoimpl.MessageInfo, 13)
|
|
var file_helios_auth_auth_proto_goTypes = []any{
|
|
(AuthRole)(0), // 0: helios.auth.AuthRole
|
|
(ClientType)(0), // 1: helios.auth.ClientType
|
|
(*ErrorDetail)(nil), // 2: helios.auth.ErrorDetail
|
|
(*AuthedHuman)(nil), // 3: helios.auth.AuthedHuman
|
|
(*RegisterRequest)(nil), // 4: helios.auth.RegisterRequest
|
|
(*RegisterResponse)(nil), // 5: helios.auth.RegisterResponse
|
|
(*SignInRequest)(nil), // 6: helios.auth.SignInRequest
|
|
(*SignInResponse)(nil), // 7: helios.auth.SignInResponse
|
|
(*SignInVerifyRequest)(nil), // 8: helios.auth.SignInVerifyRequest
|
|
(*SignInVerifyResponse)(nil), // 9: helios.auth.SignInVerifyResponse
|
|
(*SignOutRequest)(nil), // 10: helios.auth.SignOutRequest
|
|
(*SignOutResponse)(nil), // 11: helios.auth.SignOutResponse
|
|
(*AuthedHumanRequest)(nil), // 12: helios.auth.AuthedHumanRequest
|
|
(*AuthedHumanResponse)(nil), // 13: helios.auth.AuthedHumanResponse
|
|
nil, // 14: helios.auth.ErrorDetail.MetadataEntry
|
|
}
|
|
var file_helios_auth_auth_proto_depIdxs = []int32{
|
|
14, // 0: helios.auth.ErrorDetail.metadata:type_name -> helios.auth.ErrorDetail.MetadataEntry
|
|
0, // 1: helios.auth.AuthedHuman.auth_role:type_name -> helios.auth.AuthRole
|
|
1, // 2: helios.auth.AuthedHuman.client_type:type_name -> helios.auth.ClientType
|
|
1, // 3: helios.auth.SignInRequest.client_type:type_name -> helios.auth.ClientType
|
|
0, // 4: helios.auth.SignInVerifyResponse.role:type_name -> helios.auth.AuthRole
|
|
1, // 5: helios.auth.SignInVerifyResponse.client_type:type_name -> helios.auth.ClientType
|
|
3, // 6: helios.auth.AuthedHumanResponse.authed_human:type_name -> helios.auth.AuthedHuman
|
|
4, // 7: helios.auth.AuthService.Register:input_type -> helios.auth.RegisterRequest
|
|
6, // 8: helios.auth.AuthService.SignIn:input_type -> helios.auth.SignInRequest
|
|
8, // 9: helios.auth.AuthService.SignInVerify:input_type -> helios.auth.SignInVerifyRequest
|
|
10, // 10: helios.auth.AuthService.SignOut:input_type -> helios.auth.SignOutRequest
|
|
12, // 11: helios.auth.AuthService.AuthedHuman:input_type -> helios.auth.AuthedHumanRequest
|
|
5, // 12: helios.auth.AuthService.Register:output_type -> helios.auth.RegisterResponse
|
|
7, // 13: helios.auth.AuthService.SignIn:output_type -> helios.auth.SignInResponse
|
|
9, // 14: helios.auth.AuthService.SignInVerify:output_type -> helios.auth.SignInVerifyResponse
|
|
11, // 15: helios.auth.AuthService.SignOut:output_type -> helios.auth.SignOutResponse
|
|
13, // 16: helios.auth.AuthService.AuthedHuman:output_type -> helios.auth.AuthedHumanResponse
|
|
12, // [12:17] is the sub-list for method output_type
|
|
7, // [7:12] is the sub-list for method input_type
|
|
7, // [7:7] is the sub-list for extension type_name
|
|
7, // [7:7] is the sub-list for extension extendee
|
|
0, // [0:7] is the sub-list for field type_name
|
|
}
|
|
|
|
func init() { file_helios_auth_auth_proto_init() }
|
|
func file_helios_auth_auth_proto_init() {
|
|
if File_helios_auth_auth_proto != nil {
|
|
return
|
|
}
|
|
type x struct{}
|
|
out := protoimpl.TypeBuilder{
|
|
File: protoimpl.DescBuilder{
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
RawDescriptor: file_helios_auth_auth_proto_rawDesc,
|
|
NumEnums: 2,
|
|
NumMessages: 13,
|
|
NumExtensions: 0,
|
|
NumServices: 1,
|
|
},
|
|
GoTypes: file_helios_auth_auth_proto_goTypes,
|
|
DependencyIndexes: file_helios_auth_auth_proto_depIdxs,
|
|
EnumInfos: file_helios_auth_auth_proto_enumTypes,
|
|
MessageInfos: file_helios_auth_auth_proto_msgTypes,
|
|
}.Build()
|
|
File_helios_auth_auth_proto = out.File
|
|
file_helios_auth_auth_proto_rawDesc = nil
|
|
file_helios_auth_auth_proto_goTypes = nil
|
|
file_helios_auth_auth_proto_depIdxs = nil
|
|
}
|