Class OttLoginMethodFragment
java.lang.Object
com.irurueta.authserver.authorization.api.web.ott.OttLoginMethodFragment
- All Implemented Interfaces:
LoginMethodFragment
Contributes the one-time token sign-in to the login page: a form that asks for the identifier and whether to receive
a code or a magic link by e-mail, or a code by SMS, and posts it to
POST /ott/generate. It renders below the
passkey sign-in.-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intPosition of the one-time token sign-in in the login page: after the passkey sign-in. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the fragment of the template.intorder()Gets the position of the fragment.Gets the template that holds the fragment.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.irurueta.authserver.authorization.api.web.login.LoginMethodFragment
reference
-
Field Details
-
ORDER
public static final int ORDERPosition of the one-time token sign-in in the login page: after the passkey sign-in.- See Also:
-
-
Constructor Details
-
OttLoginMethodFragment
public OttLoginMethodFragment()
-
-
Method Details
-
templateName
Gets the template that holds the fragment.- Specified by:
templateNamein interfaceLoginMethodFragment- Returns:
login-ott.
-
fragmentName
Gets the fragment of the template.- Specified by:
fragmentNamein interfaceLoginMethodFragment- Returns:
login.
-
order
public int order()Gets the position of the fragment.- Specified by:
orderin interfaceLoginMethodFragment- Returns:
ORDER.
-