mirror of
https://github.com/cheveguerra/whatsapp-web.js.git
synced 2026-04-18 03:29:14 +00:00
* auth strategies * default to no auth * rename base auth strategy * rename base strategy cont. * refactor auth strategy methods and LocalAuth * activate old session options even if is falsy value * move restartOnAuthFail to LegacyAuthStrategy option * add link to guide item * update example/shell * types
12 lines
237 B
JavaScript
12 lines
237 B
JavaScript
'use strict';
|
|
|
|
const BaseAuthStrategy = require('./BaseAuthStrategy');
|
|
|
|
/**
|
|
* No session restoring functionality
|
|
* Will need to authenticate via QR code every time
|
|
*/
|
|
class NoAuth extends BaseAuthStrategy { }
|
|
|
|
|
|
module.exports = NoAuth; |