impl

package
v0.33.20 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2026 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

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