internal/

directory
v0.0.0-...-0eefef3 Latest Latest
Warning

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

Go to latest
Published: Jun 18, 2026 License: Apache-2.0

Directories

Path Synopsis
Package authctx carries authentication principal details on context.Context.
Package authctx carries authentication principal details on context.Context.
authorization
engine
Package engine defines the AuthorizationEngine SPI — the abstraction over a relationship-based access control (ReBAC) backend used by Authorizer's fine-grained authorization (FGA) subsystem.
Package engine defines the AuthorizationEngine SPI — the abstraction over a relationship-based access control (ReBAC) backend used by Authorizer's fine-grained authorization (FGA) subsystem.
engine/openfga
Package openfga implements the engine.AuthorizationEngine SPI by embedding the OpenFGA server in-process (openfga v1.17.1).
Package openfga implements the engine.AuthorizationEngine SPI by embedding the OpenFGA server in-process (openfga v1.17.1).
Package constants holds the shared, compile-time constant values used across Authorizer — database types, authentication and authenticator methods, token and cookie names, webhook event names, audit event/actor/resource types, and related enumerations.
Package constants holds the shared, compile-time constant values used across Authorizer — database types, authentication and authenticator methods, token and cookie names, webhook event names, audit event/actor/resource types, and related enumerations.
Package gateway translates REST (`/v1/*`) calls into in-process gRPC method invocations using grpc-gateway.
Package gateway translates REST (`/v1/*`) calls into in-process gRPC method invocations using grpc-gateway.
Package grpcsrv builds and runs the Authorizer gRPC server.
Package grpcsrv builds and runs the Authorizer gRPC server.
client
Package client provides helpers for attaching Authorizer authentication metadata to outgoing gRPC client contexts.
Package client provides helpers for attaching Authorizer authentication metadata to outgoing gRPC client contexts.
handlers
Package handlers — admin.go hosts AdminHandler, the single gRPC service handler for Authorizer's admin (super-admin-only) API.
Package handlers — admin.go hosts AdminHandler, the single gRPC service handler for Authorizer's admin (super-admin-only) API.
interceptors
Package interceptors contains the gRPC server interceptors shared across Authorizer services.
Package interceptors contains the gRPC server interceptors shared across Authorizer services.
transport
Package transport bridges between gRPC's incoming metadata / outgoing trailers and the service layer's transport-agnostic RequestMetadata / ResponseSideEffects.
Package transport bridges between gRPC's incoming metadata / outgoing trailers and the service layer's transport-agnostic RequestMetadata / ResponseSideEffects.
Package mcp exposes a subset of Authorizer's gRPC methods as MCP tools.
Package mcp exposes a subset of Authorizer's gRPC methods as MCP tools.
db
Package metrics defines Prometheus collectors and helpers for Authorizer observability (HTTP traffic, auth events, GraphQL, security signals, and database health).
Package metrics defines Prometheus collectors and helpers for Authorizer observability (HTTP traffic, auth events, GraphQL, security signals, and database health).
Package refs provides small helpers for converting between values and their pointers (and back), used to model optional fields across the GraphQL, storage, and proto layers.
Package refs provides small helpers for converting between values and their pointers (and back), used to model optional fields across the GraphQL, storage, and proto layers.
Package service contains the transport-agnostic business logic for Authorizer's public API operations.
Package service contains the transport-agnostic business logic for Authorizer's public API operations.
sms
db/cassandradb
Package cassandradb implements the storage provider backed by Cassandra/ScyllaDB.
Package cassandradb implements the storage provider backed by Cassandra/ScyllaDB.
db/sql/sqlitedialect
Package sqlitedialect is a pure-Go GORM SQLite dialector.
Package sqlitedialect is a pure-Go GORM SQLite dialector.

Jump to

Keyboard shortcuts

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