API Docs for: 0.0.8
Show:

File: client/lib/constants.js

  1. /* This Source Code Form is subject to the terms of the Mozilla Public
  2. * License, v. 2.0. If a copy of the MPL was not distributed with this
  3. * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
  4. /**
  5. * Constants
  6. *
  7. * @class Constants
  8. * @static
  9. */
  10. define([], function () {
  11. 'use strict';
  12. return {
  13. /**
  14. * Default content server host
  15. * @property DEFAULT_CONTENT_HOST
  16. * @type {String}
  17. */
  18. DEFAULT_CONTENT_HOST: 'https://accounts.firefox.com',
  19. /**
  20. * Default oauth server host
  21. * @property DEFAULT_OAUTH_HOST
  22. * @type {String}
  23. */
  24. DEFAULT_OAUTH_HOST: 'https://oauth.accounts.firefox.com/v1',
  25. /**
  26. * Default profile server host
  27. * @property DEFAULT_PROFILE_HOST
  28. * @type {String}
  29. */
  30. DEFAULT_PROFILE_HOST: 'https://profile.accounts.firefox.com/v1',
  31. /**
  32. * Sign in action
  33. * @property SIGNIN_ACTION
  34. * @type {String}
  35. */
  36. SIGNIN_ACTION: 'signin',
  37. /**
  38. * Sign up action
  39. * @property SIGNUP_ACTION
  40. * @type {String}
  41. */
  42. SIGNUP_ACTION: 'signup',
  43. /**
  44. * Force auth action
  45. * @property FORCE_AUTH_ACTION
  46. * @type {String}
  47. */
  48. FORCE_AUTH_ACTION: 'force_auth',
  49. /**
  50. * Best choice action
  51. * @property BEST_CHOICE_ACTION
  52. * @type {String}
  53. */
  54. BEST_CHOICE_ACTION: null
  55. };
  56. });