UNPKG

finerio-pfm-unnax

Version:

This SDK lets you connect to [Finerio PFM API Unnax](http://ec2-3-16-174-50.us-east-2.compute.amazonaws.com:8082/swagger-ui/index.html#/) in an easier way.

21 lines (20 loc) 659 B
import { LoginResponse } from "../interfaces/login/LoginResponse"; export default class Login implements LoginResponse { private _access_token; private _refresh_token; private _token_type; private _expires_in; private _id; private _username; private _roles; private _api_key; constructor({ access_token, refresh_token, token_type, expires_in, id, username, roles, api_key, }: LoginResponse); get access_token(): string; get refresh_token(): string; get token_type(): string; get expires_in(): number; get id(): number; get username(): string; get roles(): string[]; get api_key(): string; }