linotp.provider.smsprovider.DeviceSMSProvider module

This is a SMS Provide class that can send OTP values via SMS using a phone that is connected to the LinOTP server

This module makes use of the command line programm gnokii. It gets configured in a file .gnokiirc file like this:

[global] model = AT port = /dev/ttyACM1 connection = serial

class linotp.provider.smsprovider.DeviceSMSProvider.DeviceSMSProvider

Bases: ISMSProvider

loadConfig(configDict)
linotp.provider.smsprovider.DeviceSMSProvider.main(phone, message)