Sketching out Firefox Accounts IdP bridge

This commit is contained in:
Austin King 2013-07-30 16:08:38 -07:00
Коммит c635fff98c
5 изменённых файлов: 66 добавлений и 0 удалений

22
.gitignore поставляемый Normal file
Просмотреть файл

@ -0,0 +1,22 @@
*~
*.pyc
\#*\#
.\#*
*.swp
/node_modules
/var
/rpmbuild
/npm-debug.log
/resources/static/build
/resources/static/production
/resources/static/i18n
/resources/static/common/js/lib/bidbundle.js
/resources/static/common/js/lib/gobbledygook.js
/resources/static/dialog/views/site
.DS_Store
Thumbs.db
/locale
/resources/email_templates/email-test.html
/automation-tests/node_modules
/automation-tests/results
/automation-tests/*.jar

5
README.md Normal file
Просмотреть файл

@ -0,0 +1,5 @@
# Firefox Accounts Persona Bridge
This is a Node.js server which implements the Persona identity provider (IdP) protocol.
It allows users to sign in to Firefox Accounts (aka PICL).
It consumes the REST API which PICL provides.

28
package.json Normal file
Просмотреть файл

@ -0,0 +1,28 @@
{
"name": "firefox-account-bridge",
"version": "0.0.0",
"description": "Firefox Accounts Persona Bridge",
"scripts": {
"start": "server/bin/firefox_account_bridge.js",
"test": "nodeunit server/tests/*.js"
},
"repository": {
"type": "git",
"url": "https://github.com/mozilla/firefox_account_bridge"
},
"author": "",
"license": "MPL 2.0",
"dependencies": {
"client-sessions": "0.3.1",
"connect-cachify": "0.0.15",
"express": "3.3.4",
"i18n-abide": "0.0.11",
"nunjucks": "0.1.9"
},
"devDependencies": {
"nodeunit": "0.8.1",
"awsbox": "0.4.5",
"jshint": "0.9.1"
},
"readmeFilename": "README.md"
}

Просмотреть файл

@ -0,0 +1,6 @@
#!/usr/bin/env node
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */

Просмотреть файл

@ -0,0 +1,5 @@
{
"public-key": {"algorithm":"DS","y":"211e515a8351ff802ddcb072df774d0de4893c48470750c3021eeb1a589261a2ca4e33a1289de868f91a97ddd7f767ea00fdce67a33613671730a959fe0c0a85ae5ad50f71a40ef60dbd0a737b1e0c6f693ef17582fc7f90ed3df0426e559dad489dff25aaa7b41325c96ccaae2334bb917f776a77e6c63199e99a20ccc9d7b12224392ac7fa961d7c422d796ed241314e950932b2a10eacc0bcd7e48a6925693cbc477ffccec9affcc25dac5fed44d5b831bc838dc70830dedd0be7c17ca3a913cb8ae5383b881fa417e43e71e9a77c7d21d5d370f30bfd5157173c9537862794a9ba9585d4b6eb0d4af26bf09ead9b4762879f7d1a6fb81fb06f1461745d1e","p":"d6c4e5045697756c7a312d02c2289c25d40f9954261f7b5876214b6df109c738b76226b199bb7e33f8fc7ac1dcc316e1e7c78973951bfc6ff2e00cc987cd76fcfb0b8c0096b0b460fffac960ca4136c28f4bfb580de47cf7e7934c3985e3b3d943b77f06ef2af3ac3494fc3c6fc49810a63853862a02bb1c824a01b7fc688e4028527a58ad58c9d512922660db5d505bc263af293bc93bcd6d885a157579d7f52952236dd9d06a4fc3bc2247d21f1a70f5848eb0176513537c983f5a36737f01f82b44546e8e7f0fabc457e3de1d9c5dba96965b10a2a0580b0ad0f88179e10066107fb74314a07e6745863bc797b7002ebec0b000a98eb697414709ac17b401","q":"b1e370f6472c8754ccd75e99666ec8ef1fd748b748bbbc08503d82ce8055ab3b","g":"9a8269ab2e3b733a5242179d8f8ddb17ff93297d9eab00376db211a22b19c854dfa80166df2132cbc51fb224b0904abb22da2c7b7850f782124cb575b116f41ea7c4fc75b1d77525204cd7c23a15999004c23cdeb72359ee74e886a1dde7855ae05fe847447d0a68059002c3819a75dc7dcbb30e39efac36e07e2c404b7ca98b263b25fa314ba93c0625718bd489cea6d04ba4b0b7f156eeb4c56c44b50e4fb5bce9d7ae0d55b379225feb0214a04bed72f33e0664d290e7c840df3e2abb5e48189fa4e90646f1867db289c6560476799f7be8420a6dc01d078de437f280fff2d7ddf1248d56e1a54b933a41629d6c252983c58795105802d30d7bcd819cf6ef"},
"authentication": "/authentication",
"provisioning": "/provision"
}