Description

HTTP authentication to use.

This should be set before dialing.

Since 1.19

Values

  • username - HTTP authentication username
  • password - HTTP authentication password
  • method - Authentication method to use. Defaults to Efl.Net.Http.Authentication_Method.basic
  • restricted - Restrict method

Signature

@property authentication {
    get {
        values {
            username: free(string, free);
            password: free(string, free);
            method: Efl.Net.Http.Authentication_Method @optional;
            restricted: bool @optional;
        }
    }
    set {
        values {
            username: free(string, free);
            password: free(string, free);
            method: Efl.Net.Http.Authentication_Method @optional;
            restricted: bool @optional;
        }
    }
}

C signature

void efl_net_dialer_http_authentication_get(const Eo *obj, const char **username, const char **password, Efl_Net_Http_Authentication_Method *method, Eina_Bool *restricted);
void efl_net_dialer_http_authentication_set(Eo *obj, const char *username, const char *password, Efl_Net_Http_Authentication_Method method, Eina_Bool restricted);

Implemented by

  • Efl.Net.Dialer.Http.authentication