public AuthController(IAuthLogin authLogin) { AuthLogin = authLogin; }
/// <summary> /// Sets the interface used for authentication. Enables authentication if not null. /// </summary> /// <param name="authInterface"></param> public void SetAuthLogin(IAuthLogin authInterface) => AuthLogin = authInterface;
public LendingService(IAuthLogin authLogin) { this._authLogin = authLogin; }