UNPKG

py-uni

Version:

py-uni

25 lines (23 loc) 629 B
/** * AccessToken */ export class AccessToken { access_token: string; refresh_token: string; expires_in: number; openid:string; scope:string constructor(options: { access_token?: string; refresh_token?: string; expires_in?: number; openid?: string; scope?: string; } = {}) { this.access_token = options.access_token || ''; this.refresh_token = options.refresh_token || ''; this.expires_in = options.expires_in || 0; this.openid = options.openid || ''; this.scope = options.scope || ''; } }