Giter Site home page Giter Site logo

auth's Introduction

Dependencies

  • External Package

  • Required Perl libs (install using cpan)

    • Object::Tiny::RW
    • JSON
    • REST::Client
    • Digest::SHA1
    • Crypt::OpenSSL::RSA
    • Crypt::OpenSSL::X509
    • URI::Escape
    • URI::QueryParam
    • MIME::Base64
    • HTTP::Request
    • HTTP::Daemon
    • LWP::UserAgent
    • Net::OAuth
    • URI::Escape
    • Carp
    • Data::Dumper
    • Test::More
    • Crypt::SSLeay
    • Test::Deep::NoTest
    • Storable
    • Email::Valid

Google Doc for API

Perl libraries have built in perldocs. The authentication libraries use Globus Online's Nexus service for authentication. User accounts can be registered at:

https://www.globusonline.org/SignUp

There is a developer tutorial at:

http://www.kbase.us/developer-zone/tutorials/developer-tutorials/kbase-authentication/

Setup using the kbase VMs

======= 0. Start the VM (aka Magellan instance) and get on it as user ubuntu nova boot .... (options will change over time) ssh ubuntu@

(You will need an account on git.kbase.us--see https://trac.kbase.us/projects/kbase/wiki/SourceCodeVersionControlAndRelatedConfigurationManagement for instructions on how to obtain one.)

  1. Clone the dev_container repo as root, then cd to dev_container/modules and (still as root) clone the auth repo. sudo bash cd /kb git clone [email protected]:/dev_container.git [Note: when it asks for your passphrase, use your personal kbase passphrase--you don't need to know root's.] cd dev_container/modules git clone [email protected]:/auth.git cd .. ./bootstrap /kb/runtime . user-env.sh

  2. As root do a make deploy. This will install the perl libraries

  3. Run tests for the perl libraries make test

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.