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 @@ -22,6 +22,7 @@ use mas_storage::BoxRng;
22
22
23
23
use super :: call_context:: CallContext ;
24
24
25
+ mod oauth2_sessions;
25
26
mod users;
26
27
27
28
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 775
775
}
776
776
],
777
777
"tags" : [
778
+ {
779
+ "name" : " oauth2-session" ,
780
+ "description" : " Manage OAuth2 sessions"
781
+ },
778
782
{
779
783
"name" : " user" ,
780
784
"description" : " Manage users"
You can’t perform that action at this time.
0 commit comments