Skip to content

Commit

Permalink
Merge pull request #66 from ugisozols/fix_docs
Browse files Browse the repository at this point in the history
Fix docs: options.serverTokenRoute -> options.serverTokenEndpoint.
  • Loading branch information
marcoow committed Jan 17, 2014
2 parents 81ee964 + d5d3ce7 commit de3d1b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/ember-simple-auth/lib/core.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 `[]`
**/
Expand Down

0 comments on commit de3d1b8

Please sign in to comment.