impl

package
v0.33.24 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2026 License: Apache-2.0 Imports: 40 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

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

Variables

This section is empty.

Functions

func NewJWTResolver added in v0.33.16

func NewJWTResolver(ctx context.Context, config *config.JWT) (*jwtResolver, error)

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, error)

func (*AuthorizerServer) Compile

func (*AuthorizerServer) DecisionTree

func (*AuthorizerServer) GetPolicy

func (*AuthorizerServer) Info

func (*AuthorizerServer) Is

func (*AuthorizerServer) ListPolicies

func (*AuthorizerServer) Query

type OidcClient added in v0.33.16

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

func NewOidcClient added in v0.33.16

func NewOidcClient() *OidcClient

func (*OidcClient) FetchAndValidateConfig added in v0.33.16

func (c *OidcClient) FetchAndValidateConfig(ctx context.Context, targetIssuer string) (*OidcConfiguration, error)

type OidcConfiguration added in v0.33.16

type OidcConfiguration struct {
	Issuer                string   `json:"issuer"`
	JwksURI               string   `json:"jwks_uri"`
	AuthorizationEndpoint string   `json:"authorization_endpoint,omitempty"`
	TokenEndpoint         string   `json:"token_endpoint,omitempty"`
	Algs                  []string `json:"id_token_signing_alg_values_supported,omitempty"`
}

Jump to

Keyboard shortcuts

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