policy

package
v0.0.0-...-9265221 Latest Latest
Warning

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

Go to latest
Published: May 5, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AllowedPolicyValidator

type AllowedPolicyValidator struct{}

func (AllowedPolicyValidator) ValidatePolicy

func (a AllowedPolicyValidator) ValidatePolicy(r *http.Request, s *models.Session) bool

type AuthenticatedUserPolicyValidator

type AuthenticatedUserPolicyValidator struct{}

func (AuthenticatedUserPolicyValidator) ValidatePolicy

type DeniedPolicyValidator

type DeniedPolicyValidator struct{}

func (DeniedPolicyValidator) ValidatePolicy

func (d DeniedPolicyValidator) ValidatePolicy(r *http.Request, s *models.Session) bool

type PolicyValidator

type PolicyValidator interface {
	ValidatePolicy(r *http.Request, s *models.Session) bool
}

type RealmsPolicyValidator

type RealmsPolicyValidator struct {
	Realms []string
}

func (RealmsPolicyValidator) ValidatePolicy

func (rp RealmsPolicyValidator) ValidatePolicy(r *http.Request, s *models.Session) bool

Jump to

Keyboard shortcuts

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