public interface SMSGateway
Modifier and Type | Method and Description |
---|---|
void |
sendEmail(String from,
String to,
String subject,
String message,
String code,
Map options)
Sends an email message to the mail with the code
|
void |
sendSMSMessage(String from,
String to,
String subject,
String message,
String code,
Map options)
Sends a SMS message to the phone with the code
|
void sendSMSMessage(String from, String to, String subject, String message, String code, Map options) throws AuthLoginException
from
- The address that sends the SMS messageto
- The address that the SMS message is sentsubject
- The SMS subjectmessage
- The content contained in the SMS messagecode
- The code in the SMS messageoptions
- The SMS gateway options defined in the HOTP authentication
moduleAuthLoginException
- In case the module was unable to send the SMSvoid sendEmail(String from, String to, String subject, String message, String code, Map options) throws AuthLoginException
from
- The address that sends the E-mail messageto
- The address that the E-mail message is sentsubject
- The E-mail subjectmessage
- The content contained in the E-mail messagecode
- The code in the E-mail messageoptions
- The SMS gateway options defined in the HOTP authentication
moduleAuthLoginException
- In case the module was unable to send the e-mailCopyright © 2010-2018, ForgeRock All Rights Reserved.