Tryton module to authenticate users via SMS
Project description
The SMS authentication module allows to authenticate users via SMS. There are two authentication methods sms and password_sms which can be used in the authentications list of the session section in the configuration.
The sms method just send a code via SMS to the user. Then the user needs to transcribe the code into the login dialog.
The password_sms method send a code only after the user entered a valid password. This provides a two-factor authentication method.
Both methods require that the user has a Mobile phone number defined otherwise he can not be authenticated with those methods.
Configuration
The configuration of the module is set in the authentication_sms section.
function
The fully qualified name of the method to send SMS. It must take three arguments: text, to and from. This method is required to send SMS.
from
The number from which the SMS are sent.
length
The length of the generated code. Default: 6
ttl
The time to live for the generated codes in seconds. Default: 300
name
The name used in the SMS text. Default: Tryton
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for trytond_authentication_sms-5.4.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 27e648acf864e9e0091cf058e36ab7e24d11ba84509e10a9e7dc6830d952fa0a |
|
MD5 | 963a49e3a111e4d4d91b46a9cbff787c |
|
BLAKE2b-256 | 82763a6b11f7efe29f65a562696ae96757cda9e9558857488e1e0ac107285196 |
Hashes for trytond_authentication_sms-5.4.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a51e8fca6cab6d0029ad4c14aac6fdc3a201ab77a737c96edb4029fb40c461d0 |
|
MD5 | 7bf92d13c2dce4cfd2b8daafa8116120 |
|
BLAKE2b-256 | 1f1b65661c7602d8ce09d6c7d10b9b58e6404acaf68c6cd084849c8ea368ffe5 |