Documentation
¶
Index ¶
- func InitializeAuthenticatedClient(clientFactory sdk.ClientFactory, tokenStore tokenstore.TokenStore) (*pingone.APIClient, error)
- func InitializeAuthenticatedLegacyClient(ctx context.Context, clientFactory legacy.ClientFactory, ...) (*legacypingone.Client, error)
- type Collection
- type LegacySdkCollection
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
}
Click to show internal directories.
Click to hide internal directories.