Class SMSFactorProvider
- java.lang.Object
-
- io.gravitee.am.factor.sms.provider.SMSFactorProvider
-
- All Implemented Interfaces:
FactorProvider
public class SMSFactorProvider extends Object implements FactorProvider
- Author:
- Eric LELEU (eric.leleu at graviteesource.com), GraviteeSource Team
-
-
Constructor Summary
Constructors Constructor Description SMSFactorProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancheckSecurityFactor(EnrolledFactor factor)io.reactivex.Single<Enrollment>enroll(String account)booleanneedChallengeSending()io.reactivex.CompletablesendChallenge(FactorContext context)io.reactivex.Completableverify(FactorContext context)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.gravitee.am.factor.api.FactorProvider
changeVariableFactorSecurity, useVariableFactorSecurity
-
-
-
-
Method Detail
-
verify
public io.reactivex.Completable verify(FactorContext context)
- Specified by:
verifyin interfaceFactorProvider
-
enroll
public io.reactivex.Single<Enrollment> enroll(String account)
- Specified by:
enrollin interfaceFactorProvider
-
needChallengeSending
public boolean needChallengeSending()
- Specified by:
needChallengeSendingin interfaceFactorProvider
-
sendChallenge
public io.reactivex.Completable sendChallenge(FactorContext context)
- Specified by:
sendChallengein interfaceFactorProvider
-
checkSecurityFactor
public boolean checkSecurityFactor(EnrolledFactor factor)
- Specified by:
checkSecurityFactorin interfaceFactorProvider
-
-