HTTP authentication request More...
Import Statement: | import com.canonical.Oxide 1.15 |
Since: | OxideQt 1.9 |
Instantiates: | OxideQHttpAuthenticationRequest |
HttpAuthenticationRequest represents a request for HTTP authentication credentials. An authentication request is triggered when a site responds with a 401 Unauthorized response and a WWW-Authenticate header.
Request details are provided by host and realm. The application can respond by calling allow with the requested credentials or calling deny to decline the request.
A request can be cancelled by Oxide. In this case, the cancelled signal will be emitted.
If the application destroys the request without responding, the request will be automatically declined.
The host that the authentication request is for.
Note: This API is broken, as it currently returns the host/port pair
The protection space that this authentication request is for. This is provided by the realm attribute in the WWW-Authenticate HTTP header.
This signal is emitted if the request is cancelled by Oxide. This could happen if the application begins another navigation. If the application is displaying a UI to request authentication details, it should hide it if this signal is emitted.