sdk

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: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClientFactory

type ClientFactory interface {
	NewClient(accessToken string) (*pingone.APIClient, error)
}

type DefaultClientFactory

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

func NewDefaultClientFactory

func NewDefaultClientFactory(serverVersion string) *DefaultClientFactory

func (*DefaultClientFactory) NewClient

func (f *DefaultClientFactory) NewClient(accessToken string) (*pingone.APIClient, error)

type EmptyClientFactory

type EmptyClientFactory struct{}

The EmptyClientFactory creates an invalid api client with no configuration set. This can be useful for unit tests that do not actually invoke operations on the SDK.

func NewEmptyClientFactory

func NewEmptyClientFactory() *EmptyClientFactory

func (*EmptyClientFactory) NewClient

func (n *EmptyClientFactory) NewClient(_ string) (*pingone.APIClient, error)

Directories

Path Synopsis
Package legacy provides client factory implementations for the legacy PingOne Go SDK v2.
Package legacy provides client factory implementations for the legacy PingOne Go SDK v2.

Jump to

Keyboard shortcuts

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