Skip to main content

Tryton module to authenticate users via SMS

Project description

The SMS authentication module allows users to authenticate via SMS. It adds a new authentication method sms, which can be used in the list of authentications in the session section of the configuration file.

The sms method just sends a code via SMS to the user. Then the user needs to transcribe the code into the login dialog.

This method requires that the user has the correct Mobile phone number defined otherwise it will not be possible for them to authenticate.

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

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

trytond_authentication_sms-6.4.0.tar.gz (25.1 kB view details)

Uploaded Source

Built Distribution

File details

Details for the file trytond_authentication_sms-6.4.0.tar.gz.

File metadata

  • Download URL: trytond_authentication_sms-6.4.0.tar.gz
  • Upload date:
  • Size: 25.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.1 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.4

File hashes

Hashes for trytond_authentication_sms-6.4.0.tar.gz
Algorithm Hash digest
SHA256 bcb54adb1e58299c3ce11251a1bc97f84e280b8096853138353edbf60b06d7b2
MD5 93babc17ce1a27bf6d534604f4c0078c
BLAKE2b-256 ac4ab984e45a4864313d5df409dbb0aeb8c0fd99a059c451215fc935f9bc6aed

See more details on using hashes here.

Provenance

File details

Details for the file trytond_authentication_sms-6.4.0-py3-none-any.whl.

File metadata

  • Download URL: trytond_authentication_sms-6.4.0-py3-none-any.whl
  • Upload date:
  • Size: 32.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.1 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.4

File hashes

Hashes for trytond_authentication_sms-6.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8e456896786b6991b815bdf6040169ddce921b15df9487326fc84b97f2a37b50
MD5 4901d50c35c378a18ad45b01b8ed7093
BLAKE2b-256 3f6a314222480cb38486239addf80c33cbd101a8b6b691c1eed13417fb2f9cb2

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page