lib/auth.js
function cancel(callback) {
    if (!deis._authenticated) {
      return callback(new Error('You need to login first'));
    }

    commons.del(format('/%s/auth/cancel/', deis.version), function() {
      deis.api.logout(callback);
    });
  }
function cancel(callback) {
    if (!deis._authenticated) {
      return callback(new Error('You need to login first'));
    }

    commons.del(format('/%s/auth/cancel/', deis.version), function() {
      deis.api.logout(callback);
    });
  }
function cancel ( callback ) { if ( ! deis . _authenticated ) { return callback ( new Error ( 'You need to login first' ) ) ; } commons . del ( format ( '/%s/auth/cancel/' , deis . version ) , function ( ) { deis . api . logout ( callback ) ; } ) ; }
remove the account currently logged
remove the account currently logged