From efc9fe0b9fb96bddd94ece672c68abb62452f2c0 Mon Sep 17 00:00:00 2001 From: Nick Martin Date: Fri, 15 Jun 2012 16:46:51 -0700 Subject: [PATCH] Cleanup sample files with service configuration. --- examples/todos/accounts/server/secrets.js | 5 +++++ examples/todos/accounts/services.js | 5 +++++ examples/todos/fb-app.js | 4 ---- examples/todos/google-api.js | 4 ---- examples/todos/server/fb-secret.js | 4 ---- examples/todos/server/google-secret.js | 4 ---- 6 files changed, 10 insertions(+), 16 deletions(-) create mode 100644 examples/todos/accounts/server/secrets.js create mode 100644 examples/todos/accounts/services.js delete mode 100644 examples/todos/fb-app.js delete mode 100644 examples/todos/google-api.js delete mode 100644 examples/todos/server/fb-secret.js delete mode 100644 examples/todos/server/google-secret.js diff --git a/examples/todos/accounts/server/secrets.js b/examples/todos/accounts/server/secrets.js new file mode 100644 index 0000000000..f1463cdeff --- /dev/null +++ b/examples/todos/accounts/server/secrets.js @@ -0,0 +1,5 @@ +// Modify and uncomment the following lines to configure login services. +// Also see accounts/services.js + +// Meteor.accounts.facebook.setSecret('SECRET'); +// Meteor.accounts.google.setSecret('SECRET'); diff --git a/examples/todos/accounts/services.js b/examples/todos/accounts/services.js new file mode 100644 index 0000000000..1ab4e5d6c2 --- /dev/null +++ b/examples/todos/accounts/services.js @@ -0,0 +1,5 @@ +// Modify and uncomment the following lines to configure login services. +// Also see accounts/server/secrets.js + +// Meteor.accounts.facebook.config('218833638237574', 'http://auth-todos.meteor.com'); +// Meteor.accounts.google.config('987846107089.apps.googleusercontent.com', 'http://auth-todos.meteor.com'); diff --git a/examples/todos/fb-app.js b/examples/todos/fb-app.js deleted file mode 100644 index f56c515482..0000000000 --- a/examples/todos/fb-app.js +++ /dev/null @@ -1,4 +0,0 @@ -// Uncomment and correct following line for integration with Facebook accounts. -// Also see server/fb-secret.js - -// Meteor.accounts.facebook.setup(218833638237574, 'http://auth-todos.meteor.com'); \ No newline at end of file diff --git a/examples/todos/google-api.js b/examples/todos/google-api.js deleted file mode 100644 index 7639342f02..0000000000 --- a/examples/todos/google-api.js +++ /dev/null @@ -1,4 +0,0 @@ -// Uncomment and correct following line for integration with Google accounts. -// Also see server/google-secret.js - -// Meteor.accounts.google.setup('987846107089.apps.googleusercontent.com', 'http://auth-todos.meteor.com'); diff --git a/examples/todos/server/fb-secret.js b/examples/todos/server/fb-secret.js deleted file mode 100644 index d442c37378..0000000000 --- a/examples/todos/server/fb-secret.js +++ /dev/null @@ -1,4 +0,0 @@ -// Uncomment and correct following line for integration with Facebook accounts. -// Also see ../fb-app.js - -// Meteor.accounts.facebook.setSecret('SECRET'); \ No newline at end of file diff --git a/examples/todos/server/google-secret.js b/examples/todos/server/google-secret.js deleted file mode 100644 index 822ca36683..0000000000 --- a/examples/todos/server/google-secret.js +++ /dev/null @@ -1,4 +0,0 @@ -// Uncomment and correct following line for integration with Google accounts. -// Also see ../google-api.js - -// Meteor.accounts.google.setSecret('SECRET'); \ No newline at end of file