Documentation ¶
Index ¶
Constants ¶
View Source
const (
DefaultMinBcryptCost = 12
)
Variables ¶
This section is empty.
Functions ¶
func Validate ¶
func Validate(oidcClient *v1alpha1.OIDCClient, secret *corev1.Secret, minBcryptCost int) (bool, []*metav1.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.
Click to show internal directories.
Click to hide internal directories.