Assigning and authenticating users with tokens in LiveView is a tedious process to implement. If possible, a generator for LiveView on_mount hooks would help developers get up to speed quickly, assuming requirements are met (see #15).
Acceptance Criteria
[ ] Must raise if User, UserKey, UserToken, or UserProfile schemas don't exist
[ ] Must generate :assign_user hook
[ ] Must generate :require_user hook
[ ] Must document considerations and customizability
Assigning and authenticating users with tokens in LiveView is a tedious process to implement. If possible, a generator for LiveView
on_mount
hooks would help developers get up to speed quickly, assuming requirements are met (see #15).Acceptance Criteria
User
,UserKey
,UserToken
, orUserProfile
schemas don't exist:assign_user
hook:require_user
hook