From d5d3ce7e4b7c5ba861ea4d170b3ddc17769bdd85 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ug=CC=A7is=20Ozols?= Date: Fri, 17 Jan 2014 16:05:20 +0200 Subject: [PATCH] Fix docs: options.serverTokenRoute -> options.serverTokenEndpoint. --- packages/ember-simple-auth/lib/core.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/ember-simple-auth/lib/core.js b/packages/ember-simple-auth/lib/core.js index 04c8d3160..fca62de99 100644 --- a/packages/ember-simple-auth/lib/core.js +++ b/packages/ember-simple-auth/lib/core.js @@ -30,7 +30,7 @@ Ember.SimpleAuth = {}; @param {String} [options.routeAfterLogin] route to redirect the user to after successfully logging in - defaults to `'index'` @param {String} [options.routeAfterLogout] route to redirect the user to after logging out - defaults to `'index'` @param {String} [options.loginRoute] route to redirect the user to when login is required - defaults to `'login'` - @param {String} [options.serverTokenRoute] the server endpoint used to obtain the access token - defaults to `'/token'` + @param {String} [options.serverTokenEndpoint] the server endpoint used to obtain the access token - defaults to `'/token'` @param {String} [options.autoRefreshToken] enable/disable automatic token refreshing (if the server supports it) - defaults to `true` @param {Array[String]} [options.crossOriginWhitelist] list of origins that (besides the origin of the Ember.js application) send the authentication token to - defaults to `[]` **/