Class: LocalAuth

LocalAuth(options)

Local directory-based authentication

Constructor

new LocalAuth(options)

Parameters:
Name Type Description
options object

options

Properties
Name Type Description
clientId string

Client id to distinguish instances if you are using multiple, otherwise keep null if you are using only one instance

dataPath string

Change the default path for saving session files, default is: "./.wwebjs_auth/"

rmMaxRetries number

Sets the maximum number of retries for removing the session directory

Source: