1055 lines
32 KiB
Go
1055 lines
32 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// versions:
|
|
// protoc-gen-go v1.36.11
|
|
// protoc v4.25.9
|
|
// source: sso/auth.proto
|
|
|
|
package pb
|
|
|
|
import (
|
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
|
reflect "reflect"
|
|
sync "sync"
|
|
unsafe "unsafe"
|
|
)
|
|
|
|
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 LoginRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
|
|
Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *LoginRequest) Reset() {
|
|
*x = LoginRequest{}
|
|
mi := &file_sso_auth_proto_msgTypes[0]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *LoginRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*LoginRequest) ProtoMessage() {}
|
|
|
|
func (x *LoginRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_sso_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 LoginRequest.ProtoReflect.Descriptor instead.
|
|
func (*LoginRequest) Descriptor() ([]byte, []int) {
|
|
return file_sso_auth_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
func (x *LoginRequest) GetUsername() string {
|
|
if x != nil {
|
|
return x.Username
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *LoginRequest) GetPassword() string {
|
|
if x != nil {
|
|
return x.Password
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type LoginResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
AccessToken string `protobuf:"bytes,1,opt,name=access_token,json=accessToken,proto3" json:"access_token,omitempty"`
|
|
RefreshToken string `protobuf:"bytes,2,opt,name=refresh_token,json=refreshToken,proto3" json:"refresh_token,omitempty"`
|
|
Status string `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"`
|
|
Need2Fa bool `protobuf:"varint,4,opt,name=need2fa,proto3" json:"need2fa,omitempty"`
|
|
TempToken *string `protobuf:"bytes,5,opt,name=temp_token,json=tempToken,proto3,oneof" json:"temp_token,omitempty"`
|
|
Message *string `protobuf:"bytes,6,opt,name=message,proto3,oneof" json:"message,omitempty"`
|
|
ErrorCode *string `protobuf:"bytes,7,opt,name=error_code,json=errorCode,proto3,oneof" json:"error_code,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *LoginResponse) Reset() {
|
|
*x = LoginResponse{}
|
|
mi := &file_sso_auth_proto_msgTypes[1]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *LoginResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*LoginResponse) ProtoMessage() {}
|
|
|
|
func (x *LoginResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_sso_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 LoginResponse.ProtoReflect.Descriptor instead.
|
|
func (*LoginResponse) Descriptor() ([]byte, []int) {
|
|
return file_sso_auth_proto_rawDescGZIP(), []int{1}
|
|
}
|
|
|
|
func (x *LoginResponse) GetAccessToken() string {
|
|
if x != nil {
|
|
return x.AccessToken
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *LoginResponse) GetRefreshToken() string {
|
|
if x != nil {
|
|
return x.RefreshToken
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *LoginResponse) GetStatus() string {
|
|
if x != nil {
|
|
return x.Status
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *LoginResponse) GetNeed2Fa() bool {
|
|
if x != nil {
|
|
return x.Need2Fa
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *LoginResponse) GetTempToken() string {
|
|
if x != nil && x.TempToken != nil {
|
|
return *x.TempToken
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *LoginResponse) GetMessage() string {
|
|
if x != nil && x.Message != nil {
|
|
return *x.Message
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *LoginResponse) GetErrorCode() string {
|
|
if x != nil && x.ErrorCode != nil {
|
|
return *x.ErrorCode
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type RefreshRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
RefreshToken string `protobuf:"bytes,1,opt,name=refresh_token,json=refreshToken,proto3" json:"refresh_token,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *RefreshRequest) Reset() {
|
|
*x = RefreshRequest{}
|
|
mi := &file_sso_auth_proto_msgTypes[2]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *RefreshRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*RefreshRequest) ProtoMessage() {}
|
|
|
|
func (x *RefreshRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_sso_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 RefreshRequest.ProtoReflect.Descriptor instead.
|
|
func (*RefreshRequest) Descriptor() ([]byte, []int) {
|
|
return file_sso_auth_proto_rawDescGZIP(), []int{2}
|
|
}
|
|
|
|
func (x *RefreshRequest) GetRefreshToken() string {
|
|
if x != nil {
|
|
return x.RefreshToken
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type RefreshResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
AccessToken string `protobuf:"bytes,1,opt,name=access_token,json=accessToken,proto3" json:"access_token,omitempty"`
|
|
RefreshToken string `protobuf:"bytes,2,opt,name=refresh_token,json=refreshToken,proto3" json:"refresh_token,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *RefreshResponse) Reset() {
|
|
*x = RefreshResponse{}
|
|
mi := &file_sso_auth_proto_msgTypes[3]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *RefreshResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*RefreshResponse) ProtoMessage() {}
|
|
|
|
func (x *RefreshResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_sso_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 RefreshResponse.ProtoReflect.Descriptor instead.
|
|
func (*RefreshResponse) Descriptor() ([]byte, []int) {
|
|
return file_sso_auth_proto_rawDescGZIP(), []int{3}
|
|
}
|
|
|
|
func (x *RefreshResponse) GetAccessToken() string {
|
|
if x != nil {
|
|
return x.AccessToken
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *RefreshResponse) GetRefreshToken() string {
|
|
if x != nil {
|
|
return x.RefreshToken
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type LogoutRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
|
|
SessionId string `protobuf:"bytes,2,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *LogoutRequest) Reset() {
|
|
*x = LogoutRequest{}
|
|
mi := &file_sso_auth_proto_msgTypes[4]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *LogoutRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*LogoutRequest) ProtoMessage() {}
|
|
|
|
func (x *LogoutRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_sso_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 LogoutRequest.ProtoReflect.Descriptor instead.
|
|
func (*LogoutRequest) Descriptor() ([]byte, []int) {
|
|
return file_sso_auth_proto_rawDescGZIP(), []int{4}
|
|
}
|
|
|
|
func (x *LogoutRequest) GetUserId() string {
|
|
if x != nil {
|
|
return x.UserId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *LogoutRequest) GetSessionId() string {
|
|
if x != nil {
|
|
return x.SessionId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type LogoutResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
|
|
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *LogoutResponse) Reset() {
|
|
*x = LogoutResponse{}
|
|
mi := &file_sso_auth_proto_msgTypes[5]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *LogoutResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*LogoutResponse) ProtoMessage() {}
|
|
|
|
func (x *LogoutResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_sso_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 LogoutResponse.ProtoReflect.Descriptor instead.
|
|
func (*LogoutResponse) Descriptor() ([]byte, []int) {
|
|
return file_sso_auth_proto_rawDescGZIP(), []int{5}
|
|
}
|
|
|
|
func (x *LogoutResponse) GetSuccess() bool {
|
|
if x != nil {
|
|
return x.Success
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *LogoutResponse) GetMessage() string {
|
|
if x != nil {
|
|
return x.Message
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type VerifyTokenRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *VerifyTokenRequest) Reset() {
|
|
*x = VerifyTokenRequest{}
|
|
mi := &file_sso_auth_proto_msgTypes[6]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *VerifyTokenRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*VerifyTokenRequest) ProtoMessage() {}
|
|
|
|
func (x *VerifyTokenRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_sso_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 VerifyTokenRequest.ProtoReflect.Descriptor instead.
|
|
func (*VerifyTokenRequest) Descriptor() ([]byte, []int) {
|
|
return file_sso_auth_proto_rawDescGZIP(), []int{6}
|
|
}
|
|
|
|
func (x *VerifyTokenRequest) GetToken() string {
|
|
if x != nil {
|
|
return x.Token
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type VerifyTokenResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
IsValid bool `protobuf:"varint,1,opt,name=is_valid,json=isValid,proto3" json:"is_valid,omitempty"`
|
|
ErrorMessage *string `protobuf:"bytes,2,opt,name=error_message,json=errorMessage,proto3,oneof" json:"error_message,omitempty"`
|
|
Id *string `protobuf:"bytes,3,opt,name=id,proto3,oneof" json:"id,omitempty"`
|
|
Username *string `protobuf:"bytes,4,opt,name=username,proto3,oneof" json:"username,omitempty"`
|
|
RoleLevel *int32 `protobuf:"varint,5,opt,name=role_level,json=roleLevel,proto3,oneof" json:"role_level,omitempty"`
|
|
Permissions []string `protobuf:"bytes,6,rep,name=permissions,proto3" json:"permissions,omitempty"`
|
|
SessionId *string `protobuf:"bytes,7,opt,name=session_id,json=sessionId,proto3,oneof" json:"session_id,omitempty"`
|
|
RequiresPin *bool `protobuf:"varint,8,opt,name=requires_pin,json=requiresPin,proto3,oneof" json:"requires_pin,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *VerifyTokenResponse) Reset() {
|
|
*x = VerifyTokenResponse{}
|
|
mi := &file_sso_auth_proto_msgTypes[7]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *VerifyTokenResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*VerifyTokenResponse) ProtoMessage() {}
|
|
|
|
func (x *VerifyTokenResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_sso_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 VerifyTokenResponse.ProtoReflect.Descriptor instead.
|
|
func (*VerifyTokenResponse) Descriptor() ([]byte, []int) {
|
|
return file_sso_auth_proto_rawDescGZIP(), []int{7}
|
|
}
|
|
|
|
func (x *VerifyTokenResponse) GetIsValid() bool {
|
|
if x != nil {
|
|
return x.IsValid
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *VerifyTokenResponse) GetErrorMessage() string {
|
|
if x != nil && x.ErrorMessage != nil {
|
|
return *x.ErrorMessage
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *VerifyTokenResponse) GetId() string {
|
|
if x != nil && x.Id != nil {
|
|
return *x.Id
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *VerifyTokenResponse) GetUsername() string {
|
|
if x != nil && x.Username != nil {
|
|
return *x.Username
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *VerifyTokenResponse) GetRoleLevel() int32 {
|
|
if x != nil && x.RoleLevel != nil {
|
|
return *x.RoleLevel
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *VerifyTokenResponse) GetPermissions() []string {
|
|
if x != nil {
|
|
return x.Permissions
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *VerifyTokenResponse) GetSessionId() string {
|
|
if x != nil && x.SessionId != nil {
|
|
return *x.SessionId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *VerifyTokenResponse) GetRequiresPin() bool {
|
|
if x != nil && x.RequiresPin != nil {
|
|
return *x.RequiresPin
|
|
}
|
|
return false
|
|
}
|
|
|
|
type GetAccountRoleLevelRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
AccountId string `protobuf:"bytes,1,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetAccountRoleLevelRequest) Reset() {
|
|
*x = GetAccountRoleLevelRequest{}
|
|
mi := &file_sso_auth_proto_msgTypes[8]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetAccountRoleLevelRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetAccountRoleLevelRequest) ProtoMessage() {}
|
|
|
|
func (x *GetAccountRoleLevelRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_sso_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 GetAccountRoleLevelRequest.ProtoReflect.Descriptor instead.
|
|
func (*GetAccountRoleLevelRequest) Descriptor() ([]byte, []int) {
|
|
return file_sso_auth_proto_rawDescGZIP(), []int{8}
|
|
}
|
|
|
|
func (x *GetAccountRoleLevelRequest) GetAccountId() string {
|
|
if x != nil {
|
|
return x.AccountId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type GetAccountRoleLevelResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Found bool `protobuf:"varint,1,opt,name=found,proto3" json:"found,omitempty"`
|
|
RoleLevel int32 `protobuf:"varint,2,opt,name=role_level,json=roleLevel,proto3" json:"role_level,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetAccountRoleLevelResponse) Reset() {
|
|
*x = GetAccountRoleLevelResponse{}
|
|
mi := &file_sso_auth_proto_msgTypes[9]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetAccountRoleLevelResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetAccountRoleLevelResponse) ProtoMessage() {}
|
|
|
|
func (x *GetAccountRoleLevelResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_sso_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 GetAccountRoleLevelResponse.ProtoReflect.Descriptor instead.
|
|
func (*GetAccountRoleLevelResponse) Descriptor() ([]byte, []int) {
|
|
return file_sso_auth_proto_rawDescGZIP(), []int{9}
|
|
}
|
|
|
|
func (x *GetAccountRoleLevelResponse) GetFound() bool {
|
|
if x != nil {
|
|
return x.Found
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *GetAccountRoleLevelResponse) GetRoleLevel() int32 {
|
|
if x != nil {
|
|
return x.RoleLevel
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type GetSessionRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
|
|
CurrentSessionId string `protobuf:"bytes,2,opt,name=current_session_id,json=currentSessionId,proto3" json:"current_session_id,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetSessionRequest) Reset() {
|
|
*x = GetSessionRequest{}
|
|
mi := &file_sso_auth_proto_msgTypes[10]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetSessionRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetSessionRequest) ProtoMessage() {}
|
|
|
|
func (x *GetSessionRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_sso_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 GetSessionRequest.ProtoReflect.Descriptor instead.
|
|
func (*GetSessionRequest) Descriptor() ([]byte, []int) {
|
|
return file_sso_auth_proto_rawDescGZIP(), []int{10}
|
|
}
|
|
|
|
func (x *GetSessionRequest) GetUserId() string {
|
|
if x != nil {
|
|
return x.UserId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetSessionRequest) GetCurrentSessionId() string {
|
|
if x != nil {
|
|
return x.CurrentSessionId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type SessionItem struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Здесь будет лежать захэшированный ID
|
|
IpAddress string `protobuf:"bytes,2,opt,name=ip_address,json=ipAddress,proto3" json:"ip_address,omitempty"`
|
|
UserAgent string `protobuf:"bytes,3,opt,name=user_agent,json=userAgent,proto3" json:"user_agent,omitempty"`
|
|
LastActivity int64 `protobuf:"varint,4,opt,name=last_activity,json=lastActivity,proto3" json:"last_activity,omitempty"` // Unix timestamp в миллисекундах
|
|
IsCurrent bool `protobuf:"varint,5,opt,name=is_current,json=isCurrent,proto3" json:"is_current,omitempty"` // Флаг текущей сессии
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *SessionItem) Reset() {
|
|
*x = SessionItem{}
|
|
mi := &file_sso_auth_proto_msgTypes[11]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SessionItem) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SessionItem) ProtoMessage() {}
|
|
|
|
func (x *SessionItem) ProtoReflect() protoreflect.Message {
|
|
mi := &file_sso_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 SessionItem.ProtoReflect.Descriptor instead.
|
|
func (*SessionItem) Descriptor() ([]byte, []int) {
|
|
return file_sso_auth_proto_rawDescGZIP(), []int{11}
|
|
}
|
|
|
|
func (x *SessionItem) GetId() string {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SessionItem) GetIpAddress() string {
|
|
if x != nil {
|
|
return x.IpAddress
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SessionItem) GetUserAgent() string {
|
|
if x != nil {
|
|
return x.UserAgent
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SessionItem) GetLastActivity() int64 {
|
|
if x != nil {
|
|
return x.LastActivity
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *SessionItem) GetIsCurrent() bool {
|
|
if x != nil {
|
|
return x.IsCurrent
|
|
}
|
|
return false
|
|
}
|
|
|
|
type GetSessionsResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Sessions []*SessionItem `protobuf:"bytes,1,rep,name=sessions,proto3" json:"sessions,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetSessionsResponse) Reset() {
|
|
*x = GetSessionsResponse{}
|
|
mi := &file_sso_auth_proto_msgTypes[12]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetSessionsResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetSessionsResponse) ProtoMessage() {}
|
|
|
|
func (x *GetSessionsResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_sso_auth_proto_msgTypes[12]
|
|
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 GetSessionsResponse.ProtoReflect.Descriptor instead.
|
|
func (*GetSessionsResponse) Descriptor() ([]byte, []int) {
|
|
return file_sso_auth_proto_rawDescGZIP(), []int{12}
|
|
}
|
|
|
|
func (x *GetSessionsResponse) GetSessions() []*SessionItem {
|
|
if x != nil {
|
|
return x.Sessions
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type TerminateSessionRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
|
|
TargetHash string `protobuf:"bytes,2,opt,name=target_hash,json=targetHash,proto3" json:"target_hash,omitempty"` // Хэш сессии, которую нужно убить
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *TerminateSessionRequest) Reset() {
|
|
*x = TerminateSessionRequest{}
|
|
mi := &file_sso_auth_proto_msgTypes[13]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *TerminateSessionRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*TerminateSessionRequest) ProtoMessage() {}
|
|
|
|
func (x *TerminateSessionRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_sso_auth_proto_msgTypes[13]
|
|
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 TerminateSessionRequest.ProtoReflect.Descriptor instead.
|
|
func (*TerminateSessionRequest) Descriptor() ([]byte, []int) {
|
|
return file_sso_auth_proto_rawDescGZIP(), []int{13}
|
|
}
|
|
|
|
func (x *TerminateSessionRequest) GetUserId() string {
|
|
if x != nil {
|
|
return x.UserId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *TerminateSessionRequest) GetTargetHash() string {
|
|
if x != nil {
|
|
return x.TargetHash
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type TerminateSessionResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
|
|
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *TerminateSessionResponse) Reset() {
|
|
*x = TerminateSessionResponse{}
|
|
mi := &file_sso_auth_proto_msgTypes[14]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *TerminateSessionResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*TerminateSessionResponse) ProtoMessage() {}
|
|
|
|
func (x *TerminateSessionResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_sso_auth_proto_msgTypes[14]
|
|
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 TerminateSessionResponse.ProtoReflect.Descriptor instead.
|
|
func (*TerminateSessionResponse) Descriptor() ([]byte, []int) {
|
|
return file_sso_auth_proto_rawDescGZIP(), []int{14}
|
|
}
|
|
|
|
func (x *TerminateSessionResponse) GetSuccess() bool {
|
|
if x != nil {
|
|
return x.Success
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *TerminateSessionResponse) GetMessage() string {
|
|
if x != nil {
|
|
return x.Message
|
|
}
|
|
return ""
|
|
}
|
|
|
|
var File_sso_auth_proto protoreflect.FileDescriptor
|
|
|
|
const file_sso_auth_proto_rawDesc = "" +
|
|
"\n" +
|
|
"\x0esso/auth.proto\x12\aauth.v1\"F\n" +
|
|
"\fLoginRequest\x12\x1a\n" +
|
|
"\busername\x18\x01 \x01(\tR\busername\x12\x1a\n" +
|
|
"\bpassword\x18\x02 \x01(\tR\bpassword\"\x9a\x02\n" +
|
|
"\rLoginResponse\x12!\n" +
|
|
"\faccess_token\x18\x01 \x01(\tR\vaccessToken\x12#\n" +
|
|
"\rrefresh_token\x18\x02 \x01(\tR\frefreshToken\x12\x16\n" +
|
|
"\x06status\x18\x03 \x01(\tR\x06status\x12\x18\n" +
|
|
"\aneed2fa\x18\x04 \x01(\bR\aneed2fa\x12\"\n" +
|
|
"\n" +
|
|
"temp_token\x18\x05 \x01(\tH\x00R\ttempToken\x88\x01\x01\x12\x1d\n" +
|
|
"\amessage\x18\x06 \x01(\tH\x01R\amessage\x88\x01\x01\x12\"\n" +
|
|
"\n" +
|
|
"error_code\x18\a \x01(\tH\x02R\terrorCode\x88\x01\x01B\r\n" +
|
|
"\v_temp_tokenB\n" +
|
|
"\n" +
|
|
"\b_messageB\r\n" +
|
|
"\v_error_code\"5\n" +
|
|
"\x0eRefreshRequest\x12#\n" +
|
|
"\rrefresh_token\x18\x01 \x01(\tR\frefreshToken\"Y\n" +
|
|
"\x0fRefreshResponse\x12!\n" +
|
|
"\faccess_token\x18\x01 \x01(\tR\vaccessToken\x12#\n" +
|
|
"\rrefresh_token\x18\x02 \x01(\tR\frefreshToken\"G\n" +
|
|
"\rLogoutRequest\x12\x17\n" +
|
|
"\auser_id\x18\x01 \x01(\tR\x06userId\x12\x1d\n" +
|
|
"\n" +
|
|
"session_id\x18\x02 \x01(\tR\tsessionId\"D\n" +
|
|
"\x0eLogoutResponse\x12\x18\n" +
|
|
"\asuccess\x18\x01 \x01(\bR\asuccess\x12\x18\n" +
|
|
"\amessage\x18\x02 \x01(\tR\amessage\"*\n" +
|
|
"\x12VerifyTokenRequest\x12\x14\n" +
|
|
"\x05token\x18\x01 \x01(\tR\x05token\"\xf7\x02\n" +
|
|
"\x13VerifyTokenResponse\x12\x19\n" +
|
|
"\bis_valid\x18\x01 \x01(\bR\aisValid\x12(\n" +
|
|
"\rerror_message\x18\x02 \x01(\tH\x00R\ferrorMessage\x88\x01\x01\x12\x13\n" +
|
|
"\x02id\x18\x03 \x01(\tH\x01R\x02id\x88\x01\x01\x12\x1f\n" +
|
|
"\busername\x18\x04 \x01(\tH\x02R\busername\x88\x01\x01\x12\"\n" +
|
|
"\n" +
|
|
"role_level\x18\x05 \x01(\x05H\x03R\troleLevel\x88\x01\x01\x12 \n" +
|
|
"\vpermissions\x18\x06 \x03(\tR\vpermissions\x12\"\n" +
|
|
"\n" +
|
|
"session_id\x18\a \x01(\tH\x04R\tsessionId\x88\x01\x01\x12&\n" +
|
|
"\frequires_pin\x18\b \x01(\bH\x05R\vrequiresPin\x88\x01\x01B\x10\n" +
|
|
"\x0e_error_messageB\x05\n" +
|
|
"\x03_idB\v\n" +
|
|
"\t_usernameB\r\n" +
|
|
"\v_role_levelB\r\n" +
|
|
"\v_session_idB\x0f\n" +
|
|
"\r_requires_pin\";\n" +
|
|
"\x1aGetAccountRoleLevelRequest\x12\x1d\n" +
|
|
"\n" +
|
|
"account_id\x18\x01 \x01(\tR\taccountId\"R\n" +
|
|
"\x1bGetAccountRoleLevelResponse\x12\x14\n" +
|
|
"\x05found\x18\x01 \x01(\bR\x05found\x12\x1d\n" +
|
|
"\n" +
|
|
"role_level\x18\x02 \x01(\x05R\troleLevel\"Z\n" +
|
|
"\x11GetSessionRequest\x12\x17\n" +
|
|
"\auser_id\x18\x01 \x01(\tR\x06userId\x12,\n" +
|
|
"\x12current_session_id\x18\x02 \x01(\tR\x10currentSessionId\"\x9f\x01\n" +
|
|
"\vSessionItem\x12\x0e\n" +
|
|
"\x02id\x18\x01 \x01(\tR\x02id\x12\x1d\n" +
|
|
"\n" +
|
|
"ip_address\x18\x02 \x01(\tR\tipAddress\x12\x1d\n" +
|
|
"\n" +
|
|
"user_agent\x18\x03 \x01(\tR\tuserAgent\x12#\n" +
|
|
"\rlast_activity\x18\x04 \x01(\x03R\flastActivity\x12\x1d\n" +
|
|
"\n" +
|
|
"is_current\x18\x05 \x01(\bR\tisCurrent\"G\n" +
|
|
"\x13GetSessionsResponse\x120\n" +
|
|
"\bsessions\x18\x01 \x03(\v2\x14.auth.v1.SessionItemR\bsessions\"S\n" +
|
|
"\x17TerminateSessionRequest\x12\x17\n" +
|
|
"\auser_id\x18\x01 \x01(\tR\x06userId\x12\x1f\n" +
|
|
"\vtarget_hash\x18\x02 \x01(\tR\n" +
|
|
"targetHash\"N\n" +
|
|
"\x18TerminateSessionResponse\x12\x18\n" +
|
|
"\asuccess\x18\x01 \x01(\bR\asuccess\x12\x18\n" +
|
|
"\amessage\x18\x02 \x01(\tR\amessage2\xcc\x04\n" +
|
|
"\vAuthService\x126\n" +
|
|
"\x05Login\x12\x15.auth.v1.LoginRequest\x1a\x16.auth.v1.LoginResponse\x12<\n" +
|
|
"\aRefresh\x12\x17.auth.v1.RefreshRequest\x1a\x18.auth.v1.RefreshResponse\x12H\n" +
|
|
"\vVerifyToken\x12\x1b.auth.v1.VerifyTokenRequest\x1a\x1c.auth.v1.VerifyTokenResponse\x12`\n" +
|
|
"\x13GetAccountRoleLevel\x12#.auth.v1.GetAccountRoleLevelRequest\x1a$.auth.v1.GetAccountRoleLevelResponse\x129\n" +
|
|
"\x06Logout\x12\x16.auth.v1.LogoutRequest\x1a\x17.auth.v1.LogoutResponse\x12>\n" +
|
|
"\vLogoutOther\x12\x16.auth.v1.LogoutRequest\x1a\x17.auth.v1.LogoutResponse\x12G\n" +
|
|
"\vGetSessions\x12\x1a.auth.v1.GetSessionRequest\x1a\x1c.auth.v1.GetSessionsResponse\x12W\n" +
|
|
"\x10TerminateSession\x12 .auth.v1.TerminateSessionRequest\x1a!.auth.v1.TerminateSessionResponseB*Z(git.lendry.ru/lendry-erp/proto.git/go;pbb\x06proto3"
|
|
|
|
var (
|
|
file_sso_auth_proto_rawDescOnce sync.Once
|
|
file_sso_auth_proto_rawDescData []byte
|
|
)
|
|
|
|
func file_sso_auth_proto_rawDescGZIP() []byte {
|
|
file_sso_auth_proto_rawDescOnce.Do(func() {
|
|
file_sso_auth_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_sso_auth_proto_rawDesc), len(file_sso_auth_proto_rawDesc)))
|
|
})
|
|
return file_sso_auth_proto_rawDescData
|
|
}
|
|
|
|
var file_sso_auth_proto_msgTypes = make([]protoimpl.MessageInfo, 15)
|
|
var file_sso_auth_proto_goTypes = []any{
|
|
(*LoginRequest)(nil), // 0: auth.v1.LoginRequest
|
|
(*LoginResponse)(nil), // 1: auth.v1.LoginResponse
|
|
(*RefreshRequest)(nil), // 2: auth.v1.RefreshRequest
|
|
(*RefreshResponse)(nil), // 3: auth.v1.RefreshResponse
|
|
(*LogoutRequest)(nil), // 4: auth.v1.LogoutRequest
|
|
(*LogoutResponse)(nil), // 5: auth.v1.LogoutResponse
|
|
(*VerifyTokenRequest)(nil), // 6: auth.v1.VerifyTokenRequest
|
|
(*VerifyTokenResponse)(nil), // 7: auth.v1.VerifyTokenResponse
|
|
(*GetAccountRoleLevelRequest)(nil), // 8: auth.v1.GetAccountRoleLevelRequest
|
|
(*GetAccountRoleLevelResponse)(nil), // 9: auth.v1.GetAccountRoleLevelResponse
|
|
(*GetSessionRequest)(nil), // 10: auth.v1.GetSessionRequest
|
|
(*SessionItem)(nil), // 11: auth.v1.SessionItem
|
|
(*GetSessionsResponse)(nil), // 12: auth.v1.GetSessionsResponse
|
|
(*TerminateSessionRequest)(nil), // 13: auth.v1.TerminateSessionRequest
|
|
(*TerminateSessionResponse)(nil), // 14: auth.v1.TerminateSessionResponse
|
|
}
|
|
var file_sso_auth_proto_depIdxs = []int32{
|
|
11, // 0: auth.v1.GetSessionsResponse.sessions:type_name -> auth.v1.SessionItem
|
|
0, // 1: auth.v1.AuthService.Login:input_type -> auth.v1.LoginRequest
|
|
2, // 2: auth.v1.AuthService.Refresh:input_type -> auth.v1.RefreshRequest
|
|
6, // 3: auth.v1.AuthService.VerifyToken:input_type -> auth.v1.VerifyTokenRequest
|
|
8, // 4: auth.v1.AuthService.GetAccountRoleLevel:input_type -> auth.v1.GetAccountRoleLevelRequest
|
|
4, // 5: auth.v1.AuthService.Logout:input_type -> auth.v1.LogoutRequest
|
|
4, // 6: auth.v1.AuthService.LogoutOther:input_type -> auth.v1.LogoutRequest
|
|
10, // 7: auth.v1.AuthService.GetSessions:input_type -> auth.v1.GetSessionRequest
|
|
13, // 8: auth.v1.AuthService.TerminateSession:input_type -> auth.v1.TerminateSessionRequest
|
|
1, // 9: auth.v1.AuthService.Login:output_type -> auth.v1.LoginResponse
|
|
3, // 10: auth.v1.AuthService.Refresh:output_type -> auth.v1.RefreshResponse
|
|
7, // 11: auth.v1.AuthService.VerifyToken:output_type -> auth.v1.VerifyTokenResponse
|
|
9, // 12: auth.v1.AuthService.GetAccountRoleLevel:output_type -> auth.v1.GetAccountRoleLevelResponse
|
|
5, // 13: auth.v1.AuthService.Logout:output_type -> auth.v1.LogoutResponse
|
|
5, // 14: auth.v1.AuthService.LogoutOther:output_type -> auth.v1.LogoutResponse
|
|
12, // 15: auth.v1.AuthService.GetSessions:output_type -> auth.v1.GetSessionsResponse
|
|
14, // 16: auth.v1.AuthService.TerminateSession:output_type -> auth.v1.TerminateSessionResponse
|
|
9, // [9:17] is the sub-list for method output_type
|
|
1, // [1:9] is the sub-list for method input_type
|
|
1, // [1:1] is the sub-list for extension type_name
|
|
1, // [1:1] is the sub-list for extension extendee
|
|
0, // [0:1] is the sub-list for field type_name
|
|
}
|
|
|
|
func init() { file_sso_auth_proto_init() }
|
|
func file_sso_auth_proto_init() {
|
|
if File_sso_auth_proto != nil {
|
|
return
|
|
}
|
|
file_sso_auth_proto_msgTypes[1].OneofWrappers = []any{}
|
|
file_sso_auth_proto_msgTypes[7].OneofWrappers = []any{}
|
|
type x struct{}
|
|
out := protoimpl.TypeBuilder{
|
|
File: protoimpl.DescBuilder{
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
RawDescriptor: unsafe.Slice(unsafe.StringData(file_sso_auth_proto_rawDesc), len(file_sso_auth_proto_rawDesc)),
|
|
NumEnums: 0,
|
|
NumMessages: 15,
|
|
NumExtensions: 0,
|
|
NumServices: 1,
|
|
},
|
|
GoTypes: file_sso_auth_proto_goTypes,
|
|
DependencyIndexes: file_sso_auth_proto_depIdxs,
|
|
MessageInfos: file_sso_auth_proto_msgTypes,
|
|
}.Build()
|
|
File_sso_auth_proto = out.File
|
|
file_sso_auth_proto_goTypes = nil
|
|
file_sso_auth_proto_depIdxs = nil
|
|
}
|