aboutsummaryrefslogtreecommitdiffstats
path: root/pages/develop/api/efl/net/dialer/http/property/authentication.txt
blob: b85d44d390963152231f8a5ecbe654138a88ad52 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
~~Title: Efl.Net.Dialer.Http.authentication~~
===== Values =====

  * **username** - %%HTTP authentication username%%
  * **password** - %%HTTP authentication password%%
  * **method** - %%Authentication method to use, defaults to %%[[:develop:api:efl:net:http:authentication_method|Efl.Net.Http.Authentication_Method.basic]]%%%%
  * **restricted** - %%Restrict method%%
===== Description =====

%%HTTP authentication to use.%%

%%This should be set before dialing.%%

//Since 1.19//
{{page>:develop:api-include:efl:net:dialer:http:property:authentication:description&nouser&nolink&nodate}}


===== Signature =====

<code>
@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;
        }
    }
}
</code>

===== C signature =====

<code c>
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);
</code>

===== Implemented by =====

  * **Efl.Net.Dialer.Http.authentication**