MeteorJS がいつ認証を実装するかについて尋ねられました...このような素晴らしいプラットフォームについて、誰もがこれについて聞きたがっていると思います。
2 に答える
ブランチの作成者によると、彼らは今日最初のチャンクを完成させたばかりで、入力/テストの準備ができています:
https://github.com/meteor/meteor/wiki/Getting-started-with-Auth
If you want to get started with what's already there you can use Meteorite and create a project using the auth
branch of Meteor with:
mrt create newappname --branch auth
Then you can see how to add various authentication schemes and render pre-generated templates for allowing users to log in by reading through the Meteor Wiki here: https://github.com/meteor/meteor/wiki/Getting-started-with-Auth
For example, you get a template that provides the whole login button with form by placing something like {{> loginButtons}}
into one of your templates.
Remember that the implementation may still change and you'll want to switch your app back to master
once auth
gets merged in at a later stage to keep things more up-to-date. There are apps out there using auth
and they work fine. For an example, see Atmosphere.