Skip to content

ugswork/auth

 
 

Repository files navigation

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

About

authentication services for kbase

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Perl 36.7%
  • Java 29.3%
  • Python 28.0%
  • HTML 3.8%
  • Makefile 2.1%
  • Shell 0.1%