pingone

package
v0.12.0 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2024 License: BSD-3-Clause Imports: 19 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AuthorizeAPIClient deprecated added in v0.4.0

func AuthorizeAPIClient(token *oauth2.Token) (*authorize.APIClient, error)

Deprecated: Use (c *Config).AuthorizeAPIClient() instead

func CredentialsAPIClient deprecated added in v0.7.0

func CredentialsAPIClient(token *oauth2.Token) (*credentials.APIClient, error)

Deprecated: Use (c *Config).CredentialsAPIClient() instead

func MFAAPIClient deprecated

func MFAAPIClient(token *oauth2.Token) (*mfa.APIClient, error)

Deprecated: Use (c *Config).MFAAPIClient() instead

func ManagementAPIClient deprecated

func ManagementAPIClient(token *oauth2.Token) (*management.APIClient, error)

Deprecated: Use (c *Config).ManagementAPIClient() instead

func RiskAPIClient deprecated

func RiskAPIClient(token *oauth2.Token) (*risk.APIClient, error)

Deprecated: Use (c *Config).RiskAPIClient() instead

func VerifyAPIClient deprecated added in v0.8.0

func VerifyAPIClient(token *oauth2.Token) (*verify.APIClient, error)

Deprecated: Use (c *Config).VerifyAPIClient() instead

Types

type Client

type Client struct {
	AuthorizeAPIClient   *authorize.APIClient
	CredentialsAPIClient *credentials.APIClient
	ManagementAPIClient  *management.APIClient
	MFAAPIClient         *mfa.APIClient
	RiskAPIClient        *risk.APIClient
	VerifyAPIClient      *verify.APIClient
	Region               model.RegionMapping
}

type Config

type Config struct {
	AccessToken *string

	APIHostnameOverride  *string
	AuthHostnameOverride *string
	ClientID             *string
	ClientSecret         *string
	EnvironmentID        *string
	ProxyURL             *string
	// Deprecated: Use RegionCode instead
	Region            string
	RegionCode        *management.EnumRegionCode
	UserAgentOverride *string
	UserAgentSuffix   *string
	// contains filtered or unexported fields
}

func (*Config) APIClient

func (c *Config) APIClient(ctx context.Context) (*Client, error)

func (*Config) AuthorizeAPIClient added in v0.9.0

func (c *Config) AuthorizeAPIClient(ctx context.Context) (*authorize.APIClient, error)

func (*Config) CredentialsAPIClient added in v0.9.0

func (c *Config) CredentialsAPIClient(ctx context.Context) (*credentials.APIClient, error)

func (*Config) MFAAPIClient added in v0.9.0

func (c *Config) MFAAPIClient(ctx context.Context) (*mfa.APIClient, error)

func (*Config) ManagementAPIClient added in v0.9.0

func (c *Config) ManagementAPIClient(ctx context.Context) (*management.APIClient, error)

func (*Config) RiskAPIClient added in v0.9.0

func (c *Config) RiskAPIClient(ctx context.Context) (*risk.APIClient, error)

func (*Config) Validate added in v0.10.0

func (c *Config) Validate() error

func (*Config) VerifyAPIClient added in v0.9.0

func (c *Config) VerifyAPIClient(ctx context.Context) (*verify.APIClient, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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