зеркало из https://github.com/mozilla/fxa.git
8246673ba6 | ||
---|---|---|
.. | ||
client | ||
node | ||
tasks | ||
tests | ||
.eslintrc | ||
.jscsrc | ||
.nsprc | ||
.prettierignore | ||
.prettierrc | ||
AUTHORS | ||
CHANGELOG.md | ||
CONTRIBUTING.md | ||
Gruntfile.js | ||
LICENSE | ||
README.md | ||
package-lock.json | ||
package.json | ||
webpack.config.js |
README.md
fxa-js-client
Web client that talks to the Firefox Accounts API server
Install using Bower: bower install fxa-js-client
Install using npm: npm install fxa-js-client
Usage
<script src="../build/fxa-client.js"></script>
var client = new FxAccountClient();
// Sign Up
client.signUp(email, password);
// Sign In
client.signIn(email, password);
See Library Documentation for more.
Development
See CONTRIBUTING.md for details on building, developing, and testing the library.