1.0.6 • Published 3 years ago

nekocas v1.0.6

Weekly downloads
17
License
Apache-2.0
Repository
github
Last release
3 years ago

NekoCAS_Node_SDK

NekoCAS SDK for Node

Installation

npm install nekocas

Begin to use

var NekoCAS = require('nekocas');

// Input the NekoCAS URL and the service secret.
var cas = new NekoCAS("https://cas.n3ko.co", "1aa05ba333b469f580a0577b1a86a5af")

// Validate the ticket.
cas.validate("ST-YEQLkc9WQCDRoo7Io9lKPOZY5uyptzkY").then((data) => {
    console.log(`usertoken: ${data.token}`)
}).catch(console.log)
1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago