Auth.getProtectionSpace

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.)

class Auth
string[]
getProtectionSpace

Parameters

sourceUri glib.uri.Uri

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

Return Value

Type: string[]

the list of paths, which can be freed with soup.auth.Auth.freeProtectionSpace.