client

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2026 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClientParameters

type ClientParameters struct {
	ClusterID   string
	RedirectURL string
	SessionID   string
	ClientType  string
	ConsumerID  string

	IsClusterScoped bool
}

func GetQueryParams

func GetQueryParams(r *http.Request) *ClientParameters

GetQueryParams extracts the client parameters from the given HTTP request.

func (*ClientParameters) WithParams

func (r *ClientParameters) WithParams(urlStr string) string

WithParams adds the client parameters to the given URL as query parameters.

Jump to

Keyboard shortcuts

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