This repository was archived by the owner on Sep 10, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +23
-0
lines changed
crates/handlers/src/admin Expand file tree Collapse file tree 4 files changed +23
-0
lines changed Original file line number Diff line number Diff line change 64
64
. nest ( "/api/admin/v1" , self :: v1:: router ( ) )
65
65
. finish_api_with ( & mut api, |t| {
66
66
t. title ( "Matrix Authentication Service admin API" )
67
+ . tag ( Tag {
68
+ name : "oauth2-session" . to_owned ( ) ,
69
+ description : Some ( "Manage OAuth2 sessions" . to_owned ( ) ) ,
70
+ ..Tag :: default ( )
71
+ } )
67
72
. tag ( Tag {
68
73
name : "user" . to_owned ( ) ,
69
74
description : Some ( "Manage users" . to_owned ( ) ) ,
Original file line number Diff line number Diff line change @@ -23,6 +23,7 @@ use mas_storage::BoxRng;
23
23
use super :: call_context:: CallContext ;
24
24
use crate :: passwords:: PasswordManager ;
25
25
26
+ mod oauth2_sessions;
26
27
mod users;
27
28
28
29
pub fn router < S > ( ) -> ApiRouter < S >
Original file line number Diff line number Diff line change
1
+ // Copyright 2024 The Matrix.org Foundation C.I.C.
2
+ //
3
+ // Licensed under the Apache License, Version 2.0 (the "License");
4
+ // you may not use this file except in compliance with the License.
5
+ // You may obtain a copy of the License at
6
+ //
7
+ // http://www.apache.org/licenses/LICENSE-2.0
8
+ //
9
+ // Unless required by applicable law or agreed to in writing, software
10
+ // distributed under the License is distributed on an "AS IS" BASIS,
11
+ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ // See the License for the specific language governing permissions and
13
+ // limitations under the License.
Original file line number Diff line number Diff line change 1027
1027
}
1028
1028
],
1029
1029
"tags" : [
1030
+ {
1031
+ "name" : " oauth2-session" ,
1032
+ "description" : " Manage OAuth2 sessions"
1033
+ },
1030
1034
{
1031
1035
"name" : " user" ,
1032
1036
"description" : " Manage users"
You can’t perform that action at this time.
0 commit comments