1002 lines
33 KiB
Go
1002 lines
33 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// versions:
|
|
// protoc-gen-go v1.36.11
|
|
// protoc v4.25.9
|
|
// source: sso/oauth.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 GenerateOauthCodeRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
|
|
ClientId string `protobuf:"bytes,2,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"`
|
|
RedirectUri string `protobuf:"bytes,3,opt,name=redirect_uri,json=redirectUri,proto3" json:"redirect_uri,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GenerateOauthCodeRequest) Reset() {
|
|
*x = GenerateOauthCodeRequest{}
|
|
mi := &file_sso_oauth_proto_msgTypes[0]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GenerateOauthCodeRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GenerateOauthCodeRequest) ProtoMessage() {}
|
|
|
|
func (x *GenerateOauthCodeRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_sso_oauth_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 GenerateOauthCodeRequest.ProtoReflect.Descriptor instead.
|
|
func (*GenerateOauthCodeRequest) Descriptor() ([]byte, []int) {
|
|
return file_sso_oauth_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
func (x *GenerateOauthCodeRequest) GetUserId() string {
|
|
if x != nil {
|
|
return x.UserId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GenerateOauthCodeRequest) GetClientId() string {
|
|
if x != nil {
|
|
return x.ClientId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GenerateOauthCodeRequest) GetRedirectUri() string {
|
|
if x != nil {
|
|
return x.RedirectUri
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type GenerateOauthCodeResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Code string `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GenerateOauthCodeResponse) Reset() {
|
|
*x = GenerateOauthCodeResponse{}
|
|
mi := &file_sso_oauth_proto_msgTypes[1]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GenerateOauthCodeResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GenerateOauthCodeResponse) ProtoMessage() {}
|
|
|
|
func (x *GenerateOauthCodeResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_sso_oauth_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 GenerateOauthCodeResponse.ProtoReflect.Descriptor instead.
|
|
func (*GenerateOauthCodeResponse) Descriptor() ([]byte, []int) {
|
|
return file_sso_oauth_proto_rawDescGZIP(), []int{1}
|
|
}
|
|
|
|
func (x *GenerateOauthCodeResponse) GetCode() string {
|
|
if x != nil {
|
|
return x.Code
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type ExchangeOauthCodeRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Code string `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"`
|
|
ClientId string `protobuf:"bytes,2,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"`
|
|
ClientSecret string `protobuf:"bytes,3,opt,name=client_secret,json=clientSecret,proto3" json:"client_secret,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ExchangeOauthCodeRequest) Reset() {
|
|
*x = ExchangeOauthCodeRequest{}
|
|
mi := &file_sso_oauth_proto_msgTypes[2]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ExchangeOauthCodeRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ExchangeOauthCodeRequest) ProtoMessage() {}
|
|
|
|
func (x *ExchangeOauthCodeRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_sso_oauth_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 ExchangeOauthCodeRequest.ProtoReflect.Descriptor instead.
|
|
func (*ExchangeOauthCodeRequest) Descriptor() ([]byte, []int) {
|
|
return file_sso_oauth_proto_rawDescGZIP(), []int{2}
|
|
}
|
|
|
|
func (x *ExchangeOauthCodeRequest) GetCode() string {
|
|
if x != nil {
|
|
return x.Code
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ExchangeOauthCodeRequest) GetClientId() string {
|
|
if x != nil {
|
|
return x.ClientId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ExchangeOauthCodeRequest) GetClientSecret() string {
|
|
if x != nil {
|
|
return x.ClientSecret
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type ExchangeOauthCodeResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
AccessToken string `protobuf:"bytes,1,opt,name=access_token,json=accessToken,proto3" json:"access_token,omitempty"`
|
|
ExpiresIn int32 `protobuf:"varint,2,opt,name=expires_in,json=expiresIn,proto3" json:"expires_in,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ExchangeOauthCodeResponse) Reset() {
|
|
*x = ExchangeOauthCodeResponse{}
|
|
mi := &file_sso_oauth_proto_msgTypes[3]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ExchangeOauthCodeResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ExchangeOauthCodeResponse) ProtoMessage() {}
|
|
|
|
func (x *ExchangeOauthCodeResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_sso_oauth_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 ExchangeOauthCodeResponse.ProtoReflect.Descriptor instead.
|
|
func (*ExchangeOauthCodeResponse) Descriptor() ([]byte, []int) {
|
|
return file_sso_oauth_proto_rawDescGZIP(), []int{3}
|
|
}
|
|
|
|
func (x *ExchangeOauthCodeResponse) GetAccessToken() string {
|
|
if x != nil {
|
|
return x.AccessToken
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ExchangeOauthCodeResponse) GetExpiresIn() int32 {
|
|
if x != nil {
|
|
return x.ExpiresIn
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type SystemCreateOauthClientRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Название приложения (например, "Grafana Analytics")
|
|
RedirectUris []string `protobuf:"bytes,2,rep,name=redirect_uris,json=redirectUris,proto3" json:"redirect_uris,omitempty"` // Список разрешенных коллбеков
|
|
Description *string `protobuf:"bytes,3,opt,name=description,proto3,oneof" json:"description,omitempty"` // Описание (для админки)
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *SystemCreateOauthClientRequest) Reset() {
|
|
*x = SystemCreateOauthClientRequest{}
|
|
mi := &file_sso_oauth_proto_msgTypes[4]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SystemCreateOauthClientRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SystemCreateOauthClientRequest) ProtoMessage() {}
|
|
|
|
func (x *SystemCreateOauthClientRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_sso_oauth_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 SystemCreateOauthClientRequest.ProtoReflect.Descriptor instead.
|
|
func (*SystemCreateOauthClientRequest) Descriptor() ([]byte, []int) {
|
|
return file_sso_oauth_proto_rawDescGZIP(), []int{4}
|
|
}
|
|
|
|
func (x *SystemCreateOauthClientRequest) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SystemCreateOauthClientRequest) GetRedirectUris() []string {
|
|
if x != nil {
|
|
return x.RedirectUris
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SystemCreateOauthClientRequest) GetDescription() string {
|
|
if x != nil && x.Description != nil {
|
|
return *x.Description
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type SystemCreateOauthClientResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Внутренний ID в базе
|
|
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
|
|
ClientId string `protobuf:"bytes,3,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"` // Публичный ID клиента (app_...)
|
|
PlainSecret string `protobuf:"bytes,4,opt,name=plain_secret,json=plainSecret,proto3" json:"plain_secret,omitempty"` // ВАЖНО: Чистый секрет. Отдается ТОЛЬКО здесь один раз!
|
|
RedirectUris []string `protobuf:"bytes,5,rep,name=redirect_uris,json=redirectUris,proto3" json:"redirect_uris,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *SystemCreateOauthClientResponse) Reset() {
|
|
*x = SystemCreateOauthClientResponse{}
|
|
mi := &file_sso_oauth_proto_msgTypes[5]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SystemCreateOauthClientResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SystemCreateOauthClientResponse) ProtoMessage() {}
|
|
|
|
func (x *SystemCreateOauthClientResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_sso_oauth_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 SystemCreateOauthClientResponse.ProtoReflect.Descriptor instead.
|
|
func (*SystemCreateOauthClientResponse) Descriptor() ([]byte, []int) {
|
|
return file_sso_oauth_proto_rawDescGZIP(), []int{5}
|
|
}
|
|
|
|
func (x *SystemCreateOauthClientResponse) GetId() string {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SystemCreateOauthClientResponse) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SystemCreateOauthClientResponse) GetClientId() string {
|
|
if x != nil {
|
|
return x.ClientId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SystemCreateOauthClientResponse) GetPlainSecret() string {
|
|
if x != nil {
|
|
return x.PlainSecret
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SystemCreateOauthClientResponse) GetRedirectUris() []string {
|
|
if x != nil {
|
|
return x.RedirectUris
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type OauthClientItem struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
|
|
ClientId string `protobuf:"bytes,3,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"`
|
|
RedirectUris []string `protobuf:"bytes,4,rep,name=redirect_uris,json=redirectUris,proto3" json:"redirect_uris,omitempty"`
|
|
Description *string `protobuf:"bytes,5,opt,name=description,proto3,oneof" json:"description,omitempty"`
|
|
CreatedAt int64 `protobuf:"varint,6,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // Обратите внимание: поля secret здесь нет! Секрет нельзя получить списком.
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *OauthClientItem) Reset() {
|
|
*x = OauthClientItem{}
|
|
mi := &file_sso_oauth_proto_msgTypes[6]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *OauthClientItem) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*OauthClientItem) ProtoMessage() {}
|
|
|
|
func (x *OauthClientItem) ProtoReflect() protoreflect.Message {
|
|
mi := &file_sso_oauth_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 OauthClientItem.ProtoReflect.Descriptor instead.
|
|
func (*OauthClientItem) Descriptor() ([]byte, []int) {
|
|
return file_sso_oauth_proto_rawDescGZIP(), []int{6}
|
|
}
|
|
|
|
func (x *OauthClientItem) GetId() string {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *OauthClientItem) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *OauthClientItem) GetClientId() string {
|
|
if x != nil {
|
|
return x.ClientId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *OauthClientItem) GetRedirectUris() []string {
|
|
if x != nil {
|
|
return x.RedirectUris
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *OauthClientItem) GetDescription() string {
|
|
if x != nil && x.Description != nil {
|
|
return *x.Description
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *OauthClientItem) GetCreatedAt() int64 {
|
|
if x != nil {
|
|
return x.CreatedAt
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type SystemGetOauthClientsRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Limit int32 `protobuf:"varint,1,opt,name=limit,proto3" json:"limit,omitempty"`
|
|
Offset int32 `protobuf:"varint,2,opt,name=offset,proto3" json:"offset,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *SystemGetOauthClientsRequest) Reset() {
|
|
*x = SystemGetOauthClientsRequest{}
|
|
mi := &file_sso_oauth_proto_msgTypes[7]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SystemGetOauthClientsRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SystemGetOauthClientsRequest) ProtoMessage() {}
|
|
|
|
func (x *SystemGetOauthClientsRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_sso_oauth_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 SystemGetOauthClientsRequest.ProtoReflect.Descriptor instead.
|
|
func (*SystemGetOauthClientsRequest) Descriptor() ([]byte, []int) {
|
|
return file_sso_oauth_proto_rawDescGZIP(), []int{7}
|
|
}
|
|
|
|
func (x *SystemGetOauthClientsRequest) GetLimit() int32 {
|
|
if x != nil {
|
|
return x.Limit
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *SystemGetOauthClientsRequest) GetOffset() int32 {
|
|
if x != nil {
|
|
return x.Offset
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type SystemGetOauthClientsResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Clients []*OauthClientItem `protobuf:"bytes,1,rep,name=clients,proto3" json:"clients,omitempty"`
|
|
Total int32 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *SystemGetOauthClientsResponse) Reset() {
|
|
*x = SystemGetOauthClientsResponse{}
|
|
mi := &file_sso_oauth_proto_msgTypes[8]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SystemGetOauthClientsResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SystemGetOauthClientsResponse) ProtoMessage() {}
|
|
|
|
func (x *SystemGetOauthClientsResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_sso_oauth_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 SystemGetOauthClientsResponse.ProtoReflect.Descriptor instead.
|
|
func (*SystemGetOauthClientsResponse) Descriptor() ([]byte, []int) {
|
|
return file_sso_oauth_proto_rawDescGZIP(), []int{8}
|
|
}
|
|
|
|
func (x *SystemGetOauthClientsResponse) GetClients() []*OauthClientItem {
|
|
if x != nil {
|
|
return x.Clients
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SystemGetOauthClientsResponse) GetTotal() int32 {
|
|
if x != nil {
|
|
return x.Total
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type SystemUpdateOauthClientRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
ClientId string `protobuf:"bytes,1,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"`
|
|
Name *string `protobuf:"bytes,2,opt,name=name,proto3,oneof" json:"name,omitempty"`
|
|
RedirectUris []string `protobuf:"bytes,3,rep,name=redirect_uris,json=redirectUris,proto3" json:"redirect_uris,omitempty"` // Если передано, полностью перезаписывает старые
|
|
Description *string `protobuf:"bytes,4,opt,name=description,proto3,oneof" json:"description,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *SystemUpdateOauthClientRequest) Reset() {
|
|
*x = SystemUpdateOauthClientRequest{}
|
|
mi := &file_sso_oauth_proto_msgTypes[9]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SystemUpdateOauthClientRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SystemUpdateOauthClientRequest) ProtoMessage() {}
|
|
|
|
func (x *SystemUpdateOauthClientRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_sso_oauth_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 SystemUpdateOauthClientRequest.ProtoReflect.Descriptor instead.
|
|
func (*SystemUpdateOauthClientRequest) Descriptor() ([]byte, []int) {
|
|
return file_sso_oauth_proto_rawDescGZIP(), []int{9}
|
|
}
|
|
|
|
func (x *SystemUpdateOauthClientRequest) GetClientId() string {
|
|
if x != nil {
|
|
return x.ClientId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SystemUpdateOauthClientRequest) GetName() string {
|
|
if x != nil && x.Name != nil {
|
|
return *x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SystemUpdateOauthClientRequest) GetRedirectUris() []string {
|
|
if x != nil {
|
|
return x.RedirectUris
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SystemUpdateOauthClientRequest) GetDescription() string {
|
|
if x != nil && x.Description != nil {
|
|
return *x.Description
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type SystemUpdateOauthClientResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *SystemUpdateOauthClientResponse) Reset() {
|
|
*x = SystemUpdateOauthClientResponse{}
|
|
mi := &file_sso_oauth_proto_msgTypes[10]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SystemUpdateOauthClientResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SystemUpdateOauthClientResponse) ProtoMessage() {}
|
|
|
|
func (x *SystemUpdateOauthClientResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_sso_oauth_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 SystemUpdateOauthClientResponse.ProtoReflect.Descriptor instead.
|
|
func (*SystemUpdateOauthClientResponse) Descriptor() ([]byte, []int) {
|
|
return file_sso_oauth_proto_rawDescGZIP(), []int{10}
|
|
}
|
|
|
|
func (x *SystemUpdateOauthClientResponse) GetSuccess() bool {
|
|
if x != nil {
|
|
return x.Success
|
|
}
|
|
return false
|
|
}
|
|
|
|
type SystemResetOauthSecretRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
ClientId string `protobuf:"bytes,1,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *SystemResetOauthSecretRequest) Reset() {
|
|
*x = SystemResetOauthSecretRequest{}
|
|
mi := &file_sso_oauth_proto_msgTypes[11]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SystemResetOauthSecretRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SystemResetOauthSecretRequest) ProtoMessage() {}
|
|
|
|
func (x *SystemResetOauthSecretRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_sso_oauth_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 SystemResetOauthSecretRequest.ProtoReflect.Descriptor instead.
|
|
func (*SystemResetOauthSecretRequest) Descriptor() ([]byte, []int) {
|
|
return file_sso_oauth_proto_rawDescGZIP(), []int{11}
|
|
}
|
|
|
|
func (x *SystemResetOauthSecretRequest) GetClientId() string {
|
|
if x != nil {
|
|
return x.ClientId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type SystemResetOauthSecretResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
NewPlainSecret string `protobuf:"bytes,1,opt,name=new_plain_secret,json=newPlainSecret,proto3" json:"new_plain_secret,omitempty"` // Возвращаем новый сгенерированный секрет
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *SystemResetOauthSecretResponse) Reset() {
|
|
*x = SystemResetOauthSecretResponse{}
|
|
mi := &file_sso_oauth_proto_msgTypes[12]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SystemResetOauthSecretResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SystemResetOauthSecretResponse) ProtoMessage() {}
|
|
|
|
func (x *SystemResetOauthSecretResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_sso_oauth_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 SystemResetOauthSecretResponse.ProtoReflect.Descriptor instead.
|
|
func (*SystemResetOauthSecretResponse) Descriptor() ([]byte, []int) {
|
|
return file_sso_oauth_proto_rawDescGZIP(), []int{12}
|
|
}
|
|
|
|
func (x *SystemResetOauthSecretResponse) GetNewPlainSecret() string {
|
|
if x != nil {
|
|
return x.NewPlainSecret
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type SystemDeleteOauthClientRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
ClientId string `protobuf:"bytes,1,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *SystemDeleteOauthClientRequest) Reset() {
|
|
*x = SystemDeleteOauthClientRequest{}
|
|
mi := &file_sso_oauth_proto_msgTypes[13]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SystemDeleteOauthClientRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SystemDeleteOauthClientRequest) ProtoMessage() {}
|
|
|
|
func (x *SystemDeleteOauthClientRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_sso_oauth_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 SystemDeleteOauthClientRequest.ProtoReflect.Descriptor instead.
|
|
func (*SystemDeleteOauthClientRequest) Descriptor() ([]byte, []int) {
|
|
return file_sso_oauth_proto_rawDescGZIP(), []int{13}
|
|
}
|
|
|
|
func (x *SystemDeleteOauthClientRequest) GetClientId() string {
|
|
if x != nil {
|
|
return x.ClientId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type SystemDeleteOauthClientResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *SystemDeleteOauthClientResponse) Reset() {
|
|
*x = SystemDeleteOauthClientResponse{}
|
|
mi := &file_sso_oauth_proto_msgTypes[14]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SystemDeleteOauthClientResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SystemDeleteOauthClientResponse) ProtoMessage() {}
|
|
|
|
func (x *SystemDeleteOauthClientResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_sso_oauth_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 SystemDeleteOauthClientResponse.ProtoReflect.Descriptor instead.
|
|
func (*SystemDeleteOauthClientResponse) Descriptor() ([]byte, []int) {
|
|
return file_sso_oauth_proto_rawDescGZIP(), []int{14}
|
|
}
|
|
|
|
func (x *SystemDeleteOauthClientResponse) GetSuccess() bool {
|
|
if x != nil {
|
|
return x.Success
|
|
}
|
|
return false
|
|
}
|
|
|
|
var File_sso_oauth_proto protoreflect.FileDescriptor
|
|
|
|
const file_sso_oauth_proto_rawDesc = "" +
|
|
"\n" +
|
|
"\x0fsso/oauth.proto\x12\boauth.v1\"s\n" +
|
|
"\x18GenerateOauthCodeRequest\x12\x17\n" +
|
|
"\auser_id\x18\x01 \x01(\tR\x06userId\x12\x1b\n" +
|
|
"\tclient_id\x18\x02 \x01(\tR\bclientId\x12!\n" +
|
|
"\fredirect_uri\x18\x03 \x01(\tR\vredirectUri\"/\n" +
|
|
"\x19GenerateOauthCodeResponse\x12\x12\n" +
|
|
"\x04code\x18\x01 \x01(\tR\x04code\"p\n" +
|
|
"\x18ExchangeOauthCodeRequest\x12\x12\n" +
|
|
"\x04code\x18\x01 \x01(\tR\x04code\x12\x1b\n" +
|
|
"\tclient_id\x18\x02 \x01(\tR\bclientId\x12#\n" +
|
|
"\rclient_secret\x18\x03 \x01(\tR\fclientSecret\"]\n" +
|
|
"\x19ExchangeOauthCodeResponse\x12!\n" +
|
|
"\faccess_token\x18\x01 \x01(\tR\vaccessToken\x12\x1d\n" +
|
|
"\n" +
|
|
"expires_in\x18\x02 \x01(\x05R\texpiresIn\"\x90\x01\n" +
|
|
"\x1eSystemCreateOauthClientRequest\x12\x12\n" +
|
|
"\x04name\x18\x01 \x01(\tR\x04name\x12#\n" +
|
|
"\rredirect_uris\x18\x02 \x03(\tR\fredirectUris\x12%\n" +
|
|
"\vdescription\x18\x03 \x01(\tH\x00R\vdescription\x88\x01\x01B\x0e\n" +
|
|
"\f_description\"\xaa\x01\n" +
|
|
"\x1fSystemCreateOauthClientResponse\x12\x0e\n" +
|
|
"\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n" +
|
|
"\x04name\x18\x02 \x01(\tR\x04name\x12\x1b\n" +
|
|
"\tclient_id\x18\x03 \x01(\tR\bclientId\x12!\n" +
|
|
"\fplain_secret\x18\x04 \x01(\tR\vplainSecret\x12#\n" +
|
|
"\rredirect_uris\x18\x05 \x03(\tR\fredirectUris\"\xcd\x01\n" +
|
|
"\x0fOauthClientItem\x12\x0e\n" +
|
|
"\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n" +
|
|
"\x04name\x18\x02 \x01(\tR\x04name\x12\x1b\n" +
|
|
"\tclient_id\x18\x03 \x01(\tR\bclientId\x12#\n" +
|
|
"\rredirect_uris\x18\x04 \x03(\tR\fredirectUris\x12%\n" +
|
|
"\vdescription\x18\x05 \x01(\tH\x00R\vdescription\x88\x01\x01\x12\x1d\n" +
|
|
"\n" +
|
|
"created_at\x18\x06 \x01(\x03R\tcreatedAtB\x0e\n" +
|
|
"\f_description\"L\n" +
|
|
"\x1cSystemGetOauthClientsRequest\x12\x14\n" +
|
|
"\x05limit\x18\x01 \x01(\x05R\x05limit\x12\x16\n" +
|
|
"\x06offset\x18\x02 \x01(\x05R\x06offset\"j\n" +
|
|
"\x1dSystemGetOauthClientsResponse\x123\n" +
|
|
"\aclients\x18\x01 \x03(\v2\x19.oauth.v1.OauthClientItemR\aclients\x12\x14\n" +
|
|
"\x05total\x18\x02 \x01(\x05R\x05total\"\xbb\x01\n" +
|
|
"\x1eSystemUpdateOauthClientRequest\x12\x1b\n" +
|
|
"\tclient_id\x18\x01 \x01(\tR\bclientId\x12\x17\n" +
|
|
"\x04name\x18\x02 \x01(\tH\x00R\x04name\x88\x01\x01\x12#\n" +
|
|
"\rredirect_uris\x18\x03 \x03(\tR\fredirectUris\x12%\n" +
|
|
"\vdescription\x18\x04 \x01(\tH\x01R\vdescription\x88\x01\x01B\a\n" +
|
|
"\x05_nameB\x0e\n" +
|
|
"\f_description\";\n" +
|
|
"\x1fSystemUpdateOauthClientResponse\x12\x18\n" +
|
|
"\asuccess\x18\x01 \x01(\bR\asuccess\"<\n" +
|
|
"\x1dSystemResetOauthSecretRequest\x12\x1b\n" +
|
|
"\tclient_id\x18\x01 \x01(\tR\bclientId\"J\n" +
|
|
"\x1eSystemResetOauthSecretResponse\x12(\n" +
|
|
"\x10new_plain_secret\x18\x01 \x01(\tR\x0enewPlainSecret\"=\n" +
|
|
"\x1eSystemDeleteOauthClientRequest\x12\x1b\n" +
|
|
"\tclient_id\x18\x01 \x01(\tR\bclientId\";\n" +
|
|
"\x1fSystemDeleteOauthClientResponse\x12\x18\n" +
|
|
"\asuccess\x18\x01 \x01(\bR\asuccess2\xf1\x05\n" +
|
|
"\fOauthService\x12\\\n" +
|
|
"\x11GenerateOauthCode\x12\".oauth.v1.GenerateOauthCodeRequest\x1a#.oauth.v1.GenerateOauthCodeResponse\x12\\\n" +
|
|
"\x11ExchangeOauthCode\x12\".oauth.v1.ExchangeOauthCodeRequest\x1a#.oauth.v1.ExchangeOauthCodeResponse\x12n\n" +
|
|
"\x17SystemCreateOauthClient\x12(.oauth.v1.SystemCreateOauthClientRequest\x1a).oauth.v1.SystemCreateOauthClientResponse\x12h\n" +
|
|
"\x15SystemGetOauthClients\x12&.oauth.v1.SystemGetOauthClientsRequest\x1a'.oauth.v1.SystemGetOauthClientsResponse\x12n\n" +
|
|
"\x17SystemUpdateOauthClient\x12(.oauth.v1.SystemUpdateOauthClientRequest\x1a).oauth.v1.SystemUpdateOauthClientResponse\x12k\n" +
|
|
"\x16SystemResetOauthSecret\x12'.oauth.v1.SystemResetOauthSecretRequest\x1a(.oauth.v1.SystemResetOauthSecretResponse\x12n\n" +
|
|
"\x17SystemDeleteOauthClient\x12(.oauth.v1.SystemDeleteOauthClientRequest\x1a).oauth.v1.SystemDeleteOauthClientResponseB*Z(git.lendry.ru/lendry-erp/proto.git/go;pbb\x06proto3"
|
|
|
|
var (
|
|
file_sso_oauth_proto_rawDescOnce sync.Once
|
|
file_sso_oauth_proto_rawDescData []byte
|
|
)
|
|
|
|
func file_sso_oauth_proto_rawDescGZIP() []byte {
|
|
file_sso_oauth_proto_rawDescOnce.Do(func() {
|
|
file_sso_oauth_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_sso_oauth_proto_rawDesc), len(file_sso_oauth_proto_rawDesc)))
|
|
})
|
|
return file_sso_oauth_proto_rawDescData
|
|
}
|
|
|
|
var file_sso_oauth_proto_msgTypes = make([]protoimpl.MessageInfo, 15)
|
|
var file_sso_oauth_proto_goTypes = []any{
|
|
(*GenerateOauthCodeRequest)(nil), // 0: oauth.v1.GenerateOauthCodeRequest
|
|
(*GenerateOauthCodeResponse)(nil), // 1: oauth.v1.GenerateOauthCodeResponse
|
|
(*ExchangeOauthCodeRequest)(nil), // 2: oauth.v1.ExchangeOauthCodeRequest
|
|
(*ExchangeOauthCodeResponse)(nil), // 3: oauth.v1.ExchangeOauthCodeResponse
|
|
(*SystemCreateOauthClientRequest)(nil), // 4: oauth.v1.SystemCreateOauthClientRequest
|
|
(*SystemCreateOauthClientResponse)(nil), // 5: oauth.v1.SystemCreateOauthClientResponse
|
|
(*OauthClientItem)(nil), // 6: oauth.v1.OauthClientItem
|
|
(*SystemGetOauthClientsRequest)(nil), // 7: oauth.v1.SystemGetOauthClientsRequest
|
|
(*SystemGetOauthClientsResponse)(nil), // 8: oauth.v1.SystemGetOauthClientsResponse
|
|
(*SystemUpdateOauthClientRequest)(nil), // 9: oauth.v1.SystemUpdateOauthClientRequest
|
|
(*SystemUpdateOauthClientResponse)(nil), // 10: oauth.v1.SystemUpdateOauthClientResponse
|
|
(*SystemResetOauthSecretRequest)(nil), // 11: oauth.v1.SystemResetOauthSecretRequest
|
|
(*SystemResetOauthSecretResponse)(nil), // 12: oauth.v1.SystemResetOauthSecretResponse
|
|
(*SystemDeleteOauthClientRequest)(nil), // 13: oauth.v1.SystemDeleteOauthClientRequest
|
|
(*SystemDeleteOauthClientResponse)(nil), // 14: oauth.v1.SystemDeleteOauthClientResponse
|
|
}
|
|
var file_sso_oauth_proto_depIdxs = []int32{
|
|
6, // 0: oauth.v1.SystemGetOauthClientsResponse.clients:type_name -> oauth.v1.OauthClientItem
|
|
0, // 1: oauth.v1.OauthService.GenerateOauthCode:input_type -> oauth.v1.GenerateOauthCodeRequest
|
|
2, // 2: oauth.v1.OauthService.ExchangeOauthCode:input_type -> oauth.v1.ExchangeOauthCodeRequest
|
|
4, // 3: oauth.v1.OauthService.SystemCreateOauthClient:input_type -> oauth.v1.SystemCreateOauthClientRequest
|
|
7, // 4: oauth.v1.OauthService.SystemGetOauthClients:input_type -> oauth.v1.SystemGetOauthClientsRequest
|
|
9, // 5: oauth.v1.OauthService.SystemUpdateOauthClient:input_type -> oauth.v1.SystemUpdateOauthClientRequest
|
|
11, // 6: oauth.v1.OauthService.SystemResetOauthSecret:input_type -> oauth.v1.SystemResetOauthSecretRequest
|
|
13, // 7: oauth.v1.OauthService.SystemDeleteOauthClient:input_type -> oauth.v1.SystemDeleteOauthClientRequest
|
|
1, // 8: oauth.v1.OauthService.GenerateOauthCode:output_type -> oauth.v1.GenerateOauthCodeResponse
|
|
3, // 9: oauth.v1.OauthService.ExchangeOauthCode:output_type -> oauth.v1.ExchangeOauthCodeResponse
|
|
5, // 10: oauth.v1.OauthService.SystemCreateOauthClient:output_type -> oauth.v1.SystemCreateOauthClientResponse
|
|
8, // 11: oauth.v1.OauthService.SystemGetOauthClients:output_type -> oauth.v1.SystemGetOauthClientsResponse
|
|
10, // 12: oauth.v1.OauthService.SystemUpdateOauthClient:output_type -> oauth.v1.SystemUpdateOauthClientResponse
|
|
12, // 13: oauth.v1.OauthService.SystemResetOauthSecret:output_type -> oauth.v1.SystemResetOauthSecretResponse
|
|
14, // 14: oauth.v1.OauthService.SystemDeleteOauthClient:output_type -> oauth.v1.SystemDeleteOauthClientResponse
|
|
8, // [8:15] is the sub-list for method output_type
|
|
1, // [1:8] 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_oauth_proto_init() }
|
|
func file_sso_oauth_proto_init() {
|
|
if File_sso_oauth_proto != nil {
|
|
return
|
|
}
|
|
file_sso_oauth_proto_msgTypes[4].OneofWrappers = []any{}
|
|
file_sso_oauth_proto_msgTypes[6].OneofWrappers = []any{}
|
|
file_sso_oauth_proto_msgTypes[9].OneofWrappers = []any{}
|
|
type x struct{}
|
|
out := protoimpl.TypeBuilder{
|
|
File: protoimpl.DescBuilder{
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
RawDescriptor: unsafe.Slice(unsafe.StringData(file_sso_oauth_proto_rawDesc), len(file_sso_oauth_proto_rawDesc)),
|
|
NumEnums: 0,
|
|
NumMessages: 15,
|
|
NumExtensions: 0,
|
|
NumServices: 1,
|
|
},
|
|
GoTypes: file_sso_oauth_proto_goTypes,
|
|
DependencyIndexes: file_sso_oauth_proto_depIdxs,
|
|
MessageInfos: file_sso_oauth_proto_msgTypes,
|
|
}.Build()
|
|
File_sso_oauth_proto = out.File
|
|
file_sso_oauth_proto_goTypes = nil
|
|
file_sso_oauth_proto_depIdxs = nil
|
|
}
|