Refactor auth constructor to use options struct
What does this MR do?
auth constructor has large number of arguments, we have introduced an options pattern for refactoring the constructor.
Related issue: Follow-up from "Add auth-cookie-session-timeout... (#810 - closed)
TODO
-
Feature flag
-
Added feature flag: -
This feature does not require a feature flag
-
-
I added the Changelog
trailer to the commits that need to be included in the changelog (e.g.Changelog: added
) -
I added unit tests or they are not required -
I added acceptance tests or they are not required -
I added documentation (or it's not required) -
I followed code review guidelines -
I followed Go Style guidelines
Edited by Naman Jagdish Gala