impl

package
v0.33.3 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2025 License: Apache-2.0 Imports: 40 Imported by: 0

Documentation

Index

Constants

View Source
const (
	InputUser     string = "user"
	InputIdentity string = "identity"
	InputPolicy   string = "policy"
	InputResource string = "resource"
)

Variables

View Source
var (
	// ErrMissingMetadata - metadata element missing.
	ErrMissingMetadata = aerr.ErrInvalidArgument.Msg("missing metadata")
	// ErrMissingToken - token missing from metadata.
	ErrMissingToken = aerr.ErrInvalidArgument.Msg("missing token")
	// ErrInvalidToken - token not valid.
	ErrInvalidToken = aerr.ErrAuthenticationFailed.Msg("invalid token")
)

Functions

This section is empty.

Types

type AuthorizerServer

type AuthorizerServer struct {
	// contains filtered or unexported fields
}

func NewAuthorizerServer

func NewAuthorizerServer(
	ctx context.Context,
	logger *zerolog.Logger,
	cfg *config.Common,
	rf *resolvers.Resolvers,
) *AuthorizerServer

func (*AuthorizerServer) Compile

func (*AuthorizerServer) DecisionTree

func (*AuthorizerServer) GetPolicy added in v0.0.7

func (*AuthorizerServer) Info added in v0.0.8

func (*AuthorizerServer) Is

func (*AuthorizerServer) ListPolicies added in v0.0.7

func (*AuthorizerServer) Query

Jump to

Keyboard shortcuts

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