Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

swauth

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

swauth

Swauth(Authentication middleware for Swift) REST client API for Node.JS

  • 0.1.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

Swauth

Swauth(Authentication middleware for Swift) REST client API for Node.JS

Installing

GIT

$ git clone git://github.com/firejune/swauth.git

NPM

$ npm install swauth

Code

var Swauth = require('swauth');

var swauth = new Swauth({
    user: '.super_user'
  , key:  'swauthkey'
  , host: '172.17.17.76'
  , port: 3030
});

// Admin Services
swauth.getAdminInfo(handlerFunction);

// Account Services
swauth.getAccountDetails(account, handlerFunction);
swauth.createAccount(account, handlerFunction);
swauth.deleteAccount(account, handlerFunction);

// User Services
swauth.getUserDetails(account, user, handlerFunction);
swauth.createUser(account, user, secret, handlerFunction);
swauth.deleteUser(account, user, handlerFunction);

// Other Services
swauth.setServiceEndpoints(account, handlerFunction);
swauth.getAccountGroups(account, handlerFunction);

Keywords

FAQs

Package last updated on 26 Jan 2012

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc