I'm upgrading a D6 site to D7 and since the current version of tokenauth is listed as alpha I decided to look at what changed. I see that hook_init was replaced with hook_menu_get_item_alter. I also see the comment in the source that, "Token authenticate user before current page is calculated." I assume that's because D7 changed such that hook_init isn't called for cached pages, which is mentioned in the documentation for hook_init.

That same documentation mentions hook_boot, which includes the documentation statement, "This hook is run at the beginning of the page request." Reading that, I would have thought hook_boot would be the next most logical place for the D7 tokenauth code. Could/Would you explain why you choose hook_menu_get_item_alter rather than hook_boot? Perhaps both would work equally, but is there a reason to specifically avoid using hook_boot?

Perhaps a brief public discussion of this change will help get the module closer to release status than alpha. The community owes you many thanks for maintaining this.