auth

package
v0.0.0-...-fa9f2b9 Latest Latest
Warning

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

Go to latest
Published: May 6, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ApplyOAuth2MockServer

func ApplyOAuth2MockServer(resourceMgr *resource.Manager, k8sClient dynamic.Interface, namespace string, domain string) (string, error)

ApplyOAuth2MockServer creates OAuth2 mock server deployment, service and virtual service. Returns the issuer URL of the mock server.

func GetAccessToken

func GetAccessToken(oauth2Cfg clientcredentials.Config, tokenType ...string) (string, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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