Class MobilePhoneService
java.lang.Object
io.jans.casa.plugins.authnmethod.service.MobilePhoneService
- Direct Known Subclasses:
TwilioMobilePhoneService
An app. scoped bean to serve the purpose of sending SMS
- Author:
- jgomer, Stefan Andersson
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanaddPhone(String userId, VerifiedMobile newPhone) intgetPhonesTotal(String userId) getPropertyValue(String key) getVerifiedPhones(String userId) booleanisNumberRegistered(String number) abstract voidabstract SMSDeliveryStatusbooleanupdateMobilePhonesAdd(String userId, List<VerifiedMobile> mobiles, VerifiedMobile newPhone)
-
Constructor Details
-
MobilePhoneService
public MobilePhoneService()
-
-
Method Details
-
reloadConfiguration
public abstract void reloadConfiguration() -
sendSMS
-
isNumberRegistered
-
updateMobilePhonesAdd
public boolean updateMobilePhonesAdd(String userId, List<VerifiedMobile> mobiles, VerifiedMobile newPhone) -
addPhone
-
getPhonesTotal
-
getVerifiedPhones
-
getPropertyValue
-