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

Project details


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-5.8.0.tar.gz (23.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

trytond_authentication_sms-5.8.0-py3-none-any.whl (31.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: trytond_authentication_sms-5.8.0.tar.gz
  • Upload date:
  • Size: 23.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/46.4.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.7.9

File hashes

Hashes for trytond_authentication_sms-5.8.0.tar.gz
Algorithm Hash digest
SHA256 7d655fc2b8ae46b6dab8a69aa9d1a16f643486f518de339f700b03b3015cc2e4
MD5 4062b8037ffd6733d076e8fa94243224
BLAKE2b-256 5e1121e56c5930a57f612da9b3e47be5f3ae07a25eccb3f24af76c76b7a2d2f1

See more details on using hashes here.

File details

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

File metadata

  • Download URL: trytond_authentication_sms-5.8.0-py3-none-any.whl
  • Upload date:
  • Size: 31.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/46.4.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.7.9

File hashes

Hashes for trytond_authentication_sms-5.8.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f4d000975046069512900ce160daf74635e5a08ea00dbb093567d28de9cf15ac
MD5 dcccc57ecaa678eaa4f0435875aed744
BLAKE2b-256 a33c242fa1481d15e5ca729723cc439af7010f3c2a82cfa4f07d22653c737aa9

See more details on using hashes here.

Supported by

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