remove_path


Description:

public void remove_path (string path)

Removes path from this, such that requests under path on this's server will NOT require authentication.

This is not simply an undo-er for add_path; it can be used to "carve out" a subtree that does not require authentication inside a hierarchy that does. Note also that unlike with add_path, this cannot be overridden by adding a filter, as filters can only bypass authentication that would otherwise be required, not require it where it would otherwise be unnecessary.

You can also remove paths by setting the AUTH_DOMAIN_REMOVE_PATH property, which can also be used to remove one or more paths at construct time.

Parameters:

this

a AuthDomain

path

the path to remove from this




2022 vala-language.org