v2

package
v1.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 11, 2025 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SamlConfigurationService_GetSPParameters_FullMethodName  = "/com.coralogixapis.aaa.sso.v2.SamlConfigurationService/GetSPParameters"
	SamlConfigurationService_SetIDPParameters_FullMethodName = "/com.coralogixapis.aaa.sso.v2.SamlConfigurationService/SetIDPParameters"
	SamlConfigurationService_SetActive_FullMethodName        = "/com.coralogixapis.aaa.sso.v2.SamlConfigurationService/SetActive"
	SamlConfigurationService_GetConfiguration_FullMethodName = "/com.coralogixapis.aaa.sso.v2.SamlConfigurationService/GetConfiguration"
)

Variables

View Source
var File_com_coralogixapis_aaa_sso_v2_saml_proto protoreflect.FileDescriptor
View Source
var SamlConfigurationService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "com.coralogixapis.aaa.sso.v2.SamlConfigurationService",
	HandlerType: (*SamlConfigurationServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetSPParameters",
			Handler:    _SamlConfigurationService_GetSPParameters_Handler,
		},
		{
			MethodName: "SetIDPParameters",
			Handler:    _SamlConfigurationService_SetIDPParameters_Handler,
		},
		{
			MethodName: "SetActive",
			Handler:    _SamlConfigurationService_SetActive_Handler,
		},
		{
			MethodName: "GetConfiguration",
			Handler:    _SamlConfigurationService_GetConfiguration_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "com/coralogixapis/aaa/sso/v2/saml.proto",
}

SamlConfigurationService_ServiceDesc is the grpc.ServiceDesc for SamlConfigurationService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterSamlConfigurationServiceServer

func RegisterSamlConfigurationServiceServer(s grpc.ServiceRegistrar, srv SamlConfigurationServiceServer)

Types

type GetConfigurationRequest

type GetConfigurationRequest struct {
	TeamId uint32 `protobuf:"varint,1,opt,name=team_id,json=teamId,proto3" json:"team_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetConfigurationRequest) Descriptor deprecated

func (*GetConfigurationRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetConfigurationRequest.ProtoReflect.Descriptor instead.

func (*GetConfigurationRequest) GetTeamId

func (x *GetConfigurationRequest) GetTeamId() uint32

func (*GetConfigurationRequest) ProtoMessage

func (*GetConfigurationRequest) ProtoMessage()

func (*GetConfigurationRequest) ProtoReflect

func (x *GetConfigurationRequest) ProtoReflect() protoreflect.Message

func (*GetConfigurationRequest) Reset

func (x *GetConfigurationRequest) Reset()

func (*GetConfigurationRequest) String

func (x *GetConfigurationRequest) String() string

type GetConfigurationResponse

type GetConfigurationResponse struct {
	TeamId        uint32                               `protobuf:"varint,1,opt,name=team_id,json=teamId,proto3" json:"team_id,omitempty"`
	SpParameters  *SPParameters                        `protobuf:"bytes,2,opt,name=sp_parameters,json=spParameters,proto3" json:"sp_parameters,omitempty"`
	IdpParameters *IDPParameters                       `protobuf:"bytes,3,opt,name=idp_parameters,json=idpParameters,proto3" json:"idp_parameters,omitempty"`
	IdpDetails    *GetConfigurationResponse_IDPDetails `protobuf:"bytes,4,opt,name=idp_details,json=idpDetails,proto3,oneof" json:"idp_details,omitempty"`
	// contains filtered or unexported fields
}

func (*GetConfigurationResponse) Descriptor deprecated

func (*GetConfigurationResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetConfigurationResponse.ProtoReflect.Descriptor instead.

func (*GetConfigurationResponse) GetIdpDetails

func (*GetConfigurationResponse) GetIdpParameters

func (x *GetConfigurationResponse) GetIdpParameters() *IDPParameters

func (*GetConfigurationResponse) GetSpParameters

func (x *GetConfigurationResponse) GetSpParameters() *SPParameters

func (*GetConfigurationResponse) GetTeamId

func (x *GetConfigurationResponse) GetTeamId() uint32

func (*GetConfigurationResponse) ProtoMessage

func (*GetConfigurationResponse) ProtoMessage()

func (*GetConfigurationResponse) ProtoReflect

func (x *GetConfigurationResponse) ProtoReflect() protoreflect.Message

func (*GetConfigurationResponse) Reset

func (x *GetConfigurationResponse) Reset()

func (*GetConfigurationResponse) String

func (x *GetConfigurationResponse) String() string

type GetConfigurationResponse_IDPDetails

type GetConfigurationResponse_IDPDetails struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Icon string `protobuf:"bytes,2,opt,name=icon,proto3" json:"icon,omitempty"`
	// contains filtered or unexported fields
}

func (*GetConfigurationResponse_IDPDetails) Descriptor deprecated

func (*GetConfigurationResponse_IDPDetails) Descriptor() ([]byte, []int)

Deprecated: Use GetConfigurationResponse_IDPDetails.ProtoReflect.Descriptor instead.

func (*GetConfigurationResponse_IDPDetails) GetIcon

func (*GetConfigurationResponse_IDPDetails) GetName

func (*GetConfigurationResponse_IDPDetails) ProtoMessage

func (*GetConfigurationResponse_IDPDetails) ProtoMessage()

func (*GetConfigurationResponse_IDPDetails) ProtoReflect

func (*GetConfigurationResponse_IDPDetails) Reset

func (*GetConfigurationResponse_IDPDetails) String

type GetSPParametersRequest

type GetSPParametersRequest struct {
	TeamId uint32 `protobuf:"varint,1,opt,name=team_id,json=teamId,proto3" json:"team_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetSPParametersRequest) Descriptor deprecated

func (*GetSPParametersRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetSPParametersRequest.ProtoReflect.Descriptor instead.

func (*GetSPParametersRequest) GetTeamId

func (x *GetSPParametersRequest) GetTeamId() uint32

func (*GetSPParametersRequest) ProtoMessage

func (*GetSPParametersRequest) ProtoMessage()

func (*GetSPParametersRequest) ProtoReflect

func (x *GetSPParametersRequest) ProtoReflect() protoreflect.Message

func (*GetSPParametersRequest) Reset

func (x *GetSPParametersRequest) Reset()

func (*GetSPParametersRequest) String

func (x *GetSPParametersRequest) String() string

type GetSPParametersResponse

type GetSPParametersResponse struct {
	Params *SPParameters `protobuf:"bytes,1,opt,name=params,proto3" json:"params,omitempty"`
	// contains filtered or unexported fields
}

func (*GetSPParametersResponse) Descriptor deprecated

func (*GetSPParametersResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetSPParametersResponse.ProtoReflect.Descriptor instead.

func (*GetSPParametersResponse) GetParams

func (x *GetSPParametersResponse) GetParams() *SPParameters

func (*GetSPParametersResponse) ProtoMessage

func (*GetSPParametersResponse) ProtoMessage()

func (*GetSPParametersResponse) ProtoReflect

func (x *GetSPParametersResponse) ProtoReflect() protoreflect.Message

func (*GetSPParametersResponse) Reset

func (x *GetSPParametersResponse) Reset()

func (*GetSPParametersResponse) String

func (x *GetSPParametersResponse) String() string

type IDPParameters

type IDPParameters struct {
	Active bool `protobuf:"varint,2,opt,name=active,proto3" json:"active,omitempty"`
	// Types that are assignable to Metadata:
	//
	//	*IDPParameters_MetadataUrl
	//	*IDPParameters_MetadataContent
	Metadata     isIDPParameters_Metadata `protobuf_oneof:"metadata"`
	TeamEntityId *uint32                  `protobuf:"varint,5,opt,name=team_entity_id,json=teamEntityId,proto3,oneof" json:"team_entity_id,omitempty"`
	GroupNames   []string                 `protobuf:"bytes,6,rep,name=group_names,json=groupNames,proto3" json:"group_names,omitempty"`
	// contains filtered or unexported fields
}

func (*IDPParameters) Descriptor deprecated

func (*IDPParameters) Descriptor() ([]byte, []int)

Deprecated: Use IDPParameters.ProtoReflect.Descriptor instead.

func (*IDPParameters) GetActive

func (x *IDPParameters) GetActive() bool

func (*IDPParameters) GetGroupNames

func (x *IDPParameters) GetGroupNames() []string

func (*IDPParameters) GetMetadata

func (m *IDPParameters) GetMetadata() isIDPParameters_Metadata

func (*IDPParameters) GetMetadataContent

func (x *IDPParameters) GetMetadataContent() string

func (*IDPParameters) GetMetadataUrl

func (x *IDPParameters) GetMetadataUrl() string

func (*IDPParameters) GetTeamEntityId

func (x *IDPParameters) GetTeamEntityId() uint32

func (*IDPParameters) ProtoMessage

func (*IDPParameters) ProtoMessage()

func (*IDPParameters) ProtoReflect

func (x *IDPParameters) ProtoReflect() protoreflect.Message

func (*IDPParameters) Reset

func (x *IDPParameters) Reset()

func (*IDPParameters) String

func (x *IDPParameters) String() string

type IDPParameters_MetadataContent

type IDPParameters_MetadataContent struct {
	MetadataContent string `protobuf:"bytes,4,opt,name=metadata_content,json=metadataContent,proto3,oneof"`
}

type IDPParameters_MetadataUrl

type IDPParameters_MetadataUrl struct {
	MetadataUrl string `protobuf:"bytes,3,opt,name=metadata_url,json=metadataUrl,proto3,oneof"`
}

type SPParameters

type SPParameters struct {
	MetadataUrl                 string `protobuf:"bytes,1,opt,name=metadata_url,json=metadataUrl,proto3" json:"metadata_url,omitempty"`
	SigningCertPem              string `protobuf:"bytes,2,opt,name=signing_cert_pem,json=signingCertPem,proto3" json:"signing_cert_pem,omitempty"`
	NameIdFormat                string `protobuf:"bytes,3,opt,name=name_id_format,json=nameIdFormat,proto3" json:"name_id_format,omitempty"`
	AssertionConsumerServiceUrl string `` /* 146-byte string literal not displayed */
	Binding                     string `protobuf:"bytes,5,opt,name=binding,proto3" json:"binding,omitempty"`
	// contains filtered or unexported fields
}

func (*SPParameters) Descriptor deprecated

func (*SPParameters) Descriptor() ([]byte, []int)

Deprecated: Use SPParameters.ProtoReflect.Descriptor instead.

func (*SPParameters) GetAssertionConsumerServiceUrl

func (x *SPParameters) GetAssertionConsumerServiceUrl() string

func (*SPParameters) GetBinding

func (x *SPParameters) GetBinding() string

func (*SPParameters) GetMetadataUrl

func (x *SPParameters) GetMetadataUrl() string

func (*SPParameters) GetNameIdFormat

func (x *SPParameters) GetNameIdFormat() string

func (*SPParameters) GetSigningCertPem

func (x *SPParameters) GetSigningCertPem() string

func (*SPParameters) ProtoMessage

func (*SPParameters) ProtoMessage()

func (*SPParameters) ProtoReflect

func (x *SPParameters) ProtoReflect() protoreflect.Message

func (*SPParameters) Reset

func (x *SPParameters) Reset()

func (*SPParameters) String

func (x *SPParameters) String() string

type SamlConfigurationServiceClient

type SamlConfigurationServiceClient interface {
	GetSPParameters(ctx context.Context, in *GetSPParametersRequest, opts ...grpc.CallOption) (*GetSPParametersResponse, error)
	SetIDPParameters(ctx context.Context, in *SetIDPParametersRequest, opts ...grpc.CallOption) (*SetIDPParametersResponse, error)
	SetActive(ctx context.Context, in *SetActiveRequest, opts ...grpc.CallOption) (*SetActiveResponse, error)
	GetConfiguration(ctx context.Context, in *GetConfigurationRequest, opts ...grpc.CallOption) (*GetConfigurationResponse, error)
}

SamlConfigurationServiceClient is the client API for SamlConfigurationService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type SamlConfigurationServiceServer

type SamlConfigurationServiceServer interface {
	GetSPParameters(context.Context, *GetSPParametersRequest) (*GetSPParametersResponse, error)
	SetIDPParameters(context.Context, *SetIDPParametersRequest) (*SetIDPParametersResponse, error)
	SetActive(context.Context, *SetActiveRequest) (*SetActiveResponse, error)
	GetConfiguration(context.Context, *GetConfigurationRequest) (*GetConfigurationResponse, error)
	// contains filtered or unexported methods
}

SamlConfigurationServiceServer is the server API for SamlConfigurationService service. All implementations must embed UnimplementedSamlConfigurationServiceServer for forward compatibility.

type SetActiveRequest

type SetActiveRequest struct {
	TeamId   uint32 `protobuf:"varint,1,opt,name=team_id,json=teamId,proto3" json:"team_id,omitempty"`
	IsActive bool   `protobuf:"varint,2,opt,name=is_active,json=isActive,proto3" json:"is_active,omitempty"`
	// contains filtered or unexported fields
}

func (*SetActiveRequest) Descriptor deprecated

func (*SetActiveRequest) Descriptor() ([]byte, []int)

Deprecated: Use SetActiveRequest.ProtoReflect.Descriptor instead.

func (*SetActiveRequest) GetIsActive

func (x *SetActiveRequest) GetIsActive() bool

func (*SetActiveRequest) GetTeamId

func (x *SetActiveRequest) GetTeamId() uint32

func (*SetActiveRequest) ProtoMessage

func (*SetActiveRequest) ProtoMessage()

func (*SetActiveRequest) ProtoReflect

func (x *SetActiveRequest) ProtoReflect() protoreflect.Message

func (*SetActiveRequest) Reset

func (x *SetActiveRequest) Reset()

func (*SetActiveRequest) String

func (x *SetActiveRequest) String() string

type SetActiveResponse

type SetActiveResponse struct {
	// contains filtered or unexported fields
}

func (*SetActiveResponse) Descriptor deprecated

func (*SetActiveResponse) Descriptor() ([]byte, []int)

Deprecated: Use SetActiveResponse.ProtoReflect.Descriptor instead.

func (*SetActiveResponse) ProtoMessage

func (*SetActiveResponse) ProtoMessage()

func (*SetActiveResponse) ProtoReflect

func (x *SetActiveResponse) ProtoReflect() protoreflect.Message

func (*SetActiveResponse) Reset

func (x *SetActiveResponse) Reset()

func (*SetActiveResponse) String

func (x *SetActiveResponse) String() string

type SetIDPParametersRequest

type SetIDPParametersRequest struct {
	TeamId uint32         `protobuf:"varint,1,opt,name=team_id,json=teamId,proto3" json:"team_id,omitempty"`
	Params *IDPParameters `protobuf:"bytes,2,opt,name=params,proto3" json:"params,omitempty"`
	// contains filtered or unexported fields
}

func (*SetIDPParametersRequest) Descriptor deprecated

func (*SetIDPParametersRequest) Descriptor() ([]byte, []int)

Deprecated: Use SetIDPParametersRequest.ProtoReflect.Descriptor instead.

func (*SetIDPParametersRequest) GetParams

func (x *SetIDPParametersRequest) GetParams() *IDPParameters

func (*SetIDPParametersRequest) GetTeamId

func (x *SetIDPParametersRequest) GetTeamId() uint32

func (*SetIDPParametersRequest) ProtoMessage

func (*SetIDPParametersRequest) ProtoMessage()

func (*SetIDPParametersRequest) ProtoReflect

func (x *SetIDPParametersRequest) ProtoReflect() protoreflect.Message

func (*SetIDPParametersRequest) Reset

func (x *SetIDPParametersRequest) Reset()

func (*SetIDPParametersRequest) String

func (x *SetIDPParametersRequest) String() string

type SetIDPParametersResponse

type SetIDPParametersResponse struct {
	// contains filtered or unexported fields
}

func (*SetIDPParametersResponse) Descriptor deprecated

func (*SetIDPParametersResponse) Descriptor() ([]byte, []int)

Deprecated: Use SetIDPParametersResponse.ProtoReflect.Descriptor instead.

func (*SetIDPParametersResponse) ProtoMessage

func (*SetIDPParametersResponse) ProtoMessage()

func (*SetIDPParametersResponse) ProtoReflect

func (x *SetIDPParametersResponse) ProtoReflect() protoreflect.Message

func (*SetIDPParametersResponse) Reset

func (x *SetIDPParametersResponse) Reset()

func (*SetIDPParametersResponse) String

func (x *SetIDPParametersResponse) String() string

type UnimplementedSamlConfigurationServiceServer

type UnimplementedSamlConfigurationServiceServer struct{}

UnimplementedSamlConfigurationServiceServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedSamlConfigurationServiceServer) GetConfiguration

func (UnimplementedSamlConfigurationServiceServer) GetSPParameters

func (UnimplementedSamlConfigurationServiceServer) SetActive

func (UnimplementedSamlConfigurationServiceServer) SetIDPParameters

type UnsafeSamlConfigurationServiceServer

type UnsafeSamlConfigurationServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeSamlConfigurationServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to SamlConfigurationServiceServer will result in compilation errors.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL