deluge.core.authmanager

class deluge.core.authmanager.AuthManager

Bases: deluge.component.Component

authorize(username, password)

Authorizes users based on username and password

Parameters:
  • username – str, username
  • password – str, password
Returns:

int, the auth level for this user

Return type:

int

Raises BadLoginError:
 

if the username does not exist or password does not match

shutdown()
start()
stop()
exception deluge.core.authmanager.BadLoginError
Bases: deluge.error.DelugeError

Previous topic

deluge.core.alertmanager

Next topic

deluge.core.autoadd

This Page