oidcclientvalidator

package
v0.22.0 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultMinBcryptCost = 12
)

Variables

This section is empty.

Functions

func Validate

func Validate(oidcClient *v1alpha1.OIDCClient, secret *v1.Secret, minBcryptCost int) (bool, []*v1alpha1.Condition, []string)

Validate validates the OIDCClient and its corresponding client secret storage Secret. When the corresponding client secret storage Secret was not found, pass nil to this function to get the validation error for that case. It returns a bool to indicate if the client is valid, along with a slice of conditions containing more details, and the list of client secrets in the case that the client was valid.

Types

This section is empty.

Jump to

Keyboard shortcuts

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