wsgidav.dc.simple_dc.SimpleDomainController#

class wsgidav.dc.simple_dc.SimpleDomainController(wsgidav_app, config)[source]#

Bases: BaseDomainController

SimpleDomainController.known_permissions

A domain controller MAY list these values as environ["wsgidav.auth.permissions"] = (<permission>, ...)

SimpleDomainController.known_roles

A DC may list these values as environ["wsgidav.auth.roles"] = (<role>, ...)

SimpleDomainController.basic_auth_user(...)

Returns True if this user_name/password pair is valid for the realm, False otherwise.

SimpleDomainController.digest_auth_user(...)

Computes digest hash A1 part.

SimpleDomainController.get_domain_realm(...)

Resolve a relative url to the appropriate realm name.

SimpleDomainController.is_share_anonymous(...)

Return true if anonymous access will be granted to the share path.

SimpleDomainController.require_authentication(...)

Return True if this realm requires authentication (grant anonymous access otherwise).

SimpleDomainController.supports_http_digest_auth()

Signal if this DC instance supports the HTTP digest authentication theme.