// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// 	protoc-gen-go v1.36.9
// 	protoc        (unknown)
// source: powerx/auth/sts/v1/sts.proto

// STS - Security Token Service

package stsv1

import (
	v1 "github.com/ArtisanCloud/PowerX/api/grpc/gen/go/common/v1"
	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 ActorKind int32

const (
	ActorKind_ACTOR_KIND_UNSPECIFIED ActorKind = 0
	ActorKind_ACTOR_KIND_USER        ActorKind = 1 // 企业内部用户/员工
	ActorKind_ACTOR_KIND_CUSTOMER    ActorKind = 2 // 客户/会员（member）
	ActorKind_ACTOR_KIND_SUPPLIER    ActorKind = 3 // 第三方渠道/供应商
)

// Enum value maps for ActorKind.
var (
	ActorKind_name = map[int32]string{
		0: "ACTOR_KIND_UNSPECIFIED",
		1: "ACTOR_KIND_USER",
		2: "ACTOR_KIND_CUSTOMER",
		3: "ACTOR_KIND_SUPPLIER",
	}
	ActorKind_value = map[string]int32{
		"ACTOR_KIND_UNSPECIFIED": 0,
		"ACTOR_KIND_USER":        1,
		"ACTOR_KIND_CUSTOMER":    2,
		"ACTOR_KIND_SUPPLIER":    3,
	}
)

func (x ActorKind) Enum() *ActorKind {
	p := new(ActorKind)
	*p = x
	return p
}

func (x ActorKind) String() string {
	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}

func (ActorKind) Descriptor() protoreflect.EnumDescriptor {
	return file_powerx_auth_sts_v1_sts_proto_enumTypes[0].Descriptor()
}

func (ActorKind) Type() protoreflect.EnumType {
	return &file_powerx_auth_sts_v1_sts_proto_enumTypes[0]
}

func (x ActorKind) Number() protoreflect.EnumNumber {
	return protoreflect.EnumNumber(x)
}

// Deprecated: Use ActorKind.Descriptor instead.
func (ActorKind) EnumDescriptor() ([]byte, []int) {
	return file_powerx_auth_sts_v1_sts_proto_rawDescGZIP(), []int{0}
}

type Actor struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Kind          ActorKind              `protobuf:"varint,1,opt,name=kind,proto3,enum=powerx.auth.sts.v1.ActorKind" json:"kind,omitempty"`
	TenantId      uint64                 `protobuf:"varint,2,opt,name=tenant_id,json=tenantId,proto3" json:"tenant_id,omitempty"`                                                               // RLS
	UserId        uint64                 `protobuf:"varint,3,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`                                                                     // kind=USER 时
	MemberId      uint64                 `protobuf:"varint,4,opt,name=member_id,json=memberId,proto3" json:"member_id,omitempty"`                                                               // kind=CUSTOMER 时
	SupplierId    uint64                 `protobuf:"varint,5,opt,name=supplier_id,json=supplierId,proto3" json:"supplier_id,omitempty"`                                                         // kind=SUPPLIER 时（可先不映射到 CoreXClaims，用 attributes 承载）
	Attributes    map[string]string      `protobuf:"bytes,10,rep,name=attributes,proto3" json:"attributes,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` // 其他上下文（locale、channel 等）
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *Actor) Reset() {
	*x = Actor{}
	mi := &file_powerx_auth_sts_v1_sts_proto_msgTypes[0]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *Actor) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*Actor) ProtoMessage() {}

func (x *Actor) ProtoReflect() protoreflect.Message {
	mi := &file_powerx_auth_sts_v1_sts_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 Actor.ProtoReflect.Descriptor instead.
func (*Actor) Descriptor() ([]byte, []int) {
	return file_powerx_auth_sts_v1_sts_proto_rawDescGZIP(), []int{0}
}

func (x *Actor) GetKind() ActorKind {
	if x != nil {
		return x.Kind
	}
	return ActorKind_ACTOR_KIND_UNSPECIFIED
}

func (x *Actor) GetTenantId() uint64 {
	if x != nil {
		return x.TenantId
	}
	return 0
}

func (x *Actor) GetUserId() uint64 {
	if x != nil {
		return x.UserId
	}
	return 0
}

func (x *Actor) GetMemberId() uint64 {
	if x != nil {
		return x.MemberId
	}
	return 0
}

func (x *Actor) GetSupplierId() uint64 {
	if x != nil {
		return x.SupplierId
	}
	return 0
}

func (x *Actor) GetAttributes() map[string]string {
	if x != nil {
		return x.Attributes
	}
	return nil
}

type ExchangeRequest struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	Ctx   *v1.RequestContext     `protobuf:"bytes,1,opt,name=ctx,proto3" json:"ctx,omitempty"`
	// 主体凭证（二选一）
	SubjectToken string `protobuf:"bytes,10,opt,name=subject_token,json=subjectToken,proto3" json:"subject_token,omitempty"`
	ClientId     string `protobuf:"bytes,11,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"`
	ClientSecret string `protobuf:"bytes,12,opt,name=client_secret,json=clientSecret,proto3" json:"client_secret,omitempty"`
	// 目标受众 / 范围 / TTL
	Audience   string `protobuf:"bytes,20,opt,name=audience,proto3" json:"audience,omitempty"` // 默认: powerx:api
	Scope      string `protobuf:"bytes,21,opt,name=scope,proto3" json:"scope,omitempty"`
	TtlSeconds int32  `protobuf:"varint,22,opt,name=ttl_seconds,json=ttlSeconds,proto3" json:"ttl_seconds,omitempty"` // 默认: 300
	// 代办主体
	Actor         *Actor `protobuf:"bytes,30,opt,name=actor,proto3" json:"actor,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *ExchangeRequest) Reset() {
	*x = ExchangeRequest{}
	mi := &file_powerx_auth_sts_v1_sts_proto_msgTypes[1]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *ExchangeRequest) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*ExchangeRequest) ProtoMessage() {}

func (x *ExchangeRequest) ProtoReflect() protoreflect.Message {
	mi := &file_powerx_auth_sts_v1_sts_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 ExchangeRequest.ProtoReflect.Descriptor instead.
func (*ExchangeRequest) Descriptor() ([]byte, []int) {
	return file_powerx_auth_sts_v1_sts_proto_rawDescGZIP(), []int{1}
}

func (x *ExchangeRequest) GetCtx() *v1.RequestContext {
	if x != nil {
		return x.Ctx
	}
	return nil
}

func (x *ExchangeRequest) GetSubjectToken() string {
	if x != nil {
		return x.SubjectToken
	}
	return ""
}

func (x *ExchangeRequest) GetClientId() string {
	if x != nil {
		return x.ClientId
	}
	return ""
}

func (x *ExchangeRequest) GetClientSecret() string {
	if x != nil {
		return x.ClientSecret
	}
	return ""
}

func (x *ExchangeRequest) GetAudience() string {
	if x != nil {
		return x.Audience
	}
	return ""
}

func (x *ExchangeRequest) GetScope() string {
	if x != nil {
		return x.Scope
	}
	return ""
}

func (x *ExchangeRequest) GetTtlSeconds() int32 {
	if x != nil {
		return x.TtlSeconds
	}
	return 0
}

func (x *ExchangeRequest) GetActor() *Actor {
	if x != nil {
		return x.Actor
	}
	return nil
}

type ExchangeData struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	AccessToken   string                 `protobuf:"bytes,1,opt,name=access_token,json=accessToken,proto3" json:"access_token,omitempty"`
	TokenType     string                 `protobuf:"bytes,2,opt,name=token_type,json=tokenType,proto3" json:"token_type,omitempty"`
	ExpiresIn     int64                  `protobuf:"varint,3,opt,name=expires_in,json=expiresIn,proto3" json:"expires_in,omitempty"`
	Audience      string                 `protobuf:"bytes,4,opt,name=audience,proto3" json:"audience,omitempty"`
	Scope         string                 `protobuf:"bytes,5,opt,name=scope,proto3" json:"scope,omitempty"`
	Issuer        string                 `protobuf:"bytes,6,opt,name=issuer,proto3" json:"issuer,omitempty"`
	Subject       string                 `protobuf:"bytes,7,opt,name=subject,proto3" json:"subject,omitempty"` // plugin client_id 或上游 subject
	IssuedAt      int64                  `protobuf:"varint,8,opt,name=issued_at,json=issuedAt,proto3" json:"issued_at,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *ExchangeData) Reset() {
	*x = ExchangeData{}
	mi := &file_powerx_auth_sts_v1_sts_proto_msgTypes[2]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *ExchangeData) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*ExchangeData) ProtoMessage() {}

func (x *ExchangeData) ProtoReflect() protoreflect.Message {
	mi := &file_powerx_auth_sts_v1_sts_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 ExchangeData.ProtoReflect.Descriptor instead.
func (*ExchangeData) Descriptor() ([]byte, []int) {
	return file_powerx_auth_sts_v1_sts_proto_rawDescGZIP(), []int{2}
}

func (x *ExchangeData) GetAccessToken() string {
	if x != nil {
		return x.AccessToken
	}
	return ""
}

func (x *ExchangeData) GetTokenType() string {
	if x != nil {
		return x.TokenType
	}
	return ""
}

func (x *ExchangeData) GetExpiresIn() int64 {
	if x != nil {
		return x.ExpiresIn
	}
	return 0
}

func (x *ExchangeData) GetAudience() string {
	if x != nil {
		return x.Audience
	}
	return ""
}

func (x *ExchangeData) GetScope() string {
	if x != nil {
		return x.Scope
	}
	return ""
}

func (x *ExchangeData) GetIssuer() string {
	if x != nil {
		return x.Issuer
	}
	return ""
}

func (x *ExchangeData) GetSubject() string {
	if x != nil {
		return x.Subject
	}
	return ""
}

func (x *ExchangeData) GetIssuedAt() int64 {
	if x != nil {
		return x.IssuedAt
	}
	return 0
}

type ExchangeResponse struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Meta          *v1.ResponseMeta       `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
	Data          *ExchangeData          `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *ExchangeResponse) Reset() {
	*x = ExchangeResponse{}
	mi := &file_powerx_auth_sts_v1_sts_proto_msgTypes[3]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *ExchangeResponse) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*ExchangeResponse) ProtoMessage() {}

func (x *ExchangeResponse) ProtoReflect() protoreflect.Message {
	mi := &file_powerx_auth_sts_v1_sts_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 ExchangeResponse.ProtoReflect.Descriptor instead.
func (*ExchangeResponse) Descriptor() ([]byte, []int) {
	return file_powerx_auth_sts_v1_sts_proto_rawDescGZIP(), []int{3}
}

func (x *ExchangeResponse) GetMeta() *v1.ResponseMeta {
	if x != nil {
		return x.Meta
	}
	return nil
}

func (x *ExchangeResponse) GetData() *ExchangeData {
	if x != nil {
		return x.Data
	}
	return nil
}

type IntrospectRequest struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	AccessToken   string                 `protobuf:"bytes,1,opt,name=access_token,json=accessToken,proto3" json:"access_token,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *IntrospectRequest) Reset() {
	*x = IntrospectRequest{}
	mi := &file_powerx_auth_sts_v1_sts_proto_msgTypes[4]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *IntrospectRequest) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*IntrospectRequest) ProtoMessage() {}

func (x *IntrospectRequest) ProtoReflect() protoreflect.Message {
	mi := &file_powerx_auth_sts_v1_sts_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 IntrospectRequest.ProtoReflect.Descriptor instead.
func (*IntrospectRequest) Descriptor() ([]byte, []int) {
	return file_powerx_auth_sts_v1_sts_proto_rawDescGZIP(), []int{4}
}

func (x *IntrospectRequest) GetAccessToken() string {
	if x != nil {
		return x.AccessToken
	}
	return ""
}

type IntrospectData struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Active        bool                   `protobuf:"varint,1,opt,name=active,proto3" json:"active,omitempty"`
	Audience      string                 `protobuf:"bytes,2,opt,name=audience,proto3" json:"audience,omitempty"`
	Issuer        string                 `protobuf:"bytes,3,opt,name=issuer,proto3" json:"issuer,omitempty"`
	Subject       string                 `protobuf:"bytes,4,opt,name=subject,proto3" json:"subject,omitempty"`
	Exp           int64                  `protobuf:"varint,5,opt,name=exp,proto3" json:"exp,omitempty"`
	Scope         string                 `protobuf:"bytes,6,opt,name=scope,proto3" json:"scope,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *IntrospectData) Reset() {
	*x = IntrospectData{}
	mi := &file_powerx_auth_sts_v1_sts_proto_msgTypes[5]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *IntrospectData) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*IntrospectData) ProtoMessage() {}

func (x *IntrospectData) ProtoReflect() protoreflect.Message {
	mi := &file_powerx_auth_sts_v1_sts_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 IntrospectData.ProtoReflect.Descriptor instead.
func (*IntrospectData) Descriptor() ([]byte, []int) {
	return file_powerx_auth_sts_v1_sts_proto_rawDescGZIP(), []int{5}
}

func (x *IntrospectData) GetActive() bool {
	if x != nil {
		return x.Active
	}
	return false
}

func (x *IntrospectData) GetAudience() string {
	if x != nil {
		return x.Audience
	}
	return ""
}

func (x *IntrospectData) GetIssuer() string {
	if x != nil {
		return x.Issuer
	}
	return ""
}

func (x *IntrospectData) GetSubject() string {
	if x != nil {
		return x.Subject
	}
	return ""
}

func (x *IntrospectData) GetExp() int64 {
	if x != nil {
		return x.Exp
	}
	return 0
}

func (x *IntrospectData) GetScope() string {
	if x != nil {
		return x.Scope
	}
	return ""
}

type IntrospectResponse struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Meta          *v1.ResponseMeta       `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
	Data          *IntrospectData        `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *IntrospectResponse) Reset() {
	*x = IntrospectResponse{}
	mi := &file_powerx_auth_sts_v1_sts_proto_msgTypes[6]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *IntrospectResponse) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*IntrospectResponse) ProtoMessage() {}

func (x *IntrospectResponse) ProtoReflect() protoreflect.Message {
	mi := &file_powerx_auth_sts_v1_sts_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 IntrospectResponse.ProtoReflect.Descriptor instead.
func (*IntrospectResponse) Descriptor() ([]byte, []int) {
	return file_powerx_auth_sts_v1_sts_proto_rawDescGZIP(), []int{6}
}

func (x *IntrospectResponse) GetMeta() *v1.ResponseMeta {
	if x != nil {
		return x.Meta
	}
	return nil
}

func (x *IntrospectResponse) GetData() *IntrospectData {
	if x != nil {
		return x.Data
	}
	return nil
}

var File_powerx_auth_sts_v1_sts_proto protoreflect.FileDescriptor

const file_powerx_auth_sts_v1_sts_proto_rawDesc = "" +
	"\n" +
	"\x1cpowerx/auth/sts/v1/sts.proto\x12\x12powerx.auth.sts.v1\x1a\x17common/v1/context.proto\x1a\x18common/v1/response.proto\"\xb8\x02\n" +
	"\x05Actor\x121\n" +
	"\x04kind\x18\x01 \x01(\x0e2\x1d.powerx.auth.sts.v1.ActorKindR\x04kind\x12\x1b\n" +
	"\ttenant_id\x18\x02 \x01(\x04R\btenantId\x12\x17\n" +
	"\auser_id\x18\x03 \x01(\x04R\x06userId\x12\x1b\n" +
	"\tmember_id\x18\x04 \x01(\x04R\bmemberId\x12\x1f\n" +
	"\vsupplier_id\x18\x05 \x01(\x04R\n" +
	"supplierId\x12I\n" +
	"\n" +
	"attributes\x18\n" +
	" \x03(\v2).powerx.auth.sts.v1.Actor.AttributesEntryR\n" +
	"attributes\x1a=\n" +
	"\x0fAttributesEntry\x12\x10\n" +
	"\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" +
	"\x05value\x18\x02 \x01(\tR\x05value:\x028\x01\"\xa9\x02\n" +
	"\x0fExchangeRequest\x12+\n" +
	"\x03ctx\x18\x01 \x01(\v2\x19.common.v1.RequestContextR\x03ctx\x12#\n" +
	"\rsubject_token\x18\n" +
	" \x01(\tR\fsubjectToken\x12\x1b\n" +
	"\tclient_id\x18\v \x01(\tR\bclientId\x12#\n" +
	"\rclient_secret\x18\f \x01(\tR\fclientSecret\x12\x1a\n" +
	"\baudience\x18\x14 \x01(\tR\baudience\x12\x14\n" +
	"\x05scope\x18\x15 \x01(\tR\x05scope\x12\x1f\n" +
	"\vttl_seconds\x18\x16 \x01(\x05R\n" +
	"ttlSeconds\x12/\n" +
	"\x05actor\x18\x1e \x01(\v2\x19.powerx.auth.sts.v1.ActorR\x05actor\"\xf0\x01\n" +
	"\fExchangeData\x12!\n" +
	"\faccess_token\x18\x01 \x01(\tR\vaccessToken\x12\x1d\n" +
	"\n" +
	"token_type\x18\x02 \x01(\tR\ttokenType\x12\x1d\n" +
	"\n" +
	"expires_in\x18\x03 \x01(\x03R\texpiresIn\x12\x1a\n" +
	"\baudience\x18\x04 \x01(\tR\baudience\x12\x14\n" +
	"\x05scope\x18\x05 \x01(\tR\x05scope\x12\x16\n" +
	"\x06issuer\x18\x06 \x01(\tR\x06issuer\x12\x18\n" +
	"\asubject\x18\a \x01(\tR\asubject\x12\x1b\n" +
	"\tissued_at\x18\b \x01(\x03R\bissuedAt\"u\n" +
	"\x10ExchangeResponse\x12+\n" +
	"\x04meta\x18\x01 \x01(\v2\x17.common.v1.ResponseMetaR\x04meta\x124\n" +
	"\x04data\x18\x02 \x01(\v2 .powerx.auth.sts.v1.ExchangeDataR\x04data\"6\n" +
	"\x11IntrospectRequest\x12!\n" +
	"\faccess_token\x18\x01 \x01(\tR\vaccessToken\"\x9e\x01\n" +
	"\x0eIntrospectData\x12\x16\n" +
	"\x06active\x18\x01 \x01(\bR\x06active\x12\x1a\n" +
	"\baudience\x18\x02 \x01(\tR\baudience\x12\x16\n" +
	"\x06issuer\x18\x03 \x01(\tR\x06issuer\x12\x18\n" +
	"\asubject\x18\x04 \x01(\tR\asubject\x12\x10\n" +
	"\x03exp\x18\x05 \x01(\x03R\x03exp\x12\x14\n" +
	"\x05scope\x18\x06 \x01(\tR\x05scope\"y\n" +
	"\x12IntrospectResponse\x12+\n" +
	"\x04meta\x18\x01 \x01(\v2\x17.common.v1.ResponseMetaR\x04meta\x126\n" +
	"\x04data\x18\x02 \x01(\v2\".powerx.auth.sts.v1.IntrospectDataR\x04data*n\n" +
	"\tActorKind\x12\x1a\n" +
	"\x16ACTOR_KIND_UNSPECIFIED\x10\x00\x12\x13\n" +
	"\x0fACTOR_KIND_USER\x10\x01\x12\x17\n" +
	"\x13ACTOR_KIND_CUSTOMER\x10\x02\x12\x17\n" +
	"\x13ACTOR_KIND_SUPPLIER\x10\x032\xc0\x01\n" +
	"\n" +
	"STSService\x12U\n" +
	"\bExchange\x12#.powerx.auth.sts.v1.ExchangeRequest\x1a$.powerx.auth.sts.v1.ExchangeResponse\x12[\n" +
	"\n" +
	"Introspect\x12%.powerx.auth.sts.v1.IntrospectRequest\x1a&.powerx.auth.sts.v1.IntrospectResponseB\xae\x01\n" +
	"\x16com.powerx.auth.sts.v1P\x01ZGgithub.com/ArtisanCloud/PowerX/api/grpc/gen/go/powerx/auth/sts/v1;stsv1\xaa\x02\x12PowerX.Auth.STS.V1\xca\x02\x12PowerX\\Auth\\STS\\V1\xe2\x02\x1eGPBMetadata\\PowerX\\Auth\\STS\\V1b\x06proto3"

var (
	file_powerx_auth_sts_v1_sts_proto_rawDescOnce sync.Once
	file_powerx_auth_sts_v1_sts_proto_rawDescData []byte
)

func file_powerx_auth_sts_v1_sts_proto_rawDescGZIP() []byte {
	file_powerx_auth_sts_v1_sts_proto_rawDescOnce.Do(func() {
		file_powerx_auth_sts_v1_sts_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_powerx_auth_sts_v1_sts_proto_rawDesc), len(file_powerx_auth_sts_v1_sts_proto_rawDesc)))
	})
	return file_powerx_auth_sts_v1_sts_proto_rawDescData
}

var file_powerx_auth_sts_v1_sts_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
var file_powerx_auth_sts_v1_sts_proto_msgTypes = make([]protoimpl.MessageInfo, 8)
var file_powerx_auth_sts_v1_sts_proto_goTypes = []any{
	(ActorKind)(0),             // 0: powerx.auth.sts.v1.ActorKind
	(*Actor)(nil),              // 1: powerx.auth.sts.v1.Actor
	(*ExchangeRequest)(nil),    // 2: powerx.auth.sts.v1.ExchangeRequest
	(*ExchangeData)(nil),       // 3: powerx.auth.sts.v1.ExchangeData
	(*ExchangeResponse)(nil),   // 4: powerx.auth.sts.v1.ExchangeResponse
	(*IntrospectRequest)(nil),  // 5: powerx.auth.sts.v1.IntrospectRequest
	(*IntrospectData)(nil),     // 6: powerx.auth.sts.v1.IntrospectData
	(*IntrospectResponse)(nil), // 7: powerx.auth.sts.v1.IntrospectResponse
	nil,                        // 8: powerx.auth.sts.v1.Actor.AttributesEntry
	(*v1.RequestContext)(nil),  // 9: common.v1.RequestContext
	(*v1.ResponseMeta)(nil),    // 10: common.v1.ResponseMeta
}
var file_powerx_auth_sts_v1_sts_proto_depIdxs = []int32{
	0,  // 0: powerx.auth.sts.v1.Actor.kind:type_name -> powerx.auth.sts.v1.ActorKind
	8,  // 1: powerx.auth.sts.v1.Actor.attributes:type_name -> powerx.auth.sts.v1.Actor.AttributesEntry
	9,  // 2: powerx.auth.sts.v1.ExchangeRequest.ctx:type_name -> common.v1.RequestContext
	1,  // 3: powerx.auth.sts.v1.ExchangeRequest.actor:type_name -> powerx.auth.sts.v1.Actor
	10, // 4: powerx.auth.sts.v1.ExchangeResponse.meta:type_name -> common.v1.ResponseMeta
	3,  // 5: powerx.auth.sts.v1.ExchangeResponse.data:type_name -> powerx.auth.sts.v1.ExchangeData
	10, // 6: powerx.auth.sts.v1.IntrospectResponse.meta:type_name -> common.v1.ResponseMeta
	6,  // 7: powerx.auth.sts.v1.IntrospectResponse.data:type_name -> powerx.auth.sts.v1.IntrospectData
	2,  // 8: powerx.auth.sts.v1.STSService.Exchange:input_type -> powerx.auth.sts.v1.ExchangeRequest
	5,  // 9: powerx.auth.sts.v1.STSService.Introspect:input_type -> powerx.auth.sts.v1.IntrospectRequest
	4,  // 10: powerx.auth.sts.v1.STSService.Exchange:output_type -> powerx.auth.sts.v1.ExchangeResponse
	7,  // 11: powerx.auth.sts.v1.STSService.Introspect:output_type -> powerx.auth.sts.v1.IntrospectResponse
	10, // [10:12] is the sub-list for method output_type
	8,  // [8:10] is the sub-list for method input_type
	8,  // [8:8] is the sub-list for extension type_name
	8,  // [8:8] is the sub-list for extension extendee
	0,  // [0:8] is the sub-list for field type_name
}

func init() { file_powerx_auth_sts_v1_sts_proto_init() }
func file_powerx_auth_sts_v1_sts_proto_init() {
	if File_powerx_auth_sts_v1_sts_proto != nil {
		return
	}
	type x struct{}
	out := protoimpl.TypeBuilder{
		File: protoimpl.DescBuilder{
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
			RawDescriptor: unsafe.Slice(unsafe.StringData(file_powerx_auth_sts_v1_sts_proto_rawDesc), len(file_powerx_auth_sts_v1_sts_proto_rawDesc)),
			NumEnums:      1,
			NumMessages:   8,
			NumExtensions: 0,
			NumServices:   1,
		},
		GoTypes:           file_powerx_auth_sts_v1_sts_proto_goTypes,
		DependencyIndexes: file_powerx_auth_sts_v1_sts_proto_depIdxs,
		EnumInfos:         file_powerx_auth_sts_v1_sts_proto_enumTypes,
		MessageInfos:      file_powerx_auth_sts_v1_sts_proto_msgTypes,
	}.Build()
	File_powerx_auth_sts_v1_sts_proto = out.File
	file_powerx_auth_sts_v1_sts_proto_goTypes = nil
	file_powerx_auth_sts_v1_sts_proto_depIdxs = nil
}
