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 62
62
. nest ( "/api/admin/v1" , self :: v1:: router ( ) )
63
63
. finish_api_with ( & mut api, |t| {
64
64
t. title ( "Matrix Authentication Service admin API" )
65
+ . tag ( Tag {
66
+ name : "oauth2-session" . to_owned ( ) ,
67
+ description : Some ( "Manage OAuth2 sessions" . to_owned ( ) ) ,
68
+ ..Tag :: default ( )
69
+ } )
65
70
. tag ( Tag {
66
71
name : "user" . to_owned ( ) ,
67
72
description : Some ( "Manage users" . to_owned ( ) ) ,
Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ use mas_storage::BoxRng;
19
19
20
20
use super :: call_context:: CallContext ;
21
21
22
+ mod oauth2_sessions;
22
23
mod users;
23
24
24
25
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 706
706
}
707
707
],
708
708
"tags" : [
709
+ {
710
+ "name" : " oauth2-session" ,
711
+ "description" : " Manage OAuth2 sessions"
712
+ },
709
713
{
710
714
"name" : " user" ,
711
715
"description" : " Manage users"
You can’t perform that action at this time.
0 commit comments