oauthserver

package
v1.6.2 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2026 License: Apache-2.0 Imports: 36 Imported by: 3 modules, 2 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const (
	RouteName = "test-oauth-route"
	SAName    = "e2e-oauth"
)

Variables

This section is empty.

Functions

func GetDirPathFromConfigMapSecretName

func GetDirPathFromConfigMapSecretName(name string) string

func GetPathFromConfigMapSecretName

func GetPathFromConfigMapSecretName(name, key string) string

func GetRawExtensionForOsinProvider

func GetRawExtensionForOsinProvider(obj runtime.Object) (*runtime.RawExtension, error)

func GetUserForToken

func GetUserForToken(config *restclient.Config, token, expectedUsername string) (*userv1.User, error)

Types

type NewRequestTokenOptionsFunc

type NewRequestTokenOptionsFunc func(username, password string) *tokenrequest.RequestTokenOptions

func DeployOAuthServer

func DeployOAuthServer(oc *exutil.CLI, idps []osinv1.IdentityProvider, configMaps []corev1.ConfigMap, secrets []corev1.Secret) (NewRequestTokenOptionsFunc, func(), error)

DeployOAuthServer - deployes an instance of an OpenShift OAuth server very simplified for now returns OAuth server url, cleanup function, error

Jump to

Keyboard shortcuts

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