Skip navigation links

Oracle Fusion Middleware Java API Reference for the Oracle Access Management OAuth Service
11g Release 2 Patch Set 3 (11.1.2.3)

E59498-01


oracle.security.idaas.rest.provider.plugin
Interface OTPTransport


public interface OTPTransport

This interface is used to send SMS and email in ChallengeOTPBySMS and ChallengeOTPByEmail


Method Summary

 boolean sendEmail(java.lang.String emailId, java.lang.String emailSubject, java.lang.String messageContent)
          This method is used to send SMS in ChallengeOTPBySMS
 boolean sendSMS(java.lang.String mobilenumber, java.lang.String messageSubject, java.lang.String messageContent)
          This method is used to send SMS in ChallengeOTPBySMS

 

Method Detail

sendSMS

boolean sendSMS(java.lang.String mobilenumber,
                java.lang.String messageSubject,
                java.lang.String messageContent)
This method is used to send SMS in ChallengeOTPBySMS
Parameters:
mobilenumber - : mobile number example as 14082760000
messageSubject - : SMS subject example as OIC OTP Code
messageContent - : SMS content
Returns:
it returns true if a SMS is sent successfully otherwise false

sendEmail

boolean sendEmail(java.lang.String emailId,
                  java.lang.String emailSubject,
                  java.lang.String messageContent)
This method is used to send SMS in ChallengeOTPBySMS
Parameters:
emailId - : email Id example : x.y@oracle.com
emailSubject - : email subject exmaple as OIC OTP Code
messageContent - : email content
Returns:
it returns true if an email is sent successfully otherwise false

Skip navigation links

Copyright (c) 2014, 2015,
Oracle and/or its affiliates. All Rights Reserved.