twitst4tz

twitter statistics web application
Log | Files | Refs | README | LICENSE

index.js (626B)


      1 // Copyright 2015 Joyent, Inc.
      2 
      3 var parser = require('./parser');
      4 var signer = require('./signer');
      5 var verify = require('./verify');
      6 var utils = require('./utils');
      7 
      8 
      9 
     10 ///--- API
     11 
     12 module.exports = {
     13 
     14   parse: parser.parseRequest,
     15   parseRequest: parser.parseRequest,
     16 
     17   sign: signer.signRequest,
     18   signRequest: signer.signRequest,
     19   createSigner: signer.createSigner,
     20   isSigner: signer.isSigner,
     21 
     22   sshKeyToPEM: utils.sshKeyToPEM,
     23   sshKeyFingerprint: utils.fingerprint,
     24   pemToRsaSSHKey: utils.pemToRsaSSHKey,
     25 
     26   verify: verify.verifySignature,
     27   verifySignature: verify.verifySignature,
     28   verifyHMAC: verify.verifyHMAC
     29 };