Documentation
¶
Index ¶
- func AuthorizeAPIClient(token *oauth2.Token) (*authorize.APIClient, error)deprecated
- func CredentialsAPIClient(token *oauth2.Token) (*credentials.APIClient, error)deprecated
- func MFAAPIClient(token *oauth2.Token) (*mfa.APIClient, error)deprecated
- func ManagementAPIClient(token *oauth2.Token) (*management.APIClient, error)deprecated
- func RiskAPIClient(token *oauth2.Token) (*risk.APIClient, error)deprecated
- func VerifyAPIClient(token *oauth2.Token) (*verify.APIClient, error)deprecated
- type Client
- type Config
- func (c *Config) APIClient(ctx context.Context) (*Client, error)
- func (c *Config) AuthorizeAPIClient(ctx context.Context) (*authorize.APIClient, error)
- func (c *Config) CredentialsAPIClient(ctx context.Context) (*credentials.APIClient, error)
- func (c *Config) MFAAPIClient(ctx context.Context) (*mfa.APIClient, error)
- func (c *Config) ManagementAPIClient(ctx context.Context) (*management.APIClient, error)
- func (c *Config) RiskAPIClient(ctx context.Context) (*risk.APIClient, error)
- func (c *Config) Validate() error
- func (c *Config) VerifyAPIClient(ctx context.Context) (*verify.APIClient, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CredentialsAPIClient
deprecated
added in
v0.7.0
func CredentialsAPIClient(token *oauth2.Token) (*credentials.APIClient, error)
Deprecated: Use (c *Config).CredentialsAPIClient() instead
func ManagementAPIClient
deprecated
func ManagementAPIClient(token *oauth2.Token) (*management.APIClient, error)
Deprecated: Use (c *Config).ManagementAPIClient() 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) AuthorizeAPIClient ¶ added in v0.9.0
func (*Config) CredentialsAPIClient ¶ added in v0.9.0
func (*Config) MFAAPIClient ¶ added in v0.9.0
func (*Config) ManagementAPIClient ¶ added in v0.9.0
func (*Config) RiskAPIClient ¶ added in v0.9.0
Click to show internal directories.
Click to hide internal directories.