-
Notifications
You must be signed in to change notification settings - Fork 1
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
Add GitHub authentication #5
base: master
Are you sure you want to change the base?
Conversation
@chrisglein please review me! |
Kanban4U/GitHub/GitHubLogic.cs
Outdated
|
||
namespace Kanban4U | ||
{ | ||
public static class GitHubLogic |
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.
I didn't pick that "Logic" name and I've been meaning to change it to something more specific sensible. Don't feel obligated to match the naming.
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.
I'm not, but couldn't think of another name. Do you have a suggestion?
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.
Query? Adapter? DataSource?
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.
GitHubApi?
Kanban4U/GitHub/GitHubLogic.cs
Outdated
var settings = GlobalSettings.Instance; | ||
if (settings.GitHubAccessToken == null) | ||
{ | ||
settings.GitHubAccessToken = await GetGitHubAccessTokenWorker(); |
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.
Having the side effect of this makes this not feel like an honest "Get" method. "UpdateGitHubAccessToken" maybe?
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.
Changed to "Ensure"
No description provided.