getAuthenticationManager

Get the SDK-owned AuthenticationManager — the instance whose online-login success feeds the SDK's role-access publication pipeline.

Host apps that present their own login UI MUST run the login through this instance (e.g. coreApi.getAuthenticationManager().login(...)). Constructing a separate AuthenticationManager bypasses the SDK's registered RoleAccessUpdateListener: roles would then only publish from the persisted cache on the next process start instead of immediately on a successful online login.

The returned instance is owned by the SDK — do not call AuthenticationManager#onDestroy() on it; its lifecycle follows this CoreApi's Lifecycle.

Return

the SDK-owned authentication manager