@shop25/cp-auth
v0.0.15
Published
auth in widgets
Downloads
12
Readme
Install
npm i @shop25/cp-auth
Usage
import { getAuthService } from '@shop25/cp-auth'
const service = getAuthService('https://base-url.com');
service.getAuthToken();
service.getUser();
service.logout();
# logout пока не работает (ошибка csrf).