stormpath/passport-stormpath — pull request #7 by robertjd (2014-09-18 21:21:30+00:00)
Title: use getAccount() after auth, new expansions option

* Call getAccount() after authenticateAccount in order to get a proper Account object

* Add new `expansions` option which allows you to specify which account resources should be expanded when getAccount() is called

See conversation in #3 and 73c71136128cb6148bbdbb4b5900d3d7e0ccd211