16.2.1.10.2. Sipgate SMS Provider

class privacyidea.lib.smsprovider.SipgateSMSProvider.SipgateSMSProvider(db_smsprovider_object=None, smsgateway=None)[source]
classmethod parameters()[source]

Return a dictionary, that describes the parameters and options for the SMS provider. Parameters are required keys to values.

Returns:dict
submit_message(phone, message)[source]

Sends the SMS. It should return a bool indicating if the SMS was sent successfully.

In case of SMS send fail, an Exception should be raised. :return: Success :rtype: bool