export class User { constructor( public oss_token: string, public oss_username: string ) {} get token() { return this.oss_token; } get username() { return this.oss_username; } // get tokenDuration() { // if (!this.token) { // return 0; // } // return this.tokenExpirationDate.getTime() - new Date().getTime(); // } }