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.
40 lines (39 loc) • 986 B
JavaScript
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
class Login {
constructor({ access_token, refresh_token, token_type, expires_in, id, username, roles, api_key, }) {
this._access_token = access_token;
this._refresh_token = refresh_token;
this._token_type = token_type;
this._expires_in = expires_in;
this._id = id;
this._username = username;
this._roles = roles;
this._api_key = api_key;
}
get access_token() {
return this._access_token;
}
get refresh_token() {
return this._refresh_token;
}
get token_type() {
return this._token_type;
}
get expires_in() {
return this._expires_in;
}
get id() {
return this._id;
}
get username() {
return this._username;
}
get roles() {
return this._roles;
}
get api_key() {
return this._api_key;
}
}
exports.default = Login;