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.2.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | cc47b98a7127b79647e8950d81c35dbb37ca01dc6e44ca6e84a676c3c359f37b |
|
MD5 | 5ac59bba57d7406abd69f41fab33313e |
|
BLAKE2b-256 | 8225a9aceee4807d4a83a4f80b5ac0ef994429ef643845095da085040bb26ae3 |
Hashes for trytond_authentication_sms-5.2.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6e826186b1cf8703aeea8e90ee2c78b1491682a26c4ff565c7f8b2b9992c4d57 |
|
MD5 | 4108e44f3e62f1e623952094715058f3 |
|
BLAKE2b-256 | 7ce9e594ece4aabdb3063bce0ebc6953d40c0962972e42d3795310eec69ea723 |