So: the new config object you want to pass to `for...
# general
p
So: the new config object you want to pass to
forRoot
is made up of two parts: - We want you to add everything necessary for a
FactoryProvider
that will provide an
AuthModuleConfig
, but we are overriding the provide option and scope could mess with some things so we don't want to allow those (hence the
Omit
) - You may need to import something in the factory you added so we want to allow an imports prop just like you would configure for a normal modules (so
Pick
the imports prop from the
ModuleMetadata
)