@plasma-platform/service-auth
v1.3.0
Published
Service Auth Api
Downloads
46
Readme
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>