gatekeeper-sspi
GateKeeper Authentication compatible with the esoteric Microsoft GateKeeper SSPI
Last updated 4 years ago by jd .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install gatekeeper-sspi 
SYNC missed versions from official npm registry.

gatekeeper-sspi

GateKeeper SSPI compatible with the esoteric Microsoft GateKeeper SSPI Both GKSSPv2 and GKSSPv3 are supported.

This is a GateKeeper and GateKeeperPassport client library for use with Node.js. While node.js is the target, very little effort would be required to change the library for use in bare Javascript.

Usage:

NPM Installation

$ npm install --save gatekeeper-sspi

require

var GateKeeperClient = require('gatekeeper-sspi').Client

gkClient = new GateKeeperClient([host])

(String host) is optional and will cause gatekeeper-sspi to use v3 authentication (instead of the default v2 authentication)

gkClient.usePassport(String <passportTicket>, String <passportProfile>)

Forces gkClient to use 'GateKeeperPassport' mode. Must be called before gkClient.init()

gkClient.init()

Returns a Buffer object, containing the initial authentication string.

gkClient.process(Buffer <data>)

Returns a Buffer object, containing the reply to the supplied data. If supplied data is unexpected (incorrect), returns Boolean false.

Contributions: To contribute, please fork and issue a Pull Request. (Hint: README needs updating)

Current Tags

  • 0.0.2                                ...           latest (4 years ago)

1 Versions

  • 0.0.2                                ...           4 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 1
Dependencies (2)
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |