apiv1

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2022 License: Apache-2.0 Imports: 4 Imported by: 1

Documentation

Index

Constants

View Source
const (
	DefaultAuthURL  = "https://sso.redhat.com/auth/realms/redhat-external"
	DefaultClientID = "cloud-services"
)

Variables

This section is empty.

Functions

func BuildAuthenticatedHTTPClient

func BuildAuthenticatedHTTPClient(offlineToken string) *http.Client

* * Create client with default auth and client for offline token

func BuildAuthenticatedHTTPClientCustom

func BuildAuthenticatedHTTPClientCustom(offlineToken string, clientID string, authURL string) *http.Client

Types

This section is empty.

Jump to

Keyboard shortcuts

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