Versions in this module Expand all Collapse all v1 v1.13.0 Jul 1, 2026 Changes in this version + type ApiKeyService interface + Create func(ctx context.Context, actor *models.Actor, req types.CreateApiKeyRequest) (*types.CreateApiKeyResponse, error) + Delete func(ctx context.Context, actor *models.Actor, id string) error + DeleteAllByOwner func(ctx context.Context, actor *models.Actor, ownerType string, ownerID string) error + DeleteExpired func(ctx context.Context) error + GetAll func(ctx context.Context, actor *models.Actor, req types.GetApiKeysRequest) (*types.GetAllApiKeysResponse, error) + GetByID func(ctx context.Context, actor *models.Actor, id string) (*types.ApiKey, error) + RecordLastRequest func(ctx context.Context, id string, timestamp time.Time) (*types.ApiKey, error) + Update func(ctx context.Context, actor *models.Actor, id string, ...) (*types.ApiKey, error) + ValidatePermissionKeys func(ctx context.Context, permissionKeys []string) error + Verify func(ctx context.Context, req types.VerifyApiKeyRequest) (*types.VerifyApiKeyResult, error) + func NewApiKeyService(pluginConfig types.ApiKeyPluginConfig, userService rootservices.UserService, ...) ApiKeyService