Class AccountOtpMethods
java.lang.Object
io.meeds.social.security.plugin.AccountOtpMethods
The OTP methods whose code proves access to the account itself: each sends
its code to the account's own address. A flow that validates a code with a
method its client names accepts only these ones. A method whose code goes to
an address the caller chooses, as
EmailChangeOtpPlugin.NAME, proves
nothing about the account and is never one of them; a new method that proves
the account is added here.-
Method Summary
-
Method Details
-
provesTheAccount
- Parameters:
otpMethod- an OTP method name, as a client names it- Returns:
- true when a code of this method proves access to the account
-