Documentation
¶
Index ¶
- Constants
- func NewJWTResolver(ctx context.Context, config *config.JWT) (*jwtResolver, error)
- type AuthorizerServer
- func (s *AuthorizerServer) Compile(ctx context.Context, req *authorizer.CompileRequest) (*authorizer.CompileResponse, error)
- func (s *AuthorizerServer) DecisionTree(ctx context.Context, req *authorizer.DecisionTreeRequest) (*authorizer.DecisionTreeResponse, error)
- func (s *AuthorizerServer) GetPolicy(ctx context.Context, req *authorizer.GetPolicyRequest) (*authorizer.GetPolicyResponse, error)
- func (s *AuthorizerServer) Info(ctx context.Context, req *authorizer.InfoRequest) (*authorizer.InfoResponse, error)
- func (s *AuthorizerServer) Is(ctx context.Context, req *authorizer.IsRequest) (*authorizer.IsResponse, error)
- func (s *AuthorizerServer) ListPolicies(ctx context.Context, req *authorizer.ListPoliciesRequest) (*authorizer.ListPoliciesResponse, error)
- func (s *AuthorizerServer) Query(ctx context.Context, req *authorizer.QueryRequest) (*authorizer.QueryResponse, error)
- type OidcClient
- type OidcConfiguration
Constants ¶
View Source
const ( InputUser string = "user" InputIdentity string = "identity" InputPolicy string = "policy" InputResource string = "resource" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AuthorizerServer ¶
type AuthorizerServer struct {
// contains filtered or unexported fields
}
func NewAuthorizerServer ¶
func (*AuthorizerServer) Compile ¶
func (s *AuthorizerServer) Compile(ctx context.Context, req *authorizer.CompileRequest) (*authorizer.CompileResponse, error)
func (*AuthorizerServer) DecisionTree ¶
func (s *AuthorizerServer) DecisionTree(ctx context.Context, req *authorizer.DecisionTreeRequest) (*authorizer.DecisionTreeResponse, error)
func (*AuthorizerServer) GetPolicy ¶
func (s *AuthorizerServer) GetPolicy(ctx context.Context, req *authorizer.GetPolicyRequest) (*authorizer.GetPolicyResponse, error)
func (*AuthorizerServer) Info ¶
func (s *AuthorizerServer) Info(ctx context.Context, req *authorizer.InfoRequest) (*authorizer.InfoResponse, error)
func (*AuthorizerServer) Is ¶
func (s *AuthorizerServer) Is(ctx context.Context, req *authorizer.IsRequest) (*authorizer.IsResponse, error)
func (*AuthorizerServer) ListPolicies ¶
func (s *AuthorizerServer) ListPolicies(ctx context.Context, req *authorizer.ListPoliciesRequest) (*authorizer.ListPoliciesResponse, error)
func (*AuthorizerServer) Query ¶
func (s *AuthorizerServer) Query(ctx context.Context, req *authorizer.QueryRequest) (*authorizer.QueryResponse, error)
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
Click to show internal directories.
Click to hide internal directories.