Versions in this module Expand all Collapse all v0 v0.5.0 Oct 11, 2026 Changes in this version + type Store struct + func New(db *sql.DB, schema string) (*Store, error) + func (s *Store) ConsumeAssertion(ctx context.Context, use agentidentity.AssertionUse) (bool, error) + func (s *Store) CreateGrant(ctx context.Context, g agentidentity.Grant) error + func (s *Store) GetGrant(ctx context.Context, id string) (agentidentity.Grant, error) + func (s *Store) IsTokenRevoked(ctx context.Context, jtiHash string) (bool, error) + func (s *Store) ListGrants(ctx context.Context, owner agentidentity.Owner) ([]agentidentity.Grant, error) + func (s *Store) Record(ctx context.Context, e agentidentity.Audit) error + func (s *Store) RevokeGrant(ctx context.Context, id string, expectedVersion int64, actor string, ...) error + func (s *Store) RevokeToken(ctx context.Context, jtiHash, actor string, at, expiresAt time.Time) error