alexpods / meteor-accounts-vk

Login OAuth service for VKontakte accounts (https://vk.com)
MIT License
72 stars 21 forks source link

adding export of VK #2

Closed amaygurov closed 10 years ago

amaygurov commented 10 years ago

Make possibility to use VK.requestCredential() method outside package (to retrive access token). Useful and other packages like accounts-twitter and accounts-facebook support this.

alexpods commented 10 years ago

Good point! Thanks!

Actually I think api.export check is redundant. export method always exists without dependencies on any conditions (https://github.com/meteor/meteor/blob/devel/tools/packages.js#L1476). But well, this is not so important, I'm making merge.