Revert authentication payload change
parent: tbd commit: 16b4bc2
1 | |
2 | |
3 | |
4 | |
5 | |
6 | |
7 | use Error; |
8 | use async_trait; |
9 | use Value; |
10 | |
11 | use crate GitBackendError; |
12 | use |
13 | |
14 | |
15 | AuthenticationTokenRequest, AuthenticationTokenResponse, RegisterAccountRequest, |
16 | RegisterAccountResponse, |
17 | , |
18 | |
19 | RepositoryCreateRequest, RepositoryCreateResponse, RepositoryFileInspectRequest, |
20 | RepositoryFileInspectionResponse, RepositoryInfoRequest, RepositoryIssueLabelsRequest, |
21 | RepositoryIssueLabelsResponse, RepositoryIssuesCountRequest, |
22 | RepositoryIssuesCountResponse, RepositoryIssuesRequest, RepositoryIssuesResponse, |
23 | , |
24 | |
25 | UserBioRequest, UserBioResponse, UserDisplayImageRequest, UserDisplayImageResponse, |
26 | UserDisplayNameRequest, UserDisplayNameResponse, |
27 | , |
28 | , |
29 | |
30 | , | Instance
31 | , |
32 | , | User
33 | , |
34 | ; |
35 | |
36 | |
37 | |
38 | async |
39 | &mut self, |
40 | user: &User, |
41 | request: &RepositoryCreateRequest, |
42 | ; |
43 | async |
44 | &mut self, |
45 | requester: , |
46 | request: &RepositoryInfoRequest, |
47 | ; |
48 | async |
49 | &mut self, |
50 | requester: , |
51 | request: &RepositoryFileInspectRequest, |
52 | ; |
53 | async |
54 | &mut self, |
55 | requester: , |
56 | user: &User, |
57 | ; |
58 | |
59 | |
60 | |
61 | |
62 | &mut self, |
63 | requester: , |
64 | request: &RepositoryIssuesCountRequest, |
65 | ; |
66 | |
67 | &mut self, |
68 | requester: , |
69 | request: &RepositoryIssueLabelsRequest, |
70 | ; |
71 | |
72 | &mut self, |
73 | requester: , |
74 | request: &RepositoryIssuesRequest, |
75 | ; |
76 | |
77 | |
78 | |
79 | |
80 | async |
81 | &mut self, |
82 | request: RegisterAccountRequest, |
83 | ; |
84 | |
85 | async |
86 | &mut self, |
87 | source: &Instance, |
88 | request: AuthenticationTokenRequest, |
89 | ; |
90 | |
91 | |
92 | |
93 | |
94 | async |
95 | &mut self, |
96 | request: UserDisplayNameRequest, |
97 | ; |
98 | |
99 | async |
100 | &mut self, |
101 | request: UserDisplayImageRequest, |
102 | ; |
103 | |
104 | async ; |
105 | async ; |
106 | |
107 | |
108 | |
109 | |
110 | async ; |
111 | async |
112 | ; |
113 | |
114 | async |
115 | &mut self, |
116 | repository: &Repository, |
117 | ; |
118 | async |
119 | &mut self, |
120 | repository: &Repository, |
121 | settings: &[ ], |
122 | ; |
123 | |
124 |