You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
748 lines
25 KiB
748 lines
25 KiB
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// versions:
|
|
// protoc-gen-go v1.30.0
|
|
// protoc v3.21.12
|
|
// source: okapi-onboarding.proto
|
|
|
|
package okapi
|
|
|
|
import (
|
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
|
reflect "reflect"
|
|
sync "sync"
|
|
)
|
|
|
|
const (
|
|
// Verify that this generated code is sufficiently up-to-date.
|
|
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
|
|
// Verify that runtime/protoimpl is sufficiently up-to-date.
|
|
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
|
)
|
|
|
|
type XISAuthMethod int32
|
|
|
|
const (
|
|
XISAuthMethod_mTLS XISAuthMethod = 0
|
|
)
|
|
|
|
// Enum value maps for XISAuthMethod.
|
|
var (
|
|
XISAuthMethod_name = map[int32]string{
|
|
0: "mTLS",
|
|
}
|
|
XISAuthMethod_value = map[string]int32{
|
|
"mTLS": 0,
|
|
}
|
|
)
|
|
|
|
func (x XISAuthMethod) Enum() *XISAuthMethod {
|
|
p := new(XISAuthMethod)
|
|
*p = x
|
|
return p
|
|
}
|
|
|
|
func (x XISAuthMethod) String() string {
|
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
}
|
|
|
|
func (XISAuthMethod) Descriptor() protoreflect.EnumDescriptor {
|
|
return file_okapi_onboarding_proto_enumTypes[0].Descriptor()
|
|
}
|
|
|
|
func (XISAuthMethod) Type() protoreflect.EnumType {
|
|
return &file_okapi_onboarding_proto_enumTypes[0]
|
|
}
|
|
|
|
func (x XISAuthMethod) Number() protoreflect.EnumNumber {
|
|
return protoreflect.EnumNumber(x)
|
|
}
|
|
|
|
// Deprecated: Use XISAuthMethod.Descriptor instead.
|
|
func (XISAuthMethod) EnumDescriptor() ([]byte, []int) {
|
|
return file_okapi_onboarding_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
type MTLSConfigurationParams struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// JWK (RFC 7517) presentatie van publieke sleutel van het
|
|
// client certificaat dat gebruikt gaat worden voor het opzetten
|
|
// van de verbinding.
|
|
// Voorbeeld: "{\"crv\":\"P-256\",\"kty\":\"EC\",\"x\":\"PZlyqX3X...\", \"y\":\"AawwPSKBt...\"}"
|
|
PublicKey string `protobuf:"bytes,1,opt,name=publicKey,proto3" json:"publicKey,omitempty"`
|
|
}
|
|
|
|
func (x *MTLSConfigurationParams) Reset() {
|
|
*x = MTLSConfigurationParams{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_okapi_onboarding_proto_msgTypes[0]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *MTLSConfigurationParams) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*MTLSConfigurationParams) ProtoMessage() {}
|
|
|
|
func (x *MTLSConfigurationParams) ProtoReflect() protoreflect.Message {
|
|
mi := &file_okapi_onboarding_proto_msgTypes[0]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use MTLSConfigurationParams.ProtoReflect.Descriptor instead.
|
|
func (*MTLSConfigurationParams) Descriptor() ([]byte, []int) {
|
|
return file_okapi_onboarding_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
func (x *MTLSConfigurationParams) GetPublicKey() string {
|
|
if x != nil {
|
|
return x.PublicKey
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type XISAuthConfiguration struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Method XISAuthMethod `protobuf:"varint,1,opt,name=method,proto3,enum=XISAuthMethod" json:"method,omitempty"`
|
|
// Types that are assignable to Configuration:
|
|
//
|
|
// *XISAuthConfiguration_MtlsConfiguration
|
|
Configuration isXISAuthConfiguration_Configuration `protobuf_oneof:"configuration"`
|
|
}
|
|
|
|
func (x *XISAuthConfiguration) Reset() {
|
|
*x = XISAuthConfiguration{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_okapi_onboarding_proto_msgTypes[1]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *XISAuthConfiguration) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*XISAuthConfiguration) ProtoMessage() {}
|
|
|
|
func (x *XISAuthConfiguration) ProtoReflect() protoreflect.Message {
|
|
mi := &file_okapi_onboarding_proto_msgTypes[1]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use XISAuthConfiguration.ProtoReflect.Descriptor instead.
|
|
func (*XISAuthConfiguration) Descriptor() ([]byte, []int) {
|
|
return file_okapi_onboarding_proto_rawDescGZIP(), []int{1}
|
|
}
|
|
|
|
func (x *XISAuthConfiguration) GetMethod() XISAuthMethod {
|
|
if x != nil {
|
|
return x.Method
|
|
}
|
|
return XISAuthMethod_mTLS
|
|
}
|
|
|
|
func (m *XISAuthConfiguration) GetConfiguration() isXISAuthConfiguration_Configuration {
|
|
if m != nil {
|
|
return m.Configuration
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *XISAuthConfiguration) GetMtlsConfiguration() *MTLSConfigurationParams {
|
|
if x, ok := x.GetConfiguration().(*XISAuthConfiguration_MtlsConfiguration); ok {
|
|
return x.MtlsConfiguration
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type isXISAuthConfiguration_Configuration interface {
|
|
isXISAuthConfiguration_Configuration()
|
|
}
|
|
|
|
type XISAuthConfiguration_MtlsConfiguration struct {
|
|
MtlsConfiguration *MTLSConfigurationParams `protobuf:"bytes,2,opt,name=mtlsConfiguration,proto3,oneof"`
|
|
}
|
|
|
|
func (*XISAuthConfiguration_MtlsConfiguration) isXISAuthConfiguration_Configuration() {}
|
|
|
|
type GetMetadataRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
}
|
|
|
|
func (x *GetMetadataRequest) Reset() {
|
|
*x = GetMetadataRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_okapi_onboarding_proto_msgTypes[2]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *GetMetadataRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetMetadataRequest) ProtoMessage() {}
|
|
|
|
func (x *GetMetadataRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_okapi_onboarding_proto_msgTypes[2]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetMetadataRequest.ProtoReflect.Descriptor instead.
|
|
func (*GetMetadataRequest) Descriptor() ([]byte, []int) {
|
|
return file_okapi_onboarding_proto_rawDescGZIP(), []int{2}
|
|
}
|
|
|
|
type GetMetadataResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
SupplierFormalName string `protobuf:"bytes,1,opt,name=supplierFormalName,proto3" json:"supplierFormalName,omitempty"`
|
|
SupplierDisplayName string `protobuf:"bytes,2,opt,name=supplierDisplayName,proto3" json:"supplierDisplayName,omitempty"`
|
|
ProductName string `protobuf:"bytes,3,opt,name=productName,proto3" json:"productName,omitempty"`
|
|
Version string `protobuf:"bytes,4,opt,name=version,proto3" json:"version,omitempty"`
|
|
}
|
|
|
|
func (x *GetMetadataResponse) Reset() {
|
|
*x = GetMetadataResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_okapi_onboarding_proto_msgTypes[3]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *GetMetadataResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetMetadataResponse) ProtoMessage() {}
|
|
|
|
func (x *GetMetadataResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_okapi_onboarding_proto_msgTypes[3]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetMetadataResponse.ProtoReflect.Descriptor instead.
|
|
func (*GetMetadataResponse) Descriptor() ([]byte, []int) {
|
|
return file_okapi_onboarding_proto_rawDescGZIP(), []int{3}
|
|
}
|
|
|
|
func (x *GetMetadataResponse) GetSupplierFormalName() string {
|
|
if x != nil {
|
|
return x.SupplierFormalName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetMetadataResponse) GetSupplierDisplayName() string {
|
|
if x != nil {
|
|
return x.SupplierDisplayName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetMetadataResponse) GetProductName() string {
|
|
if x != nil {
|
|
return x.ProductName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetMetadataResponse) GetVersion() string {
|
|
if x != nil {
|
|
return x.Version
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type RegisterRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
OrganisationFormalName string `protobuf:"bytes,1,opt,name=organisationFormalName,proto3" json:"organisationFormalName,omitempty"`
|
|
OrganisationDisplayName string `protobuf:"bytes,2,opt,name=organisationDisplayName,proto3" json:"organisationDisplayName,omitempty"`
|
|
OrganisationIdentifier string `protobuf:"bytes,3,opt,name=organisationIdentifier,proto3" json:"organisationIdentifier,omitempty"`
|
|
OrganisationIdentifierType string `protobuf:"bytes,4,opt,name=organisationIdentifierType,proto3" json:"organisationIdentifierType,omitempty"` // Type bijv. AGB, BIG registratie of KvK
|
|
Auth *XISAuthConfiguration `protobuf:"bytes,5,opt,name=auth,proto3" json:"auth,omitempty"`
|
|
}
|
|
|
|
func (x *RegisterRequest) Reset() {
|
|
*x = RegisterRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_okapi_onboarding_proto_msgTypes[4]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *RegisterRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*RegisterRequest) ProtoMessage() {}
|
|
|
|
func (x *RegisterRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_okapi_onboarding_proto_msgTypes[4]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use RegisterRequest.ProtoReflect.Descriptor instead.
|
|
func (*RegisterRequest) Descriptor() ([]byte, []int) {
|
|
return file_okapi_onboarding_proto_rawDescGZIP(), []int{4}
|
|
}
|
|
|
|
func (x *RegisterRequest) GetOrganisationFormalName() string {
|
|
if x != nil {
|
|
return x.OrganisationFormalName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *RegisterRequest) GetOrganisationDisplayName() string {
|
|
if x != nil {
|
|
return x.OrganisationDisplayName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *RegisterRequest) GetOrganisationIdentifier() string {
|
|
if x != nil {
|
|
return x.OrganisationIdentifier
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *RegisterRequest) GetOrganisationIdentifierType() string {
|
|
if x != nil {
|
|
return x.OrganisationIdentifierType
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *RegisterRequest) GetAuth() *XISAuthConfiguration {
|
|
if x != nil {
|
|
return x.Auth
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type RegisterResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Reference string `protobuf:"bytes,1,opt,name=reference,proto3" json:"reference,omitempty"`
|
|
}
|
|
|
|
func (x *RegisterResponse) Reset() {
|
|
*x = RegisterResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_okapi_onboarding_proto_msgTypes[5]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *RegisterResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*RegisterResponse) ProtoMessage() {}
|
|
|
|
func (x *RegisterResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_okapi_onboarding_proto_msgTypes[5]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use RegisterResponse.ProtoReflect.Descriptor instead.
|
|
func (*RegisterResponse) Descriptor() ([]byte, []int) {
|
|
return file_okapi_onboarding_proto_rawDescGZIP(), []int{5}
|
|
}
|
|
|
|
func (x *RegisterResponse) GetReference() string {
|
|
if x != nil {
|
|
return x.Reference
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type CompleteRegistrationRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Reference string `protobuf:"bytes,1,opt,name=reference,proto3" json:"reference,omitempty"`
|
|
AuthorizationToken string `protobuf:"bytes,2,opt,name=AuthorizationToken,proto3" json:"AuthorizationToken,omitempty"`
|
|
}
|
|
|
|
func (x *CompleteRegistrationRequest) Reset() {
|
|
*x = CompleteRegistrationRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_okapi_onboarding_proto_msgTypes[6]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *CompleteRegistrationRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CompleteRegistrationRequest) ProtoMessage() {}
|
|
|
|
func (x *CompleteRegistrationRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_okapi_onboarding_proto_msgTypes[6]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use CompleteRegistrationRequest.ProtoReflect.Descriptor instead.
|
|
func (*CompleteRegistrationRequest) Descriptor() ([]byte, []int) {
|
|
return file_okapi_onboarding_proto_rawDescGZIP(), []int{6}
|
|
}
|
|
|
|
func (x *CompleteRegistrationRequest) GetReference() string {
|
|
if x != nil {
|
|
return x.Reference
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CompleteRegistrationRequest) GetAuthorizationToken() string {
|
|
if x != nil {
|
|
return x.AuthorizationToken
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type CompleteRegistrationResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
}
|
|
|
|
func (x *CompleteRegistrationResponse) Reset() {
|
|
*x = CompleteRegistrationResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_okapi_onboarding_proto_msgTypes[7]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *CompleteRegistrationResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CompleteRegistrationResponse) ProtoMessage() {}
|
|
|
|
func (x *CompleteRegistrationResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_okapi_onboarding_proto_msgTypes[7]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use CompleteRegistrationResponse.ProtoReflect.Descriptor instead.
|
|
func (*CompleteRegistrationResponse) Descriptor() ([]byte, []int) {
|
|
return file_okapi_onboarding_proto_rawDescGZIP(), []int{7}
|
|
}
|
|
|
|
var File_okapi_onboarding_proto protoreflect.FileDescriptor
|
|
|
|
var file_okapi_onboarding_proto_rawDesc = []byte{
|
|
0x0a, 0x16, 0x6f, 0x6b, 0x61, 0x70, 0x69, 0x2d, 0x6f, 0x6e, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x69,
|
|
0x6e, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x37, 0x0a, 0x17, 0x4d, 0x54, 0x4c, 0x53,
|
|
0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x61, 0x72,
|
|
0x61, 0x6d, 0x73, 0x12, 0x1c, 0x0a, 0x09, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79,
|
|
0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65,
|
|
0x79, 0x22, 0x99, 0x01, 0x0a, 0x14, 0x58, 0x49, 0x53, 0x41, 0x75, 0x74, 0x68, 0x43, 0x6f, 0x6e,
|
|
0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x26, 0x0a, 0x06, 0x6d, 0x65,
|
|
0x74, 0x68, 0x6f, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x0e, 0x2e, 0x58, 0x49, 0x53,
|
|
0x41, 0x75, 0x74, 0x68, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x52, 0x06, 0x6d, 0x65, 0x74, 0x68,
|
|
0x6f, 0x64, 0x12, 0x48, 0x0a, 0x11, 0x6d, 0x74, 0x6c, 0x73, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67,
|
|
0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e,
|
|
0x4d, 0x54, 0x4c, 0x53, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f,
|
|
0x6e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x48, 0x00, 0x52, 0x11, 0x6d, 0x74, 0x6c, 0x73, 0x43,
|
|
0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x0f, 0x0a, 0x0d,
|
|
0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x14, 0x0a,
|
|
0x12, 0x47, 0x65, 0x74, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x65, 0x71, 0x75,
|
|
0x65, 0x73, 0x74, 0x22, 0xb3, 0x01, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x4d, 0x65, 0x74, 0x61, 0x64,
|
|
0x61, 0x74, 0x61, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2e, 0x0a, 0x12, 0x73,
|
|
0x75, 0x70, 0x70, 0x6c, 0x69, 0x65, 0x72, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x6c, 0x4e, 0x61, 0x6d,
|
|
0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x12, 0x73, 0x75, 0x70, 0x70, 0x6c, 0x69, 0x65,
|
|
0x72, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x6c, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x30, 0x0a, 0x13, 0x73,
|
|
0x75, 0x70, 0x70, 0x6c, 0x69, 0x65, 0x72, 0x44, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x4e, 0x61,
|
|
0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x13, 0x73, 0x75, 0x70, 0x70, 0x6c, 0x69,
|
|
0x65, 0x72, 0x44, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x20, 0x0a,
|
|
0x0b, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01,
|
|
0x28, 0x09, 0x52, 0x0b, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12,
|
|
0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09,
|
|
0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0xa6, 0x02, 0x0a, 0x0f, 0x52, 0x65,
|
|
0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x36, 0x0a,
|
|
0x16, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x46, 0x6f, 0x72,
|
|
0x6d, 0x61, 0x6c, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x16, 0x6f,
|
|
0x72, 0x67, 0x61, 0x6e, 0x69, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x46, 0x6f, 0x72, 0x6d, 0x61,
|
|
0x6c, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x38, 0x0a, 0x17, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x73,
|
|
0x61, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x4e, 0x61, 0x6d, 0x65,
|
|
0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x17, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x73, 0x61,
|
|
0x74, 0x69, 0x6f, 0x6e, 0x44, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12,
|
|
0x36, 0x0a, 0x16, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49,
|
|
0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52,
|
|
0x16, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x65,
|
|
0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x12, 0x3e, 0x0a, 0x1a, 0x6f, 0x72, 0x67, 0x61, 0x6e,
|
|
0x69, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65,
|
|
0x72, 0x54, 0x79, 0x70, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x1a, 0x6f, 0x72, 0x67,
|
|
0x61, 0x6e, 0x69, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66,
|
|
0x69, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x12, 0x29, 0x0a, 0x04, 0x61, 0x75, 0x74, 0x68, 0x18,
|
|
0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x58, 0x49, 0x53, 0x41, 0x75, 0x74, 0x68, 0x43,
|
|
0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x04, 0x61, 0x75,
|
|
0x74, 0x68, 0x22, 0x30, 0x0a, 0x10, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x52, 0x65,
|
|
0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65,
|
|
0x6e, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x72, 0x65, 0x66, 0x65, 0x72,
|
|
0x65, 0x6e, 0x63, 0x65, 0x22, 0x6b, 0x0a, 0x1b, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65,
|
|
0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75,
|
|
0x65, 0x73, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65,
|
|
0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63,
|
|
0x65, 0x12, 0x2e, 0x0a, 0x12, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69,
|
|
0x6f, 0x6e, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x12, 0x41,
|
|
0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x6f, 0x6b, 0x65,
|
|
0x6e, 0x22, 0x1e, 0x0a, 0x1c, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x67,
|
|
0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
|
|
0x65, 0x2a, 0x19, 0x0a, 0x0d, 0x58, 0x49, 0x53, 0x41, 0x75, 0x74, 0x68, 0x4d, 0x65, 0x74, 0x68,
|
|
0x6f, 0x64, 0x12, 0x08, 0x0a, 0x04, 0x6d, 0x54, 0x4c, 0x53, 0x10, 0x00, 0x42, 0x1a, 0x5a, 0x18,
|
|
0x77, 0x68, 0x69, 0x74, 0x65, 0x62, 0x6f, 0x78, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x73, 0x2e,
|
|
0x6e, 0x6c, 0x2f, 0x6f, 0x6b, 0x61, 0x70, 0x69, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
|
}
|
|
|
|
var (
|
|
file_okapi_onboarding_proto_rawDescOnce sync.Once
|
|
file_okapi_onboarding_proto_rawDescData = file_okapi_onboarding_proto_rawDesc
|
|
)
|
|
|
|
func file_okapi_onboarding_proto_rawDescGZIP() []byte {
|
|
file_okapi_onboarding_proto_rawDescOnce.Do(func() {
|
|
file_okapi_onboarding_proto_rawDescData = protoimpl.X.CompressGZIP(file_okapi_onboarding_proto_rawDescData)
|
|
})
|
|
return file_okapi_onboarding_proto_rawDescData
|
|
}
|
|
|
|
var file_okapi_onboarding_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
|
|
var file_okapi_onboarding_proto_msgTypes = make([]protoimpl.MessageInfo, 8)
|
|
var file_okapi_onboarding_proto_goTypes = []interface{}{
|
|
(XISAuthMethod)(0), // 0: XISAuthMethod
|
|
(*MTLSConfigurationParams)(nil), // 1: MTLSConfigurationParams
|
|
(*XISAuthConfiguration)(nil), // 2: XISAuthConfiguration
|
|
(*GetMetadataRequest)(nil), // 3: GetMetadataRequest
|
|
(*GetMetadataResponse)(nil), // 4: GetMetadataResponse
|
|
(*RegisterRequest)(nil), // 5: RegisterRequest
|
|
(*RegisterResponse)(nil), // 6: RegisterResponse
|
|
(*CompleteRegistrationRequest)(nil), // 7: CompleteRegistrationRequest
|
|
(*CompleteRegistrationResponse)(nil), // 8: CompleteRegistrationResponse
|
|
}
|
|
var file_okapi_onboarding_proto_depIdxs = []int32{
|
|
0, // 0: XISAuthConfiguration.method:type_name -> XISAuthMethod
|
|
1, // 1: XISAuthConfiguration.mtlsConfiguration:type_name -> MTLSConfigurationParams
|
|
2, // 2: RegisterRequest.auth:type_name -> XISAuthConfiguration
|
|
3, // [3:3] is the sub-list for method output_type
|
|
3, // [3:3] is the sub-list for method input_type
|
|
3, // [3:3] is the sub-list for extension type_name
|
|
3, // [3:3] is the sub-list for extension extendee
|
|
0, // [0:3] is the sub-list for field type_name
|
|
}
|
|
|
|
func init() { file_okapi_onboarding_proto_init() }
|
|
func file_okapi_onboarding_proto_init() {
|
|
if File_okapi_onboarding_proto != nil {
|
|
return
|
|
}
|
|
if !protoimpl.UnsafeEnabled {
|
|
file_okapi_onboarding_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*MTLSConfigurationParams); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_okapi_onboarding_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*XISAuthConfiguration); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_okapi_onboarding_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*GetMetadataRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_okapi_onboarding_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*GetMetadataResponse); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_okapi_onboarding_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*RegisterRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_okapi_onboarding_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*RegisterResponse); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_okapi_onboarding_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*CompleteRegistrationRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_okapi_onboarding_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*CompleteRegistrationResponse); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
}
|
|
file_okapi_onboarding_proto_msgTypes[1].OneofWrappers = []interface{}{
|
|
(*XISAuthConfiguration_MtlsConfiguration)(nil),
|
|
}
|
|
type x struct{}
|
|
out := protoimpl.TypeBuilder{
|
|
File: protoimpl.DescBuilder{
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
RawDescriptor: file_okapi_onboarding_proto_rawDesc,
|
|
NumEnums: 1,
|
|
NumMessages: 8,
|
|
NumExtensions: 0,
|
|
NumServices: 0,
|
|
},
|
|
GoTypes: file_okapi_onboarding_proto_goTypes,
|
|
DependencyIndexes: file_okapi_onboarding_proto_depIdxs,
|
|
EnumInfos: file_okapi_onboarding_proto_enumTypes,
|
|
MessageInfos: file_okapi_onboarding_proto_msgTypes,
|
|
}.Build()
|
|
File_okapi_onboarding_proto = out.File
|
|
file_okapi_onboarding_proto_rawDesc = nil
|
|
file_okapi_onboarding_proto_goTypes = nil
|
|
file_okapi_onboarding_proto_depIdxs = nil
|
|
}
|
|
|