What are everyauth promises?
问题 I don't understand what everyauth promises are. I see that I need to return a promise object or user, but what is an everyauth promise? 回答1: It's useful when you have a function that performs authentication, but which does so asynchronously. You can't directly return user information from the function (because you have to wait for the callback to fire), so instead you return a promise . This is a special object that acts as a "placeholder" for what will eventually be filled with user