# Packages

No description provided by the author
No description provided by the author

# Functions

Chain chains multiple authorizers together - if any authorizer returns true, the request is authorized.
DefaultUserExtractor is the default user extractor function that extracts a user from the context using the DefaultUserExtractorKey.
StreamServerInterceptor uses the given authorizer to authorize streaming grpc requests.
UnaryServerInterceptor uses the given authorizer to authorize unary grpc requests.
WithSelectors sets the list of selectors that will be used to determine if the interceptor should be applied to a request.
WithUserExtractor sets the user extractor function that will be used by the interceptor to extract a user from the context so it's attributes can be used in rule expression evaluation.
WithWhiteListMethods sets the list of methods that will be allowed without authorization.

# Constants

ExpressionVarIsStream is true if the grpc handler is a streaming handler.
ExpressionVarMetadata is the metadata object.
ExpressionVarMethod is the grpc method.
ExpressionVarRequest is the request object.
ExpressionVarUser is the user object.

# Variables

DefaultUserExtractorKey is the default key used to extract a user from the context.

# Structs

RuleExecutionParams is the set of parameters passed to the Authorizer.ExecuteRule function.

# Interfaces

Authorizer is an interface for authorizing grpc requests.

# Type aliases

AuthorizeMethodFunc is a function that authorizes a grpc request.
ExpressionVar is a global variable injected into a Javascript/CEL authorization expression.
Opt is an option for configuring the interceptor.
UserExtractor is a function that extracts a user from a context so it's attributes can be used in rule expression evaluation.