matrixtoken

command module
v0.2.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 21, 2025 License: GPL-2.0 Imports: 16 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

matrixtoken

build coverage

The Client-Server Matrix protocol allows to limit registrations based on tokens, Synapse (and other Matrix servers) support this feature and have an admin API to manage these tokens.

matrixtoken is a tool that allows users of the system to generate Matrix registration tokens from the homeserver admin API, without being admins themselves.

It is supposed to be used with the SUID mode to allow it to read its config file containing the admin's access token. See the example configuration file for all the available options.

After it has been installed and configured, users can simply run:

matrixtoken

Which will return a token with a limited amount of uses and an expiration date (by default 1 use and 30 days of validity).

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
⌂ 换网址