Skip to main content

admin_list_tokens_route

Function admin_list_tokens_route 

Source
pub(crate) async fn admin_list_tokens_route(
    __arg0: State<State>,
    body: Args<Request>,
) -> Result<Response>
Expand description

ยงGET /_synapse/admin/v1/registration_tokens

The store retains only valid tokens (expired or exhausted ones are cleaned on iteration), so valid=false yields an empty list.