request_internal

package
v0.8.2 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2026 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrServiceEmpty                  = errors.New("service is not set")
	ErrUnrecognizedService           = errors.New("unrecognized service")
	ErrHttpMethodEmpty               = errors.New("http method is not set")
	ErrUnrecognizedHttpMethod        = errors.New("unrecognized http method")
	ErrPingOneRegionCodeEmpty        = errors.New("PingOne region code is not set")
	ErrUnrecognizedPingOneRegionCode = errors.New("unrecognized PingOne region code")
	ErrPingOneWorkerEnvIDEmpty       = errors.New("PingOne worker environment ID is not set")
	ErrPingOneClientIDAndSecretEmpty = errors.New("PingOne client ID and/or client secret is not set")
	ErrPingOneAuthenticate           = errors.New("failed to authenticate with PingOne")
)

Functions

func GetAPIURLForRegion added in v0.8.0

func GetAPIURLForRegion(uri string) (string, error)

GetAPIURLForRegion builds the correct API URL based on region configuration

func GetDataFile added in v0.8.0

func GetDataFile() (data string, err error)

func GetDataRaw added in v0.8.0

func GetDataRaw() (data string, err error)

func RunInternalRequest

func RunInternalRequest(uri string) (err error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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