feat: Allow devices to be removed from the account panel

This commit is contained in:
Ginger committed 2026-06-29 09:35:48 -04:00
1 parent a91fc7041a
commit ed1b175fa4
9 files changed
+172 -41

No files matched your search

+6 -7
View File
@@ -4,13 +4,12 @@ use ruma::{api::client::discovery::get_authorization_server_metadata, serde::Raw
use serde_json::{Value, json};
use service::Services;
use crate::Ruma;
pub(super) const AUTH_CODE_PATH: &str = "grant/authorization_code";
pub(super) const JWKS_URI_PATH: &str = "client/keys.json";
pub(super) const CLIENT_REGISTER_PATH: &str = "client/register";
pub(super) const TOKEN_REVOKE_PATH: &str = "client/revoke";
pub(super) const TOKEN_PATH: &str = "grant/token";
use crate::{
Ruma,
client::oauth::{
AUTH_CODE_PATH, CLIENT_REGISTER_PATH, JWKS_URI_PATH, TOKEN_PATH, TOKEN_REVOKE_PATH,
},
};
pub(crate) async fn get_authorization_server_metadata_route(
State(services): State<crate::State>,