Skip to main content

Module tokens

Module tokens 

Source
Expand description

Synapse admin API: registration-token endpoints.

Modulesยง

create ๐Ÿ”’
delete ๐Ÿ”’
get ๐Ÿ”’
list ๐Ÿ”’
update ๐Ÿ”’

Functionsยง

database_token_response ๐Ÿ”’
Map a token and its stored metadata into the admin API wire shape. pending is always zero: tuwunel consumes uses in a single step with no two-phase registration model.
token_expires ๐Ÿ”’
token_response ๐Ÿ”’
Map a validated token into the admin API wire shape. Config-file tokens carry no usage state, so they read as unlimited, never expiring, and unused.