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. |
|
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. |
|
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. |
Click to show internal directories.
Click to hide internal directories.