Package com.onec.ui
Class LoginDivController
java.lang.Object
com.onec.ui.LoginDivController
Serves the server-driven (DivKit) login screen at
GET /api/divkit/login. Public — it
renders before sign-in. The base methods come from the auth module via the
AuthMethodsProvider SPI (password flag, mode, logout URL, and its own SSO list); when no
provider bean is present (the auth starter is absent), it degrades to a password-only screen.
On top of the base, every AuthMethodsContributor bean adds its SSO options
additively, so a connector acting as an identity provider can surface a sign-in button
without displacing the base provider.
-
Constructor Summary
ConstructorsConstructorDescriptionLoginDivController(org.springframework.beans.factory.ObjectProvider<AuthMethodsProvider> authMethods, org.springframework.beans.factory.ObjectProvider<AuthMethodsContributor> contributors) -
Method Summary
-
Constructor Details
-
LoginDivController
public LoginDivController(org.springframework.beans.factory.ObjectProvider<AuthMethodsProvider> authMethods, org.springframework.beans.factory.ObjectProvider<AuthMethodsContributor> contributors)
-
-
Method Details
-
login
-