proto

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2026 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PluginService_GetProviders_FullMethodName          = "/plugin.PluginService/GetProviders"
	PluginService_GetProviderDescriptor_FullMethodName = "/plugin.PluginService/GetProviderDescriptor"
	PluginService_ExecuteProvider_FullMethodName       = "/plugin.PluginService/ExecuteProvider"
)
View Source
const (
	AuthHandlerService_GetAuthHandlers_FullMethodName    = "/plugin.AuthHandlerService/GetAuthHandlers"
	AuthHandlerService_Login_FullMethodName              = "/plugin.AuthHandlerService/Login"
	AuthHandlerService_Logout_FullMethodName             = "/plugin.AuthHandlerService/Logout"
	AuthHandlerService_GetStatus_FullMethodName          = "/plugin.AuthHandlerService/GetStatus"
	AuthHandlerService_GetToken_FullMethodName           = "/plugin.AuthHandlerService/GetToken"
	AuthHandlerService_ListCachedTokens_FullMethodName   = "/plugin.AuthHandlerService/ListCachedTokens"
	AuthHandlerService_PurgeExpiredTokens_FullMethodName = "/plugin.AuthHandlerService/PurgeExpiredTokens"
)

Variables

View Source
var AuthHandlerService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "plugin.AuthHandlerService",
	HandlerType: (*AuthHandlerServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetAuthHandlers",
			Handler:    _AuthHandlerService_GetAuthHandlers_Handler,
		},
		{
			MethodName: "Logout",
			Handler:    _AuthHandlerService_Logout_Handler,
		},
		{
			MethodName: "GetStatus",
			Handler:    _AuthHandlerService_GetStatus_Handler,
		},
		{
			MethodName: "GetToken",
			Handler:    _AuthHandlerService_GetToken_Handler,
		},
		{
			MethodName: "ListCachedTokens",
			Handler:    _AuthHandlerService_ListCachedTokens_Handler,
		},
		{
			MethodName: "PurgeExpiredTokens",
			Handler:    _AuthHandlerService_PurgeExpiredTokens_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "Login",
			Handler:       _AuthHandlerService_Login_Handler,
			ServerStreams: true,
		},
	},
	Metadata: "plugin.proto",
}

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

View Source
var File_plugin_proto protoreflect.FileDescriptor
View Source
var PluginService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "plugin.PluginService",
	HandlerType: (*PluginServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetProviders",
			Handler:    _PluginService_GetProviders_Handler,
		},
		{
			MethodName: "GetProviderDescriptor",
			Handler:    _PluginService_GetProviderDescriptor_Handler,
		},
		{
			MethodName: "ExecuteProvider",
			Handler:    _PluginService_ExecuteProvider_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "plugin.proto",
}

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

Functions

func RegisterAuthHandlerServiceServer added in v0.5.0

func RegisterAuthHandlerServiceServer(s grpc.ServiceRegistrar, srv AuthHandlerServiceServer)

func RegisterPluginServiceServer

func RegisterPluginServiceServer(s grpc.ServiceRegistrar, srv PluginServiceServer)

Types

type AuthHandlerInfo added in v0.5.0

type AuthHandlerInfo struct {
	Name         string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	DisplayName  string   `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	Flows        []string `protobuf:"bytes,3,rep,name=flows,proto3" json:"flows,omitempty"`
	Capabilities []string `protobuf:"bytes,4,rep,name=capabilities,proto3" json:"capabilities,omitempty"`
	// contains filtered or unexported fields
}

func (*AuthHandlerInfo) Descriptor deprecated added in v0.5.0

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

Deprecated: Use AuthHandlerInfo.ProtoReflect.Descriptor instead.

func (*AuthHandlerInfo) GetCapabilities added in v0.5.0

func (x *AuthHandlerInfo) GetCapabilities() []string

func (*AuthHandlerInfo) GetDisplayName added in v0.5.0

func (x *AuthHandlerInfo) GetDisplayName() string

func (*AuthHandlerInfo) GetFlows added in v0.5.0

func (x *AuthHandlerInfo) GetFlows() []string

func (*AuthHandlerInfo) GetName added in v0.5.0

func (x *AuthHandlerInfo) GetName() string

func (*AuthHandlerInfo) ProtoMessage added in v0.5.0

func (*AuthHandlerInfo) ProtoMessage()

func (*AuthHandlerInfo) ProtoReflect added in v0.5.0

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

func (*AuthHandlerInfo) Reset added in v0.5.0

func (x *AuthHandlerInfo) Reset()

func (*AuthHandlerInfo) String added in v0.5.0

func (x *AuthHandlerInfo) String() string

type AuthHandlerServiceClient added in v0.5.0

type AuthHandlerServiceClient interface {
	// GetAuthHandlers returns metadata for all auth handlers exposed by this plugin.
	GetAuthHandlers(ctx context.Context, in *GetAuthHandlersRequest, opts ...grpc.CallOption) (*GetAuthHandlersResponse, error)
	// Login initiates authentication. Returns a stream: zero or more DeviceCodePrompt
	// messages followed by exactly one LoginResult message.
	Login(ctx context.Context, in *LoginRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[LoginStreamMessage], error)
	// Logout clears stored credentials for the named handler.
	Logout(ctx context.Context, in *LogoutRequest, opts ...grpc.CallOption) (*LogoutResponse, error)
	// GetStatus returns the current authentication status.
	GetStatus(ctx context.Context, in *GetStatusRequest, opts ...grpc.CallOption) (*GetStatusResponse, error)
	// GetToken returns a valid access token.
	GetToken(ctx context.Context, in *GetTokenRequest, opts ...grpc.CallOption) (*GetTokenResponse, error)
	// ListCachedTokens enumerates cached tokens for the named handler.
	ListCachedTokens(ctx context.Context, in *ListCachedTokensRequest, opts ...grpc.CallOption) (*ListCachedTokensResponse, error)
	// PurgeExpiredTokens removes expired tokens for the named handler.
	PurgeExpiredTokens(ctx context.Context, in *PurgeExpiredTokensRequest, opts ...grpc.CallOption) (*PurgeExpiredTokensResponse, error)
}

AuthHandlerServiceClient is the client API for AuthHandlerService 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.

AuthHandlerService is the auth handler plugin service.

func NewAuthHandlerServiceClient added in v0.5.0

func NewAuthHandlerServiceClient(cc grpc.ClientConnInterface) AuthHandlerServiceClient

type AuthHandlerServiceServer added in v0.5.0

type AuthHandlerServiceServer interface {
	// GetAuthHandlers returns metadata for all auth handlers exposed by this plugin.
	GetAuthHandlers(context.Context, *GetAuthHandlersRequest) (*GetAuthHandlersResponse, error)
	// Login initiates authentication. Returns a stream: zero or more DeviceCodePrompt
	// messages followed by exactly one LoginResult message.
	Login(*LoginRequest, grpc.ServerStreamingServer[LoginStreamMessage]) error
	// Logout clears stored credentials for the named handler.
	Logout(context.Context, *LogoutRequest) (*LogoutResponse, error)
	// GetStatus returns the current authentication status.
	GetStatus(context.Context, *GetStatusRequest) (*GetStatusResponse, error)
	// GetToken returns a valid access token.
	GetToken(context.Context, *GetTokenRequest) (*GetTokenResponse, error)
	// ListCachedTokens enumerates cached tokens for the named handler.
	ListCachedTokens(context.Context, *ListCachedTokensRequest) (*ListCachedTokensResponse, error)
	// PurgeExpiredTokens removes expired tokens for the named handler.
	PurgeExpiredTokens(context.Context, *PurgeExpiredTokensRequest) (*PurgeExpiredTokensResponse, error)
	// contains filtered or unexported methods
}

AuthHandlerServiceServer is the server API for AuthHandlerService service. All implementations must embed UnimplementedAuthHandlerServiceServer for forward compatibility.

AuthHandlerService is the auth handler plugin service.

type AuthHandlerService_LoginClient added in v0.5.0

type AuthHandlerService_LoginClient = grpc.ServerStreamingClient[LoginStreamMessage]

This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.

type AuthHandlerService_LoginServer added in v0.5.0

type AuthHandlerService_LoginServer = grpc.ServerStreamingServer[LoginStreamMessage]

This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.

type CachedTokenInfo added in v0.5.0

type CachedTokenInfo struct {
	Handler       string `protobuf:"bytes,1,opt,name=handler,proto3" json:"handler,omitempty"`
	TokenKind     string `protobuf:"bytes,2,opt,name=token_kind,json=tokenKind,proto3" json:"token_kind,omitempty"`
	Scope         string `protobuf:"bytes,3,opt,name=scope,proto3" json:"scope,omitempty"`
	TokenType     string `protobuf:"bytes,4,opt,name=token_type,json=tokenType,proto3" json:"token_type,omitempty"`
	Flow          string `protobuf:"bytes,5,opt,name=flow,proto3" json:"flow,omitempty"`
	ExpiresAtUnix int64  `protobuf:"varint,6,opt,name=expires_at_unix,json=expiresAtUnix,proto3" json:"expires_at_unix,omitempty"`
	CachedAtUnix  int64  `protobuf:"varint,7,opt,name=cached_at_unix,json=cachedAtUnix,proto3" json:"cached_at_unix,omitempty"`
	IsExpired     bool   `protobuf:"varint,8,opt,name=is_expired,json=isExpired,proto3" json:"is_expired,omitempty"`
	SessionId     string `protobuf:"bytes,9,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
	// contains filtered or unexported fields
}

func (*CachedTokenInfo) Descriptor deprecated added in v0.5.0

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

Deprecated: Use CachedTokenInfo.ProtoReflect.Descriptor instead.

func (*CachedTokenInfo) GetCachedAtUnix added in v0.5.0

func (x *CachedTokenInfo) GetCachedAtUnix() int64

func (*CachedTokenInfo) GetExpiresAtUnix added in v0.5.0

func (x *CachedTokenInfo) GetExpiresAtUnix() int64

func (*CachedTokenInfo) GetFlow added in v0.5.0

func (x *CachedTokenInfo) GetFlow() string

func (*CachedTokenInfo) GetHandler added in v0.5.0

func (x *CachedTokenInfo) GetHandler() string

func (*CachedTokenInfo) GetIsExpired added in v0.5.0

func (x *CachedTokenInfo) GetIsExpired() bool

func (*CachedTokenInfo) GetScope added in v0.5.0

func (x *CachedTokenInfo) GetScope() string

func (*CachedTokenInfo) GetSessionId added in v0.5.0

func (x *CachedTokenInfo) GetSessionId() string

func (*CachedTokenInfo) GetTokenKind added in v0.5.0

func (x *CachedTokenInfo) GetTokenKind() string

func (*CachedTokenInfo) GetTokenType added in v0.5.0

func (x *CachedTokenInfo) GetTokenType() string

func (*CachedTokenInfo) ProtoMessage added in v0.5.0

func (*CachedTokenInfo) ProtoMessage()

func (*CachedTokenInfo) ProtoReflect added in v0.5.0

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

func (*CachedTokenInfo) Reset added in v0.5.0

func (x *CachedTokenInfo) Reset()

func (*CachedTokenInfo) String added in v0.5.0

func (x *CachedTokenInfo) String() string

type Claims added in v0.5.0

type Claims struct {
	Issuer        string `protobuf:"bytes,1,opt,name=issuer,proto3" json:"issuer,omitempty"`
	Subject       string `protobuf:"bytes,2,opt,name=subject,proto3" json:"subject,omitempty"`
	TenantId      string `protobuf:"bytes,3,opt,name=tenant_id,json=tenantId,proto3" json:"tenant_id,omitempty"`
	ObjectId      string `protobuf:"bytes,4,opt,name=object_id,json=objectId,proto3" json:"object_id,omitempty"`
	ClientId      string `protobuf:"bytes,5,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"`
	Email         string `protobuf:"bytes,6,opt,name=email,proto3" json:"email,omitempty"`
	Name          string `protobuf:"bytes,7,opt,name=name,proto3" json:"name,omitempty"`
	Username      string `protobuf:"bytes,8,opt,name=username,proto3" json:"username,omitempty"`
	IssuedAtUnix  int64  `protobuf:"varint,9,opt,name=issued_at_unix,json=issuedAtUnix,proto3" json:"issued_at_unix,omitempty"`
	ExpiresAtUnix int64  `protobuf:"varint,10,opt,name=expires_at_unix,json=expiresAtUnix,proto3" json:"expires_at_unix,omitempty"`
	// contains filtered or unexported fields
}

func (*Claims) Descriptor deprecated added in v0.5.0

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

Deprecated: Use Claims.ProtoReflect.Descriptor instead.

func (*Claims) GetClientId added in v0.5.0

func (x *Claims) GetClientId() string

func (*Claims) GetEmail added in v0.5.0

func (x *Claims) GetEmail() string

func (*Claims) GetExpiresAtUnix added in v0.5.0

func (x *Claims) GetExpiresAtUnix() int64

func (*Claims) GetIssuedAtUnix added in v0.5.0

func (x *Claims) GetIssuedAtUnix() int64

func (*Claims) GetIssuer added in v0.5.0

func (x *Claims) GetIssuer() string

func (*Claims) GetName added in v0.5.0

func (x *Claims) GetName() string

func (*Claims) GetObjectId added in v0.5.0

func (x *Claims) GetObjectId() string

func (*Claims) GetSubject added in v0.5.0

func (x *Claims) GetSubject() string

func (*Claims) GetTenantId added in v0.5.0

func (x *Claims) GetTenantId() string

func (*Claims) GetUsername added in v0.5.0

func (x *Claims) GetUsername() string

func (*Claims) ProtoMessage added in v0.5.0

func (*Claims) ProtoMessage()

func (*Claims) ProtoReflect added in v0.5.0

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

func (*Claims) Reset added in v0.5.0

func (x *Claims) Reset()

func (*Claims) String added in v0.5.0

func (x *Claims) String() string

type Contact added in v0.5.0

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

Contact represents maintainer contact information.

func (*Contact) Descriptor deprecated added in v0.5.0

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

Deprecated: Use Contact.ProtoReflect.Descriptor instead.

func (*Contact) GetEmail added in v0.5.0

func (x *Contact) GetEmail() string

func (*Contact) GetName added in v0.5.0

func (x *Contact) GetName() string

func (*Contact) ProtoMessage added in v0.5.0

func (*Contact) ProtoMessage()

func (*Contact) ProtoReflect added in v0.5.0

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

func (*Contact) Reset added in v0.5.0

func (x *Contact) Reset()

func (*Contact) String added in v0.5.0

func (x *Contact) String() string

type DeviceCodePrompt added in v0.5.0

type DeviceCodePrompt struct {
	UserCode        string `protobuf:"bytes,1,opt,name=user_code,json=userCode,proto3" json:"user_code,omitempty"`
	VerificationUri string `protobuf:"bytes,2,opt,name=verification_uri,json=verificationUri,proto3" json:"verification_uri,omitempty"`
	Message         string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

func (*DeviceCodePrompt) Descriptor deprecated added in v0.5.0

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

Deprecated: Use DeviceCodePrompt.ProtoReflect.Descriptor instead.

func (*DeviceCodePrompt) GetMessage added in v0.5.0

func (x *DeviceCodePrompt) GetMessage() string

func (*DeviceCodePrompt) GetUserCode added in v0.5.0

func (x *DeviceCodePrompt) GetUserCode() string

func (*DeviceCodePrompt) GetVerificationUri added in v0.5.0

func (x *DeviceCodePrompt) GetVerificationUri() string

func (*DeviceCodePrompt) ProtoMessage added in v0.5.0

func (*DeviceCodePrompt) ProtoMessage()

func (*DeviceCodePrompt) ProtoReflect added in v0.5.0

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

func (*DeviceCodePrompt) Reset added in v0.5.0

func (x *DeviceCodePrompt) Reset()

func (*DeviceCodePrompt) String added in v0.5.0

func (x *DeviceCodePrompt) String() string

type Example added in v0.5.0

type Example struct {
	Name        string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	Yaml        string `protobuf:"bytes,3,opt,name=yaml,proto3" json:"yaml,omitempty"`
	// contains filtered or unexported fields
}

Example represents a usage example for a provider.

func (*Example) Descriptor deprecated added in v0.5.0

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

Deprecated: Use Example.ProtoReflect.Descriptor instead.

func (*Example) GetDescription added in v0.5.0

func (x *Example) GetDescription() string

func (*Example) GetName added in v0.5.0

func (x *Example) GetName() string

func (*Example) GetYaml added in v0.5.0

func (x *Example) GetYaml() string

func (*Example) ProtoMessage added in v0.5.0

func (*Example) ProtoMessage()

func (*Example) ProtoReflect added in v0.5.0

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

func (*Example) Reset added in v0.5.0

func (x *Example) Reset()

func (*Example) String added in v0.5.0

func (x *Example) String() string

type ExecuteProviderRequest

type ExecuteProviderRequest struct {
	ProviderName string `protobuf:"bytes,1,opt,name=provider_name,json=providerName,proto3" json:"provider_name,omitempty"`
	Input        []byte `protobuf:"bytes,2,opt,name=input,proto3" json:"input,omitempty"`     // JSON-encoded input map
	Context      []byte `protobuf:"bytes,3,opt,name=context,proto3" json:"context,omitempty"` // JSON-encoded context data
	DryRun       bool   `protobuf:"varint,4,opt,name=dry_run,json=dryRun,proto3" json:"dry_run,omitempty"`
	// contains filtered or unexported fields
}

func (*ExecuteProviderRequest) Descriptor deprecated

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

Deprecated: Use ExecuteProviderRequest.ProtoReflect.Descriptor instead.

func (*ExecuteProviderRequest) GetContext

func (x *ExecuteProviderRequest) GetContext() []byte

func (*ExecuteProviderRequest) GetDryRun

func (x *ExecuteProviderRequest) GetDryRun() bool

func (*ExecuteProviderRequest) GetInput

func (x *ExecuteProviderRequest) GetInput() []byte

func (*ExecuteProviderRequest) GetProviderName

func (x *ExecuteProviderRequest) GetProviderName() string

func (*ExecuteProviderRequest) ProtoMessage

func (*ExecuteProviderRequest) ProtoMessage()

func (*ExecuteProviderRequest) ProtoReflect

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

func (*ExecuteProviderRequest) Reset

func (x *ExecuteProviderRequest) Reset()

func (*ExecuteProviderRequest) String

func (x *ExecuteProviderRequest) String() string

type ExecuteProviderResponse

type ExecuteProviderResponse struct {
	Output []byte `protobuf:"bytes,1,opt,name=output,proto3" json:"output,omitempty"` // JSON-encoded output (ProviderOutput)
	Error  string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`   // Empty if no error
	// contains filtered or unexported fields
}

func (*ExecuteProviderResponse) Descriptor deprecated

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

Deprecated: Use ExecuteProviderResponse.ProtoReflect.Descriptor instead.

func (*ExecuteProviderResponse) GetError

func (x *ExecuteProviderResponse) GetError() string

func (*ExecuteProviderResponse) GetOutput

func (x *ExecuteProviderResponse) GetOutput() []byte

func (*ExecuteProviderResponse) ProtoMessage

func (*ExecuteProviderResponse) ProtoMessage()

func (*ExecuteProviderResponse) ProtoReflect

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

func (*ExecuteProviderResponse) Reset

func (x *ExecuteProviderResponse) Reset()

func (*ExecuteProviderResponse) String

func (x *ExecuteProviderResponse) String() string

type GetAuthHandlersRequest added in v0.5.0

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

func (*GetAuthHandlersRequest) Descriptor deprecated added in v0.5.0

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

Deprecated: Use GetAuthHandlersRequest.ProtoReflect.Descriptor instead.

func (*GetAuthHandlersRequest) ProtoMessage added in v0.5.0

func (*GetAuthHandlersRequest) ProtoMessage()

func (*GetAuthHandlersRequest) ProtoReflect added in v0.5.0

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

func (*GetAuthHandlersRequest) Reset added in v0.5.0

func (x *GetAuthHandlersRequest) Reset()

func (*GetAuthHandlersRequest) String added in v0.5.0

func (x *GetAuthHandlersRequest) String() string

type GetAuthHandlersResponse added in v0.5.0

type GetAuthHandlersResponse struct {
	Handlers []*AuthHandlerInfo `protobuf:"bytes,1,rep,name=handlers,proto3" json:"handlers,omitempty"`
	// contains filtered or unexported fields
}

func (*GetAuthHandlersResponse) Descriptor deprecated added in v0.5.0

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

Deprecated: Use GetAuthHandlersResponse.ProtoReflect.Descriptor instead.

func (*GetAuthHandlersResponse) GetHandlers added in v0.5.0

func (x *GetAuthHandlersResponse) GetHandlers() []*AuthHandlerInfo

func (*GetAuthHandlersResponse) ProtoMessage added in v0.5.0

func (*GetAuthHandlersResponse) ProtoMessage()

func (*GetAuthHandlersResponse) ProtoReflect added in v0.5.0

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

func (*GetAuthHandlersResponse) Reset added in v0.5.0

func (x *GetAuthHandlersResponse) Reset()

func (*GetAuthHandlersResponse) String added in v0.5.0

func (x *GetAuthHandlersResponse) String() string

type GetProviderDescriptorRequest

type GetProviderDescriptorRequest struct {
	ProviderName string `protobuf:"bytes,1,opt,name=provider_name,json=providerName,proto3" json:"provider_name,omitempty"`
	// contains filtered or unexported fields
}

func (*GetProviderDescriptorRequest) Descriptor deprecated

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

Deprecated: Use GetProviderDescriptorRequest.ProtoReflect.Descriptor instead.

func (*GetProviderDescriptorRequest) GetProviderName

func (x *GetProviderDescriptorRequest) GetProviderName() string

func (*GetProviderDescriptorRequest) ProtoMessage

func (*GetProviderDescriptorRequest) ProtoMessage()

func (*GetProviderDescriptorRequest) ProtoReflect

func (*GetProviderDescriptorRequest) Reset

func (x *GetProviderDescriptorRequest) Reset()

func (*GetProviderDescriptorRequest) String

type GetProviderDescriptorResponse

type GetProviderDescriptorResponse struct {
	Descriptor_ *ProviderDescriptor `protobuf:"bytes,1,opt,name=descriptor,proto3" json:"descriptor,omitempty"`
	// contains filtered or unexported fields
}

func (*GetProviderDescriptorResponse) Descriptor deprecated

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

Deprecated: Use GetProviderDescriptorResponse.ProtoReflect.Descriptor instead.

func (*GetProviderDescriptorResponse) GetDescriptor_

func (*GetProviderDescriptorResponse) ProtoMessage

func (*GetProviderDescriptorResponse) ProtoMessage()

func (*GetProviderDescriptorResponse) ProtoReflect

func (*GetProviderDescriptorResponse) Reset

func (x *GetProviderDescriptorResponse) Reset()

func (*GetProviderDescriptorResponse) String

type GetProvidersRequest

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

func (*GetProvidersRequest) Descriptor deprecated

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

Deprecated: Use GetProvidersRequest.ProtoReflect.Descriptor instead.

func (*GetProvidersRequest) ProtoMessage

func (*GetProvidersRequest) ProtoMessage()

func (*GetProvidersRequest) ProtoReflect

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

func (*GetProvidersRequest) Reset

func (x *GetProvidersRequest) Reset()

func (*GetProvidersRequest) String

func (x *GetProvidersRequest) String() string

type GetProvidersResponse

type GetProvidersResponse struct {
	ProviderNames []string `protobuf:"bytes,1,rep,name=provider_names,json=providerNames,proto3" json:"provider_names,omitempty"`
	// contains filtered or unexported fields
}

func (*GetProvidersResponse) Descriptor deprecated

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

Deprecated: Use GetProvidersResponse.ProtoReflect.Descriptor instead.

func (*GetProvidersResponse) GetProviderNames

func (x *GetProvidersResponse) GetProviderNames() []string

func (*GetProvidersResponse) ProtoMessage

func (*GetProvidersResponse) ProtoMessage()

func (*GetProvidersResponse) ProtoReflect

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

func (*GetProvidersResponse) Reset

func (x *GetProvidersResponse) Reset()

func (*GetProvidersResponse) String

func (x *GetProvidersResponse) String() string

type GetStatusRequest added in v0.5.0

type GetStatusRequest struct {
	HandlerName string `protobuf:"bytes,1,opt,name=handler_name,json=handlerName,proto3" json:"handler_name,omitempty"`
	// contains filtered or unexported fields
}

func (*GetStatusRequest) Descriptor deprecated added in v0.5.0

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

Deprecated: Use GetStatusRequest.ProtoReflect.Descriptor instead.

func (*GetStatusRequest) GetHandlerName added in v0.5.0

func (x *GetStatusRequest) GetHandlerName() string

func (*GetStatusRequest) ProtoMessage added in v0.5.0

func (*GetStatusRequest) ProtoMessage()

func (*GetStatusRequest) ProtoReflect added in v0.5.0

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

func (*GetStatusRequest) Reset added in v0.5.0

func (x *GetStatusRequest) Reset()

func (*GetStatusRequest) String added in v0.5.0

func (x *GetStatusRequest) String() string

type GetStatusResponse added in v0.5.0

type GetStatusResponse struct {
	Authenticated   bool     `protobuf:"varint,1,opt,name=authenticated,proto3" json:"authenticated,omitempty"`
	Claims          *Claims  `protobuf:"bytes,2,opt,name=claims,proto3" json:"claims,omitempty"`
	ExpiresAtUnix   int64    `protobuf:"varint,3,opt,name=expires_at_unix,json=expiresAtUnix,proto3" json:"expires_at_unix,omitempty"`
	LastRefreshUnix int64    `protobuf:"varint,4,opt,name=last_refresh_unix,json=lastRefreshUnix,proto3" json:"last_refresh_unix,omitempty"`
	TenantId        string   `protobuf:"bytes,5,opt,name=tenant_id,json=tenantId,proto3" json:"tenant_id,omitempty"`
	IdentityType    string   `protobuf:"bytes,6,opt,name=identity_type,json=identityType,proto3" json:"identity_type,omitempty"`
	ClientId        string   `protobuf:"bytes,7,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"`
	TokenFile       string   `protobuf:"bytes,8,opt,name=token_file,json=tokenFile,proto3" json:"token_file,omitempty"`
	Scopes          []string `protobuf:"bytes,9,rep,name=scopes,proto3" json:"scopes,omitempty"`
	// contains filtered or unexported fields
}

func (*GetStatusResponse) Descriptor deprecated added in v0.5.0

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

Deprecated: Use GetStatusResponse.ProtoReflect.Descriptor instead.

func (*GetStatusResponse) GetAuthenticated added in v0.5.0

func (x *GetStatusResponse) GetAuthenticated() bool

func (*GetStatusResponse) GetClaims added in v0.5.0

func (x *GetStatusResponse) GetClaims() *Claims

func (*GetStatusResponse) GetClientId added in v0.5.0

func (x *GetStatusResponse) GetClientId() string

func (*GetStatusResponse) GetExpiresAtUnix added in v0.5.0

func (x *GetStatusResponse) GetExpiresAtUnix() int64

func (*GetStatusResponse) GetIdentityType added in v0.5.0

func (x *GetStatusResponse) GetIdentityType() string

func (*GetStatusResponse) GetLastRefreshUnix added in v0.5.0

func (x *GetStatusResponse) GetLastRefreshUnix() int64

func (*GetStatusResponse) GetScopes added in v0.5.0

func (x *GetStatusResponse) GetScopes() []string

func (*GetStatusResponse) GetTenantId added in v0.5.0

func (x *GetStatusResponse) GetTenantId() string

func (*GetStatusResponse) GetTokenFile added in v0.5.0

func (x *GetStatusResponse) GetTokenFile() string

func (*GetStatusResponse) ProtoMessage added in v0.5.0

func (*GetStatusResponse) ProtoMessage()

func (*GetStatusResponse) ProtoReflect added in v0.5.0

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

func (*GetStatusResponse) Reset added in v0.5.0

func (x *GetStatusResponse) Reset()

func (*GetStatusResponse) String added in v0.5.0

func (x *GetStatusResponse) String() string

type GetTokenRequest added in v0.5.0

type GetTokenRequest struct {
	HandlerName        string `protobuf:"bytes,1,opt,name=handler_name,json=handlerName,proto3" json:"handler_name,omitempty"`
	Scope              string `protobuf:"bytes,2,opt,name=scope,proto3" json:"scope,omitempty"`
	MinValidForSeconds int64  `protobuf:"varint,3,opt,name=min_valid_for_seconds,json=minValidForSeconds,proto3" json:"min_valid_for_seconds,omitempty"`
	ForceRefresh       bool   `protobuf:"varint,4,opt,name=force_refresh,json=forceRefresh,proto3" json:"force_refresh,omitempty"`
	// contains filtered or unexported fields
}

func (*GetTokenRequest) Descriptor deprecated added in v0.5.0

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

Deprecated: Use GetTokenRequest.ProtoReflect.Descriptor instead.

func (*GetTokenRequest) GetForceRefresh added in v0.5.0

func (x *GetTokenRequest) GetForceRefresh() bool

func (*GetTokenRequest) GetHandlerName added in v0.5.0

func (x *GetTokenRequest) GetHandlerName() string

func (*GetTokenRequest) GetMinValidForSeconds added in v0.5.0

func (x *GetTokenRequest) GetMinValidForSeconds() int64

func (*GetTokenRequest) GetScope added in v0.5.0

func (x *GetTokenRequest) GetScope() string

func (*GetTokenRequest) ProtoMessage added in v0.5.0

func (*GetTokenRequest) ProtoMessage()

func (*GetTokenRequest) ProtoReflect added in v0.5.0

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

func (*GetTokenRequest) Reset added in v0.5.0

func (x *GetTokenRequest) Reset()

func (*GetTokenRequest) String added in v0.5.0

func (x *GetTokenRequest) String() string

type GetTokenResponse added in v0.5.0

type GetTokenResponse struct {
	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"`
	ExpiresAtUnix int64  `protobuf:"varint,3,opt,name=expires_at_unix,json=expiresAtUnix,proto3" json:"expires_at_unix,omitempty"`
	Scope         string `protobuf:"bytes,4,opt,name=scope,proto3" json:"scope,omitempty"`
	CachedAtUnix  int64  `protobuf:"varint,5,opt,name=cached_at_unix,json=cachedAtUnix,proto3" json:"cached_at_unix,omitempty"`
	Flow          string `protobuf:"bytes,6,opt,name=flow,proto3" json:"flow,omitempty"`
	SessionId     string `protobuf:"bytes,7,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetTokenResponse) Descriptor deprecated added in v0.5.0

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

Deprecated: Use GetTokenResponse.ProtoReflect.Descriptor instead.

func (*GetTokenResponse) GetAccessToken added in v0.5.0

func (x *GetTokenResponse) GetAccessToken() string

func (*GetTokenResponse) GetCachedAtUnix added in v0.5.0

func (x *GetTokenResponse) GetCachedAtUnix() int64

func (*GetTokenResponse) GetExpiresAtUnix added in v0.5.0

func (x *GetTokenResponse) GetExpiresAtUnix() int64

func (*GetTokenResponse) GetFlow added in v0.5.0

func (x *GetTokenResponse) GetFlow() string

func (*GetTokenResponse) GetScope added in v0.5.0

func (x *GetTokenResponse) GetScope() string

func (*GetTokenResponse) GetSessionId added in v0.5.0

func (x *GetTokenResponse) GetSessionId() string

func (*GetTokenResponse) GetTokenType added in v0.5.0

func (x *GetTokenResponse) GetTokenType() string

func (*GetTokenResponse) ProtoMessage added in v0.5.0

func (*GetTokenResponse) ProtoMessage()

func (*GetTokenResponse) ProtoReflect added in v0.5.0

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

func (*GetTokenResponse) Reset added in v0.5.0

func (x *GetTokenResponse) Reset()

func (*GetTokenResponse) String added in v0.5.0

func (x *GetTokenResponse) String() string
type Link struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Url  string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"`
	// contains filtered or unexported fields
}

Link represents a named hyperlink.

func (*Link) Descriptor deprecated added in v0.5.0

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

Deprecated: Use Link.ProtoReflect.Descriptor instead.

func (*Link) GetName added in v0.5.0

func (x *Link) GetName() string

func (*Link) GetUrl added in v0.5.0

func (x *Link) GetUrl() string

func (*Link) ProtoMessage added in v0.5.0

func (*Link) ProtoMessage()

func (*Link) ProtoReflect added in v0.5.0

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

func (*Link) Reset added in v0.5.0

func (x *Link) Reset()

func (*Link) String added in v0.5.0

func (x *Link) String() string

type ListCachedTokensRequest added in v0.5.0

type ListCachedTokensRequest struct {
	HandlerName string `protobuf:"bytes,1,opt,name=handler_name,json=handlerName,proto3" json:"handler_name,omitempty"`
	// contains filtered or unexported fields
}

func (*ListCachedTokensRequest) Descriptor deprecated added in v0.5.0

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

Deprecated: Use ListCachedTokensRequest.ProtoReflect.Descriptor instead.

func (*ListCachedTokensRequest) GetHandlerName added in v0.5.0

func (x *ListCachedTokensRequest) GetHandlerName() string

func (*ListCachedTokensRequest) ProtoMessage added in v0.5.0

func (*ListCachedTokensRequest) ProtoMessage()

func (*ListCachedTokensRequest) ProtoReflect added in v0.5.0

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

func (*ListCachedTokensRequest) Reset added in v0.5.0

func (x *ListCachedTokensRequest) Reset()

func (*ListCachedTokensRequest) String added in v0.5.0

func (x *ListCachedTokensRequest) String() string

type ListCachedTokensResponse added in v0.5.0

type ListCachedTokensResponse struct {
	Tokens []*CachedTokenInfo `protobuf:"bytes,1,rep,name=tokens,proto3" json:"tokens,omitempty"`
	// contains filtered or unexported fields
}

func (*ListCachedTokensResponse) Descriptor deprecated added in v0.5.0

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

Deprecated: Use ListCachedTokensResponse.ProtoReflect.Descriptor instead.

func (*ListCachedTokensResponse) GetTokens added in v0.5.0

func (x *ListCachedTokensResponse) GetTokens() []*CachedTokenInfo

func (*ListCachedTokensResponse) ProtoMessage added in v0.5.0

func (*ListCachedTokensResponse) ProtoMessage()

func (*ListCachedTokensResponse) ProtoReflect added in v0.5.0

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

func (*ListCachedTokensResponse) Reset added in v0.5.0

func (x *ListCachedTokensResponse) Reset()

func (*ListCachedTokensResponse) String added in v0.5.0

func (x *ListCachedTokensResponse) String() string

type LoginRequest added in v0.5.0

type LoginRequest struct {
	HandlerName    string   `protobuf:"bytes,1,opt,name=handler_name,json=handlerName,proto3" json:"handler_name,omitempty"`
	TenantId       string   `protobuf:"bytes,2,opt,name=tenant_id,json=tenantId,proto3" json:"tenant_id,omitempty"`
	Scopes         []string `protobuf:"bytes,3,rep,name=scopes,proto3" json:"scopes,omitempty"`
	Flow           string   `protobuf:"bytes,4,opt,name=flow,proto3" json:"flow,omitempty"`
	TimeoutSeconds int64    `protobuf:"varint,5,opt,name=timeout_seconds,json=timeoutSeconds,proto3" json:"timeout_seconds,omitempty"`
	// contains filtered or unexported fields
}

func (*LoginRequest) Descriptor deprecated added in v0.5.0

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

Deprecated: Use LoginRequest.ProtoReflect.Descriptor instead.

func (*LoginRequest) GetFlow added in v0.5.0

func (x *LoginRequest) GetFlow() string

func (*LoginRequest) GetHandlerName added in v0.5.0

func (x *LoginRequest) GetHandlerName() string

func (*LoginRequest) GetScopes added in v0.5.0

func (x *LoginRequest) GetScopes() []string

func (*LoginRequest) GetTenantId added in v0.5.0

func (x *LoginRequest) GetTenantId() string

func (*LoginRequest) GetTimeoutSeconds added in v0.5.0

func (x *LoginRequest) GetTimeoutSeconds() int64

func (*LoginRequest) ProtoMessage added in v0.5.0

func (*LoginRequest) ProtoMessage()

func (*LoginRequest) ProtoReflect added in v0.5.0

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

func (*LoginRequest) Reset added in v0.5.0

func (x *LoginRequest) Reset()

func (*LoginRequest) String added in v0.5.0

func (x *LoginRequest) String() string

type LoginResult added in v0.5.0

type LoginResult struct {
	Claims        *Claims `protobuf:"bytes,1,opt,name=claims,proto3" json:"claims,omitempty"`
	ExpiresAtUnix int64   `protobuf:"varint,2,opt,name=expires_at_unix,json=expiresAtUnix,proto3" json:"expires_at_unix,omitempty"` // Unix timestamp (seconds)
	// contains filtered or unexported fields
}

func (*LoginResult) Descriptor deprecated added in v0.5.0

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

Deprecated: Use LoginResult.ProtoReflect.Descriptor instead.

func (*LoginResult) GetClaims added in v0.5.0

func (x *LoginResult) GetClaims() *Claims

func (*LoginResult) GetExpiresAtUnix added in v0.5.0

func (x *LoginResult) GetExpiresAtUnix() int64

func (*LoginResult) ProtoMessage added in v0.5.0

func (*LoginResult) ProtoMessage()

func (*LoginResult) ProtoReflect added in v0.5.0

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

func (*LoginResult) Reset added in v0.5.0

func (x *LoginResult) Reset()

func (*LoginResult) String added in v0.5.0

func (x *LoginResult) String() string

type LoginStreamMessage added in v0.5.0

type LoginStreamMessage struct {

	// Types that are valid to be assigned to Payload:
	//
	//	*LoginStreamMessage_DeviceCodePrompt
	//	*LoginStreamMessage_Result
	//	*LoginStreamMessage_Error
	Payload isLoginStreamMessage_Payload `protobuf_oneof:"payload"`
	// contains filtered or unexported fields
}

LoginStreamMessage is sent over the Login server-stream. Exactly one of device_code_prompt or result is set per message.

func (*LoginStreamMessage) Descriptor deprecated added in v0.5.0

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

Deprecated: Use LoginStreamMessage.ProtoReflect.Descriptor instead.

func (*LoginStreamMessage) GetDeviceCodePrompt added in v0.5.0

func (x *LoginStreamMessage) GetDeviceCodePrompt() *DeviceCodePrompt

func (*LoginStreamMessage) GetError added in v0.5.0

func (x *LoginStreamMessage) GetError() string

func (*LoginStreamMessage) GetPayload added in v0.5.0

func (x *LoginStreamMessage) GetPayload() isLoginStreamMessage_Payload

func (*LoginStreamMessage) GetResult added in v0.5.0

func (x *LoginStreamMessage) GetResult() *LoginResult

func (*LoginStreamMessage) ProtoMessage added in v0.5.0

func (*LoginStreamMessage) ProtoMessage()

func (*LoginStreamMessage) ProtoReflect added in v0.5.0

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

func (*LoginStreamMessage) Reset added in v0.5.0

func (x *LoginStreamMessage) Reset()

func (*LoginStreamMessage) String added in v0.5.0

func (x *LoginStreamMessage) String() string

type LoginStreamMessage_DeviceCodePrompt added in v0.5.0

type LoginStreamMessage_DeviceCodePrompt struct {
	DeviceCodePrompt *DeviceCodePrompt `protobuf:"bytes,1,opt,name=device_code_prompt,json=deviceCodePrompt,proto3,oneof"`
}

type LoginStreamMessage_Error added in v0.5.0

type LoginStreamMessage_Error struct {
	Error string `protobuf:"bytes,3,opt,name=error,proto3,oneof"`
}

type LoginStreamMessage_Result added in v0.5.0

type LoginStreamMessage_Result struct {
	Result *LoginResult `protobuf:"bytes,2,opt,name=result,proto3,oneof"`
}

type LogoutRequest added in v0.5.0

type LogoutRequest struct {
	HandlerName string `protobuf:"bytes,1,opt,name=handler_name,json=handlerName,proto3" json:"handler_name,omitempty"`
	// contains filtered or unexported fields
}

func (*LogoutRequest) Descriptor deprecated added in v0.5.0

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

Deprecated: Use LogoutRequest.ProtoReflect.Descriptor instead.

func (*LogoutRequest) GetHandlerName added in v0.5.0

func (x *LogoutRequest) GetHandlerName() string

func (*LogoutRequest) ProtoMessage added in v0.5.0

func (*LogoutRequest) ProtoMessage()

func (*LogoutRequest) ProtoReflect added in v0.5.0

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

func (*LogoutRequest) Reset added in v0.5.0

func (x *LogoutRequest) Reset()

func (*LogoutRequest) String added in v0.5.0

func (x *LogoutRequest) String() string

type LogoutResponse added in v0.5.0

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

func (*LogoutResponse) Descriptor deprecated added in v0.5.0

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

Deprecated: Use LogoutResponse.ProtoReflect.Descriptor instead.

func (*LogoutResponse) ProtoMessage added in v0.5.0

func (*LogoutResponse) ProtoMessage()

func (*LogoutResponse) ProtoReflect added in v0.5.0

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

func (*LogoutResponse) Reset added in v0.5.0

func (x *LogoutResponse) Reset()

func (*LogoutResponse) String added in v0.5.0

func (x *LogoutResponse) String() string

type Parameter

type Parameter struct {
	Type               string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
	Required           bool   `protobuf:"varint,2,opt,name=required,proto3" json:"required,omitempty"`
	Description        string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	DefaultValue       []byte `protobuf:"bytes,4,opt,name=default_value,json=defaultValue,proto3" json:"default_value,omitempty"` // JSON-encoded
	Example            string `protobuf:"bytes,5,opt,name=example,proto3" json:"example,omitempty"`
	MaxLength          int32  `protobuf:"varint,6,opt,name=max_length,json=maxLength,proto3" json:"max_length,omitempty"`
	Pattern            string `protobuf:"bytes,7,opt,name=pattern,proto3" json:"pattern,omitempty"`
	PatternDescription string `protobuf:"bytes,8,opt,name=pattern_description,json=patternDescription,proto3" json:"pattern_description,omitempty"`
	// contains filtered or unexported fields
}

func (*Parameter) Descriptor deprecated

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

Deprecated: Use Parameter.ProtoReflect.Descriptor instead.

func (*Parameter) GetDefaultValue

func (x *Parameter) GetDefaultValue() []byte

func (*Parameter) GetDescription

func (x *Parameter) GetDescription() string

func (*Parameter) GetExample

func (x *Parameter) GetExample() string

func (*Parameter) GetMaxLength

func (x *Parameter) GetMaxLength() int32

func (*Parameter) GetPattern

func (x *Parameter) GetPattern() string

func (*Parameter) GetPatternDescription

func (x *Parameter) GetPatternDescription() string

func (*Parameter) GetRequired

func (x *Parameter) GetRequired() bool

func (*Parameter) GetType

func (x *Parameter) GetType() string

func (*Parameter) ProtoMessage

func (*Parameter) ProtoMessage()

func (*Parameter) ProtoReflect

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

func (*Parameter) Reset

func (x *Parameter) Reset()

func (*Parameter) String

func (x *Parameter) String() string

type PluginServiceClient

type PluginServiceClient interface {
	// GetProviders returns all providers exposed by this plugin
	GetProviders(ctx context.Context, in *GetProvidersRequest, opts ...grpc.CallOption) (*GetProvidersResponse, error)
	// GetProviderDescriptor returns metadata for a specific provider
	GetProviderDescriptor(ctx context.Context, in *GetProviderDescriptorRequest, opts ...grpc.CallOption) (*GetProviderDescriptorResponse, error)
	// ExecuteProvider executes a provider
	ExecuteProvider(ctx context.Context, in *ExecuteProviderRequest, opts ...grpc.CallOption) (*ExecuteProviderResponse, error)
}

PluginServiceClient is the client API for PluginService 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.

PluginService is the provider plugin service.

type PluginServiceServer

type PluginServiceServer interface {
	// GetProviders returns all providers exposed by this plugin
	GetProviders(context.Context, *GetProvidersRequest) (*GetProvidersResponse, error)
	// GetProviderDescriptor returns metadata for a specific provider
	GetProviderDescriptor(context.Context, *GetProviderDescriptorRequest) (*GetProviderDescriptorResponse, error)
	// ExecuteProvider executes a provider
	ExecuteProvider(context.Context, *ExecuteProviderRequest) (*ExecuteProviderResponse, error)
	// contains filtered or unexported methods
}

PluginServiceServer is the server API for PluginService service. All implementations must embed UnimplementedPluginServiceServer for forward compatibility.

PluginService is the provider plugin service.

type ProviderDescriptor

type ProviderDescriptor struct {
	Name          string             `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	DisplayName   string             `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	Description   string             `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	Version       string             `protobuf:"bytes,4,opt,name=version,proto3" json:"version,omitempty"`
	Category      string             `protobuf:"bytes,5,opt,name=category,proto3" json:"category,omitempty"`
	Capabilities  []string           `protobuf:"bytes,6,rep,name=capabilities,proto3" json:"capabilities,omitempty"`
	Schema        *Schema            `protobuf:"bytes,7,opt,name=schema,proto3" json:"schema,omitempty"`
	OutputSchemas map[string]*Schema `` // key is capability string (from, transform, validation, authentication, action)
	/* 174-byte string literal not displayed */
	ApiVersion      string     `protobuf:"bytes,9,opt,name=api_version,json=apiVersion,proto3" json:"api_version,omitempty"`
	MockBehavior    string     `protobuf:"bytes,10,opt,name=mock_behavior,json=mockBehavior,proto3" json:"mock_behavior,omitempty"`
	SensitiveFields []string   `protobuf:"bytes,11,rep,name=sensitive_fields,json=sensitiveFields,proto3" json:"sensitive_fields,omitempty"`
	Tags            []string   `protobuf:"bytes,12,rep,name=tags,proto3" json:"tags,omitempty"`
	Icon            string     `protobuf:"bytes,13,opt,name=icon,proto3" json:"icon,omitempty"`
	Links           []*Link    `protobuf:"bytes,14,rep,name=links,proto3" json:"links,omitempty"`
	Examples        []*Example `protobuf:"bytes,15,rep,name=examples,proto3" json:"examples,omitempty"`
	Maintainers     []*Contact `protobuf:"bytes,16,rep,name=maintainers,proto3" json:"maintainers,omitempty"`
	Deprecated      bool       `protobuf:"varint,17,opt,name=deprecated,proto3" json:"deprecated,omitempty"`
	Beta            bool       `protobuf:"varint,18,opt,name=beta,proto3" json:"beta,omitempty"`
	// contains filtered or unexported fields
}

func (*ProviderDescriptor) Descriptor deprecated

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

Deprecated: Use ProviderDescriptor.ProtoReflect.Descriptor instead.

func (*ProviderDescriptor) GetApiVersion added in v0.5.0

func (x *ProviderDescriptor) GetApiVersion() string

func (*ProviderDescriptor) GetBeta added in v0.5.0

func (x *ProviderDescriptor) GetBeta() bool

func (*ProviderDescriptor) GetCapabilities

func (x *ProviderDescriptor) GetCapabilities() []string

func (*ProviderDescriptor) GetCategory

func (x *ProviderDescriptor) GetCategory() string

func (*ProviderDescriptor) GetDeprecated added in v0.5.0

func (x *ProviderDescriptor) GetDeprecated() bool

func (*ProviderDescriptor) GetDescription

func (x *ProviderDescriptor) GetDescription() string

func (*ProviderDescriptor) GetDisplayName

func (x *ProviderDescriptor) GetDisplayName() string

func (*ProviderDescriptor) GetExamples added in v0.5.0

func (x *ProviderDescriptor) GetExamples() []*Example

func (*ProviderDescriptor) GetIcon added in v0.5.0

func (x *ProviderDescriptor) GetIcon() string
func (x *ProviderDescriptor) GetLinks() []*Link

func (*ProviderDescriptor) GetMaintainers added in v0.5.0

func (x *ProviderDescriptor) GetMaintainers() []*Contact

func (*ProviderDescriptor) GetMockBehavior added in v0.5.0

func (x *ProviderDescriptor) GetMockBehavior() string

func (*ProviderDescriptor) GetName

func (x *ProviderDescriptor) GetName() string

func (*ProviderDescriptor) GetOutputSchemas

func (x *ProviderDescriptor) GetOutputSchemas() map[string]*Schema

func (*ProviderDescriptor) GetSchema

func (x *ProviderDescriptor) GetSchema() *Schema

func (*ProviderDescriptor) GetSensitiveFields added in v0.5.0

func (x *ProviderDescriptor) GetSensitiveFields() []string

func (*ProviderDescriptor) GetTags added in v0.5.0

func (x *ProviderDescriptor) GetTags() []string

func (*ProviderDescriptor) GetVersion

func (x *ProviderDescriptor) GetVersion() string

func (*ProviderDescriptor) ProtoMessage

func (*ProviderDescriptor) ProtoMessage()

func (*ProviderDescriptor) ProtoReflect

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

func (*ProviderDescriptor) Reset

func (x *ProviderDescriptor) Reset()

func (*ProviderDescriptor) String

func (x *ProviderDescriptor) String() string

type PurgeExpiredTokensRequest added in v0.5.0

type PurgeExpiredTokensRequest struct {
	HandlerName string `protobuf:"bytes,1,opt,name=handler_name,json=handlerName,proto3" json:"handler_name,omitempty"`
	// contains filtered or unexported fields
}

func (*PurgeExpiredTokensRequest) Descriptor deprecated added in v0.5.0

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

Deprecated: Use PurgeExpiredTokensRequest.ProtoReflect.Descriptor instead.

func (*PurgeExpiredTokensRequest) GetHandlerName added in v0.5.0

func (x *PurgeExpiredTokensRequest) GetHandlerName() string

func (*PurgeExpiredTokensRequest) ProtoMessage added in v0.5.0

func (*PurgeExpiredTokensRequest) ProtoMessage()

func (*PurgeExpiredTokensRequest) ProtoReflect added in v0.5.0

func (*PurgeExpiredTokensRequest) Reset added in v0.5.0

func (x *PurgeExpiredTokensRequest) Reset()

func (*PurgeExpiredTokensRequest) String added in v0.5.0

func (x *PurgeExpiredTokensRequest) String() string

type PurgeExpiredTokensResponse added in v0.5.0

type PurgeExpiredTokensResponse struct {
	PurgedCount int32 `protobuf:"varint,1,opt,name=purged_count,json=purgedCount,proto3" json:"purged_count,omitempty"`
	// contains filtered or unexported fields
}

func (*PurgeExpiredTokensResponse) Descriptor deprecated added in v0.5.0

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

Deprecated: Use PurgeExpiredTokensResponse.ProtoReflect.Descriptor instead.

func (*PurgeExpiredTokensResponse) GetPurgedCount added in v0.5.0

func (x *PurgeExpiredTokensResponse) GetPurgedCount() int32

func (*PurgeExpiredTokensResponse) ProtoMessage added in v0.5.0

func (*PurgeExpiredTokensResponse) ProtoMessage()

func (*PurgeExpiredTokensResponse) ProtoReflect added in v0.5.0

func (*PurgeExpiredTokensResponse) Reset added in v0.5.0

func (x *PurgeExpiredTokensResponse) Reset()

func (*PurgeExpiredTokensResponse) String added in v0.5.0

func (x *PurgeExpiredTokensResponse) String() string

type Schema

type Schema struct {
	Parameters map[string]*Parameter `` /* 147-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*Schema) Descriptor deprecated

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

Deprecated: Use Schema.ProtoReflect.Descriptor instead.

func (*Schema) GetParameters

func (x *Schema) GetParameters() map[string]*Parameter

func (*Schema) ProtoMessage

func (*Schema) ProtoMessage()

func (*Schema) ProtoReflect

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

func (*Schema) Reset

func (x *Schema) Reset()

func (*Schema) String

func (x *Schema) String() string

type UnimplementedAuthHandlerServiceServer added in v0.5.0

type UnimplementedAuthHandlerServiceServer struct{}

UnimplementedAuthHandlerServiceServer 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 (UnimplementedAuthHandlerServiceServer) GetAuthHandlers added in v0.5.0

func (UnimplementedAuthHandlerServiceServer) GetStatus added in v0.5.0

func (UnimplementedAuthHandlerServiceServer) GetToken added in v0.5.0

func (UnimplementedAuthHandlerServiceServer) ListCachedTokens added in v0.5.0

func (UnimplementedAuthHandlerServiceServer) Login added in v0.5.0

func (UnimplementedAuthHandlerServiceServer) Logout added in v0.5.0

func (UnimplementedAuthHandlerServiceServer) PurgeExpiredTokens added in v0.5.0

type UnimplementedPluginServiceServer

type UnimplementedPluginServiceServer struct{}

UnimplementedPluginServiceServer 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 (UnimplementedPluginServiceServer) ExecuteProvider

func (UnimplementedPluginServiceServer) GetProviders

type UnsafeAuthHandlerServiceServer added in v0.5.0

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

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

type UnsafePluginServiceServer

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

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

Jump to

Keyboard shortcuts

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