@plasma-platform/service-auth

1.3.0 • Public • Published

version nextVersion downloads license dependency


Full documentation
install:
npm i @plasma-platform/service-auth -S

Short documentation

Table of Contents

ServiceAuth

Auth API

getTokenInfo

Get info about token

Examples

(async () => {
  const service = new Service(url, token);
  const request = await service.getTokenInfo();
})();

Returns Promise<any>

revokeToken

Revoke token

Examples

(async () => {
  const service = new Service(url, token);
  const request = await service.revokeToken();
})();

Returns Promise<any>

Package Sidebar

Install

npm i @plasma-platform/service-auth

Weekly Downloads

3

Version

1.3.0

License

CC-BY-4.0

Unpacked Size

15.7 kB

Total Files

6

Last publish

Collaborators

  • alienmonster
  • ch-tm
  • viram