jayrbolton / auth

authentication services for kbase

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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 kbase@git.kbase.us:/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 kbase@git.kbase.us:/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

About

authentication services for kbase

License:MIT License


Languages

Language:Java 37.7%Language:Python 35.3%Language:Perl 19.6%Language:HTML 4.8%Language:Makefile 2.7%Language:Shell 0.1%