BouCyr / oidc

A minimal OIDC server intended for debug, implemented with NO dependencies AT ALL
MIT License
0 stars 0 forks source link

Make up a pseudo dependency injection engine #13

Closed BouCyr closed 1 year ago

BouCyr commented 1 year ago

So that components does not rely on "XXX.getInstance()" anymore.

They should take their dependencies as constructor parameters, provided by a centralized context.

Those dependencies should be limited to functionalinterfaces, to allow easy unit testing.

BouCyr commented 1 year ago

Components now built using constructors. New Dependenciesbuilder class wires eveything at startup