collections

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2025 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitializeAuthenticatedClient

func InitializeAuthenticatedClient(clientFactory sdk.ClientFactory, tokenStore tokenstore.TokenStore) (*pingone.APIClient, error)

func InitializeAuthenticatedLegacyClient

func InitializeAuthenticatedLegacyClient(ctx context.Context, clientFactory legacy.ClientFactory, tokenStore tokenstore.TokenStore) (*legacypingone.Client, error)

Types

type Collection

type Collection interface {
	Name() string
	// RegisterTools registers the tools with the server.
	// The filter determines which tools are registered based on read-only mode, included/excluded tools.
	RegisterTools(ctx context.Context, server *mcp.Server, clientFactory sdk.ClientFactory, authClientFactory client.AuthClientFactory, tokenStore tokenstore.TokenStore, toolFilter *filter.Filter, grantType auth.GrantType) error
	ListTools() []types.ToolDefinition
}

type LegacySdkCollection

type LegacySdkCollection interface {
	Name() string
	// RegisterTools registers the tools with the server.
	// The filter determines which tools are registered based on read-only mode, included/excluded tools.
	RegisterTools(ctx context.Context, server *mcp.Server, clientFactory legacy.ClientFactory, authClientFactory client.AuthClientFactory, tokenStore tokenstore.TokenStore, toolFilter *filter.Filter, grantType auth.GrantType) error
	ListTools() []types.ToolDefinition
}

Jump to

Keyboard shortcuts

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