import BaseAPI from './BaseAPI' ; export default class Auth extends BaseAPI { public revoke ( test = null , extraArgs = { } ) { const args = { test , ... extraArgs } ; return this . _get ( 'auth.revoke' , args ) ; } public test ( extraArgs = { } ) { const args = { ... extraArgs } ; return this . _post ( 'auth.test' , args ) ; } }