restauth-user manages users in RestAuth. Users are clients that want to authenticate with services that use RestAuth.
Note that restauth-user does not enforce restrictions on usernames as rigorously as the when handling users through the standard interface. Instead, only characters explicitly forbidden by the protocol specification are blocked. This way it is easy to handle users (about to be) imported from other systems.
restauth-user [-h] {add,ls,verify,set-password,rm,view} ...
Use one of the commands (either set-password, verify, list, add, rm or view) to perform the respective operation. Each command usually requires more arguments to it, see the respective section for arguments (and possible options) for each command.
To get an authoritative list of available commands, use:
restauth-user --help
If you want more information on a specific comannd, do:
restauth-user command --help
... or see the Available commands section below.
The following subsections never document the ‘-h’ parameter for clarity.
Add a new user.
The password to use.
Generate a password and print it to stdout.
The name of the user.
Remove a user.
The name of the user.
Set the password of a user.
The password to use.
Generate a password and print it to stdout.
The name of the user.
Verify the password of a user.
The password to use.
Generate a password and print it to stdout.
The name of the user.
View details of a user.
View information as SERVICE would see it.
The name of the user.
The path to the Django settings module. If not set, RestAuth.settings is used, which should be fine in most cases. For more information, please read the Django documentation.
A semi-colon (‘;’) seperated list of additional directories to search for python modules. The RestAuth installation must be in the module search path for any commands to work. For more information, please read the official python documentation.