LogmeIn OAuth2.0 token validation Node.js module
This project contains a Node.js module that can be used by LogmeIn clients to validate the access_token
upon a resource owner's confirmation for granting access to its resources or a set of them.
In order to use this module add it to your dependencies:
$ npm install logmein-client-validation --save
Inside your application code, import the token validator from the module:
var validator = ;
If your client is using its own infrastructure,
host
,port
andapiVersion
can be passed to the validator as a configuration object.
Example of access_token
validation:
validator;
A working example of token validation using this module can be found at logmein-client-app-sample.