Class PasswordLoginFragment
java.lang.Object
com.irurueta.authserver.authorization.api.web.password.PasswordLoginFragment
- All Implemented Interfaces:
LoginMethodFragment
Contributes the username and password form to the login page, as every authentication method does through the
LoginMethodFragment extension point. It is rendered first.
The fragments of the methods that follow use the matching autocomplete tokens on their inputs:
one-time-code for the one-time token and TOTP codes and webauthn (together with
username) for passkeys.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intPosition of the password form in the login page. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the name of the fragment inside the template.intorder()Gets the position of the fragment in the login page; lower values are rendered first.Gets the name of 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 password form in the login page.- See Also:
-
-
Constructor Details
-
PasswordLoginFragment
public PasswordLoginFragment()
-
-
Method Details
-
templateName
Description copied from interface:LoginMethodFragmentGets the name of the template that holds the fragment.- Specified by:
templateNamein interfaceLoginMethodFragment- Returns:
- the template name.
-
fragmentName
Description copied from interface:LoginMethodFragmentGets the name of the fragment inside the template.- Specified by:
fragmentNamein interfaceLoginMethodFragment- Returns:
- the fragment name.
-
order
public int order()Description copied from interface:LoginMethodFragmentGets the position of the fragment in the login page; lower values are rendered first.- Specified by:
orderin interfaceLoginMethodFragment- Returns:
- the order.
-