-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Add Authenticated Datafile Support #222
Conversation
https://github.com/optimizely/csharp-testapp/pull/65 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minor comments. Will let @pawels-optimizely have the final say
@@ -28,34 +28,64 @@ public class HttpProjectConfigManager : PollingProjectConfigManager | |||
{ | |||
private string Url; | |||
private string LastModifiedSince = string.Empty; | |||
|
|||
private string AuthenticatedDatafileToken = string.Empty; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Call it datafileAuthToken
private HttpProjectConfigManager(TimeSpan period, string url, TimeSpan blockingTimeout, bool autoUpdate, ILogger logger, IErrorHandler errorHandler) | ||
: base(period, blockingTimeout, autoUpdate, logger, errorHandler) | ||
{ | ||
Url = url; | ||
} | ||
|
||
private HttpProjectConfigManager(TimeSpan period, string url, TimeSpan blockingTimeout, bool autoUpdate, ILogger logger, IErrorHandler errorHandler, string authDatafileToken) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
datafileAuthToken
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, addressed some questions offline ( NET40 && NET35 compatibility and manual tests)
Summary
Test plan
Added new unit tests
FSC is passing here.
https://travis-ci.com/github/optimizely/fullstack-sdk-compatibility-suite/builds/171678195