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.6.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0502107d1a0378852edcec8f5d130041d91954f0f1aa5ddc5f31839c3f8837e3 |
|
MD5 | 0bac410878587d3a3563983fbf12b982 |
|
BLAKE2b-256 | 012c71bb8ec5d1fb184fbad397f5eebbc2d859171bb7e0791a00ecc0329388e6 |
Hashes for trytond_authentication_sms-5.6.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 80fcf7eb566115d1643604eecfc6a3f459b21dfa860411f2666699f1fa4a7039 |
|
MD5 | faa89dc09c7351804d747464f8b6c495 |
|
BLAKE2b-256 | 900590eb3fda7b2349ae464bf205e1be8c60d6937295ff1aff862727cb0662f2 |