authenticate user without password from email activation link

This question already has an answer here:

  • Can I programmatically login a user without a password?

    5 answers

Solutions Collecting From Web of "authenticate user without password from email activation link"