validation

package
v11.1.4-modfix Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2024 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AllowAssignGrafanaAdminValidator

func AllowAssignGrafanaAdminValidator(info *social.OAuthInfo, requester identity.Requester) error

func MustBeEmptyValidator

func MustBeEmptyValidator(value string, name string) ssosettings.ValidateFunc[social.OAuthInfo]

func RequiredUrlValidator

func RequiredUrlValidator(value string, name string) ssosettings.ValidateFunc[social.OAuthInfo]

func RequiredValidator

func RequiredValidator(value string, name string) ssosettings.ValidateFunc[social.OAuthInfo]

func SkipOrgRoleSyncAllowAssignGrafanaAdminValidator

func SkipOrgRoleSyncAllowAssignGrafanaAdminValidator(info *social.OAuthInfo, requester identity.Requester) error

func UrlValidator

func UrlValidator(value string, name string) ssosettings.ValidateFunc[social.OAuthInfo]

func Validate

func Validate(info *social.OAuthInfo, requester identity.Requester, validators ...ssosettings.ValidateFunc[social.OAuthInfo]) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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