identity

package
v0.0.0-...-86254be Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2026 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Overview

Package identity provides an IntegrationProvider for delegation management. It exposes capabilities for creating, resolving, revoking, and validating delegations between user-owned identities and AI agents.

The guardian-of-synthetic-identity model that lived here previously was retired when the user / identity / partition-access model was restructured. Guardian approval now lives on v1:identity:delegation directly (guardianApproved flag on the delegation row).

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IdentityIntegration

type IdentityIntegration struct {
	// contains filtered or unexported fields
}

IdentityIntegration exposes delegation operations as DSL-callable capabilities. Auth middleware (identity-issued JWT verification) lives in component/identity/verifier/ and component/auth/. Per-row authorization is enforced inside DSL queries + mutations; see docs/public/operate/auth/per-row-authz-audit.md.

func NewIdentityIntegration

func NewIdentityIntegration() *IdentityIntegration

NewIdentityIntegration creates an identity integration.

func NewIdentityIntegrationWithEngine

func NewIdentityIntegrationWithEngine(engine memql.IntegrationEngineAccess, db func() *bun.DB, logger *slog.Logger) *IdentityIntegration

NewIdentityIntegrationWithEngine enables the capabilities that read and write through the engine, including audited user edits and ownership transfer.

func (*IdentityIntegration) Capabilities

func (i *IdentityIntegration) Capabilities() []memql.IntegrationCapability

Capabilities returns DSL-callable delegation operations.

func (*IdentityIntegration) IntegrationName

func (i *IdentityIntegration) IntegrationName() string

IntegrationName returns the stable identifier.

func (*IdentityIntegration) SetGitHubAppRows

func (i *IdentityIntegration) SetGitHubAppRows(rows githubconnect.RowReader)

SetGitHubAppRows hands over the two instance-wide row readers, so GitHub Connect can see an app that was registered from the product rather than set in the deployment. Called once, by the plug-in factory.

Jump to

Keyboard shortcuts

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