package auth import ( "context" "github.com/google/uuid" ) // PublicUsers provides public/community user profile access for plugins. type PublicUsers interface { GetByUsername(ctx context.Context, username string) (*PublicUserProfile, error) GetByID(ctx context.Context, id uuid.UUID) (*PublicUserProfile, error) } // PublicUserProfile is a plugin-facing view of a public user. type PublicUserProfile struct { ID uuid.UUID Email string Username string DisplayName string AvatarURL string Bio string EmailVerified bool Role string }