Auth.getProtectionSpace

string[] getProtectionSpace(glib.uri.Uri sourceUri)

Returns a list of paths on the server which auth extends over.

(All subdirectories of these paths are also assumed to be part of auth's protection space, unless otherwise discovered not to be.)

Parameters

sourceUrithe URI of the request that auth was generated in response to.

Returns

the list of

paths, which can be freed with [soup.auth.Auth.freeProtectionSpace].