Add all the user request handling
parent: tbd commit: e3bda14
1 | |
2 | |
3 | |
4 | |
5 | |
6 | use Error; |
7 | use async_trait; |
8 | |
9 | use crate:: |
10 | |
11 | |
12 | AuthenticationTokenRequest, AuthenticationTokenResponse, RegisterAccountRequest, |
13 | RegisterAccountResponse, |
14 | , |
15 | , | DiscoveryMessage
16 | |
17 | CreateRepositoryRequest, CreateRepositoryResponse, RepositoryFileInspectRequest, |
18 | RepositoryFileInspectionResponse, RepositoryInfoRequest, RepositoryIssueLabelsRequest, |
19 | RepositoryIssueLabelsResponse, RepositoryIssuesCountRequest, |
20 | RepositoryIssuesCountResponse, RepositoryIssuesRequest, RepositoryIssuesResponse, |
21 | , |
22 | |
23 | UserBioRequest, UserBioResponse, UserDisplayImageRequest, UserDisplayImageResponse, |
24 | UserDisplayNameRequest, UserDisplayNameResponse, |
25 | , |
26 | ValidatedUserAuthenticated, |
27 | , |
28 | |
29 | , |
30 | , | User
31 | , |
32 | ; |
33 | |
34 | |
35 | |
36 | async |
37 | &mut self, |
38 | request: & , |
39 | ; |
40 | async |
41 | &mut self, |
42 | request: & , |
43 | ; |
44 | |
45 | &mut self, |
46 | request: & , |
47 | ; |
48 | async ; |
49 | |
50 | |
51 | |
52 | |
53 | &mut self, |
54 | request: & , |
55 | ; |
56 | |
57 | &mut self, |
58 | request: & , |
59 | ; |
60 | |
61 | &mut self, |
62 | request: & , |
63 | ; |
64 | |
65 | |
66 | |
67 | |
68 | async |
69 | &mut self, |
70 | request: RegisterAccountRequest, |
71 | ; |
72 | |
73 | async |
74 | &mut self, |
75 | request: AuthenticationTokenRequest, |
76 | ; |
77 | |
78 | |
79 | |
80 | |
81 | async |
82 | &mut self, |
83 | request: UserDisplayNameRequest, |
84 | ; |
85 | |
86 | async |
87 | &mut self, |
88 | request: UserDisplayImageRequest, |
89 | ; |
90 | |
91 | async ; |
92 | |
93 | |
94 | |
95 | |
96 | async ; |
97 | async ; |
98 | |
99 |