Giter Site home page Giter Site logo

authnet's Introduction

AuthNet

Netduino powered two-step authentication for your home

Installation

There are two projects: Netduino and Node. Setup the Node server first, followed by the Netduino.

Node

To install all of the Node.js dependencies run:

npm install

Then setup your Twilio account with:

export TWILIO_ACCOUNT_SID=<your account sid>
export TWILIO_AUTH_TOKEN=<your auth token>
export TWILIO_PHONE_NUMBER=<your Twilio number>

Then you can start the Node server:

npm start

Netduino

Open the project solution in Visual Studio 2013 that is setup for Netduino development. See development environment section of http://www.netduino.com/downloads/

Change the _Host to be the IP address of your Node server.

Go to menu Debug and click Start Debugging. Click Continue for any exceptions that occur.

authnet's People

Contributors

glavin001 avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

cloudxtreme

authnet's Issues

Enter number code

  • Press buttons to append number to code
  • The # button is submit
    • Forward to Node
    • Clear current code

Web app

  • Login with 1st code
    • Send text for 2nd code
  • 2nd stage of Login with 2nd code
  • Add / Remove friends (like application specific codes)
    • Add friend's phone number
    • Create 1st code and store it
    • call phone number and tell their 1st code (see #9)
  • Remotely (un)lock

Create user passcodes

  • Receive user's texts from Twilio
  • Collect user info
    • Extract cell phone # from text
    • Ask for user's name
    • Ask for user's lock #
    • Ask for user's desired 1st step passcode
  • Create user with info
    • call user to give code (see #9 )

Validate Codes

  • Check if code exists
    • check both user codes and temp (second step) auth codes
    • If no, send negative confirmation to Netduino
    • if yes, send positive confirmation to Netduino
      • get user (and cellphone number) for code
      • generate second step code
      • store second step code as temporary code
      • text second code to user ( #2 )

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.