Package com.onec.ui.divkit
Class LoginDivBuilder
java.lang.Object
com.onec.ui.divkit.LoginDivBuilder
Builds the server-driven login screen as a DivKit card from the available
AuthMethods.
The server decides what login looks like — which providers, whether a password form is offered —
so adding an IdP needs no client change.
SSO options are plain DivKit buttons (a tap is just a redirect, so an opaque
onec://auth/sso/{id} action suffices). Username/password capture, however, needs to read
the typed values on submit — which a DivKit action can't do — so it is delegated to the
onec-login-form custom block (a React widget), mirroring how onec-form handles
rich entity forms elsewhere.
-
Method Summary
-
Method Details
-
login
-