graph_rs_sdk/users/authentication/
request.rs

1// GENERATED CODE
2
3use crate::api_default_imports::*;
4
5api_client!(AuthenticationApiClient, ResourceIdentity::Authentication);
6
7impl AuthenticationApiClient {
8    delete!(
9        doc: "Delete navigation property authentication for users",
10        name: delete_authentication,
11        path: "/authentication"
12    );
13    get!(
14        doc: "Get authentication from users",
15        name: get_authentication,
16        path: "/authentication"
17    );
18    patch!(
19        doc: "Update the navigation property authentication in users",
20        name: update_authentication,
21        path: "/authentication",
22        body: true
23    );
24    post!(
25        doc: "Create emailMethod",
26        name: create_email_methods,
27        path: "/authentication/emailMethods",
28        body: true
29    );
30    get!(
31        doc: "List emailMethods",
32        name: list_email_methods,
33        path: "/authentication/emailMethods"
34    );
35    get!(
36        doc: "Get the number of the resource",
37        name: get_email_methods_count,
38        path: "/authentication/emailMethods/$count"
39    );
40    delete!(
41        doc: "Delete navigation property emailMethods for users",
42        name: delete_email_methods,
43        path: "/authentication/emailMethods/{{id}}",
44        params: email_authentication_method_id
45    );
46    get!(
47        doc: "Get emailMethods from users",
48        name: get_email_methods,
49        path: "/authentication/emailMethods/{{id}}",
50        params: email_authentication_method_id
51    );
52    patch!(
53        doc: "Update the navigation property emailMethods in users",
54        name: update_email_methods,
55        path: "/authentication/emailMethods/{{id}}",
56        body: true,
57        params: email_authentication_method_id
58    );
59    get!(
60        doc: "Get fido2Methods from users",
61        name: authentication,
62        path: "/authentication/fido2Methods"
63    );
64    get!(
65        doc: "Get the number of the resource",
66        name: get_fido_2_methods_count,
67        path: "/authentication/fido2Methods/$count"
68    );
69    delete!(
70        doc: "Delete navigation property fido2Methods for users",
71        name: delete_fido_2_authentication,
72        path: "/authentication/fido2Methods/{{id}}",
73        params: fido_2_authentication_method_id
74    );
75    get!(
76        doc: "Get fido2Methods from users",
77        name: get_fido_2_authentication,
78        path: "/authentication/fido2Methods/{{id}}",
79        params: fido_2_authentication_method_id
80    );
81    post!(
82        doc: "Create new navigation property to methods for users",
83        name: create_methods,
84        path: "/authentication/methods",
85        body: true
86    );
87    get!(
88        doc: "List methods",
89        name: list_methods,
90        path: "/authentication/methods"
91    );
92    get!(
93        doc: "Get the number of the resource",
94        name: get_methods_count,
95        path: "/authentication/methods/$count"
96    );
97    get!(
98        doc: "Get methods from users",
99        name: get_methods,
100        path: "/authentication/methods/{{id}}",
101        params: authentication_method_id
102    );
103    patch!(
104        doc: "Update the navigation property methods in users",
105        name: update_methods,
106        path: "/authentication/methods/{{id}}",
107        body: true,
108        params: authentication_method_id
109    );
110    post!(
111        doc: "Invoke action resetPassword",
112        name: reset_password,
113        path: "/authentication/methods/{{id}}/resetPassword",
114        body: true,
115        params: authentication_method_id
116    );
117    get!(
118        doc: "List microsoftAuthenticatorAuthenticationMethods",
119        name: list_microsoft_authenticator_methods,
120        path: "/authentication/microsoftAuthenticatorMethods"
121    );
122    get!(
123        doc: "Get the number of the resource",
124        name: get_microsoft_authenticator_methods_count,
125        path: "/authentication/microsoftAuthenticatorMethods/$count"
126    );
127    delete!(
128        doc: "Delete navigation property microsoftAuthenticatorMethods for users",
129        name: delete_microsoft_authenticator_methods,
130        path: "/authentication/microsoftAuthenticatorMethods/{{id}}",
131        params: microsoft_authenticator_authentication_method_id
132    );
133    get!(
134        doc: "Get microsoftAuthenticatorMethods from users",
135        name: get_microsoft_authenticator_methods,
136        path: "/authentication/microsoftAuthenticatorMethods/{{id}}",
137        params: microsoft_authenticator_authentication_method_id
138    );
139    get!(
140        doc: "Get device from users",
141        name: get_device,
142        path: "/authentication/microsoftAuthenticatorMethods/{{id}}/device",
143        params: microsoft_authenticator_authentication_method_id
144    );
145    post!(
146        doc: "Create new navigation property to operations for users",
147        name: create_operations,
148        path: "/authentication/operations",
149        body: true
150    );
151    get!(
152        doc: "Get operations from users",
153        name: list_operations,
154        path: "/authentication/operations"
155    );
156    get!(
157        doc: "Get the number of the resource",
158        name: get_operations_count,
159        path: "/authentication/operations/$count"
160    );
161    delete!(
162        doc: "Delete navigation property operations for users",
163        name: delete_operations,
164        path: "/authentication/operations/{{id}}",
165        params: long_running_operation_id
166    );
167    get!(
168        doc: "Get operations from users",
169        name: get_operations,
170        path: "/authentication/operations/{{id}}",
171        params: long_running_operation_id
172    );
173    patch!(
174        doc: "Update the navigation property operations in users",
175        name: update_operations,
176        path: "/authentication/operations/{{id}}",
177        body: true,
178        params: long_running_operation_id
179    );
180    post!(
181        doc: "Create new navigation property to passwordMethods for users",
182        name: create_password_methods,
183        path: "/authentication/passwordMethods",
184        body: true
185    );
186    get!(
187        doc: "List passwordMethods",
188        name: list_password_methods,
189        path: "/authentication/passwordMethods"
190    );
191    get!(
192        doc: "Get the number of the resource",
193        name: get_password_methods_count,
194        path: "/authentication/passwordMethods/$count"
195    );
196    get!(
197        doc: "Get passwordMethods from users",
198        name: get_password_methods,
199        path: "/authentication/passwordMethods/{{id}}",
200        params: password_authentication_method_id
201    );
202    post!(
203        doc: "Create phoneMethod",
204        name: create_phone_methods,
205        path: "/authentication/phoneMethods",
206        body: true
207    );
208    get!(
209        doc: "List phoneMethods",
210        name: list_phone_methods,
211        path: "/authentication/phoneMethods"
212    );
213    get!(
214        doc: "Get the number of the resource",
215        name: get_phone_methods_count,
216        path: "/authentication/phoneMethods/$count"
217    );
218    delete!(
219        doc: "Delete navigation property phoneMethods for users",
220        name: delete_phone_methods,
221        path: "/authentication/phoneMethods/{{id}}",
222        params: phone_authentication_method_id
223    );
224    get!(
225        doc: "Get phoneMethods from users",
226        name: get_phone_methods,
227        path: "/authentication/phoneMethods/{{id}}",
228        params: phone_authentication_method_id
229    );
230    patch!(
231        doc: "Update the navigation property phoneMethods in users",
232        name: update_phone_methods,
233        path: "/authentication/phoneMethods/{{id}}",
234        body: true,
235        params: phone_authentication_method_id
236    );
237    post!(
238        doc: "Invoke action disableSmsSignIn",
239        name: disable_sms_sign_in,
240        path: "/authentication/phoneMethods/{{id}}/disableSmsSignIn",
241        params: phone_authentication_method_id
242    );
243    post!(
244        doc: "Invoke action enableSmsSignIn",
245        name: enable_sms_sign_in,
246        path: "/authentication/phoneMethods/{{id}}/enableSmsSignIn",
247        params: phone_authentication_method_id
248    );
249    get!(
250        doc: "List softwareOathMethods",
251        name: list_software_oath_methods,
252        path: "/authentication/softwareOathMethods"
253    );
254    get!(
255        doc: "Get the number of the resource",
256        name: count,
257        path: "/authentication/softwareOathMethods/$count"
258    );
259    delete!(
260        doc: "Delete navigation property softwareOathMethods for users",
261        name: delete_software_oath_methods,
262        path: "/authentication/softwareOathMethods/{{id}}",
263        params: software_oath_authentication_method_id
264    );
265    get!(
266        doc: "Get softwareOathMethods from users",
267        name: get_software_oath_methods,
268        path: "/authentication/softwareOathMethods/{{id}}",
269        params: software_oath_authentication_method_id
270    );
271    post!(
272        doc: "Create temporaryAccessPassMethod",
273        name: create_temporary_access_pass_methods,
274        path: "/authentication/temporaryAccessPassMethods",
275        body: true
276    );
277    get!(
278        doc: "List temporaryAccessPassMethods",
279        name: list_temporary_access_pass_methods,
280        path: "/authentication/temporaryAccessPassMethods"
281    );
282    get!(
283        doc: "Get the number of the resource",
284        name: get_temporary_access_pass_methods_count,
285        path: "/authentication/temporaryAccessPassMethods/$count"
286    );
287    delete!(
288        doc: "Delete navigation property temporaryAccessPassMethods for users",
289        name: delete_temporary_access_pass_methods,
290        path: "/authentication/temporaryAccessPassMethods/{{id}}",
291        params: temporary_access_pass_authentication_method_id
292    );
293    get!(
294        doc: "Get temporaryAccessPassMethods from users",
295        name: get_temporary_access_pass_methods,
296        path: "/authentication/temporaryAccessPassMethods/{{id}}",
297        params: temporary_access_pass_authentication_method_id
298    );
299    get!(
300        doc: "List windowsHelloForBusinessAuthenticationMethods",
301        name: list_windows_hello_for_business_methods,
302        path: "/authentication/windowsHelloForBusinessMethods"
303    );
304    get!(
305        doc: "Get the number of the resource",
306        name: get_windows_hello_for_business_methods_count,
307        path: "/authentication/windowsHelloForBusinessMethods/$count"
308    );
309    delete!(
310        doc: "Delete navigation property windowsHelloForBusinessMethods for users",
311        name: delete_windows_hello_for_business_methods,
312        path: "/authentication/windowsHelloForBusinessMethods/{{id}}",
313        params: windows_hello_for_business_authentication_method_id
314    );
315    get!(
316        doc: "Get windowsHelloForBusinessMethods from users",
317        name: get_windows_hello_for_business_methods,
318        path: "/authentication/windowsHelloForBusinessMethods/{{id}}",
319        params: windows_hello_for_business_authentication_method_id
320    );
321    get!(
322        doc: "Get device from users",
323        name: get_windows_hello_for_business_methods_device,
324        path: "/authentication/windowsHelloForBusinessMethods/{{id}}/device",
325        params: windows_hello_for_business_authentication_method_id
326    );
327}