Package com.onec.auth.spi
Interface AuthMethodsProvider
public interface AuthMethodsProvider
Supplies the
AuthMethods for the running application. Implemented by the auth module and
consumed (optionally) by the UI module to render a server-driven login screen.
The UI module depends on this interface but not on any auth implementation: it injects the
provider through an ObjectProvider and degrades gracefully (password-only) when no bean is
present — e.g. when the auth starter is absent from the classpath.
-
Method Summary
Modifier and TypeMethodDescriptionThe currently available authentication methods.
-
Method Details
-
authMethods
AuthMethods authMethods()The currently available authentication methods. Never null.
-