Skip to content
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

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

jevansaks
Copy link

No description provided.

@jevansaks
Copy link
Author

@chrisglein please review me!

.gitignore Show resolved Hide resolved

namespace Kanban4U
{
public static class GitHubLogic
Copy link
Owner

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.

Copy link
Author

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?

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Query? Adapter? DataSource?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

GitHubApi?

Kanban4U/MainPage.xaml.cs Outdated Show resolved Hide resolved
Kanban4U/GitHub/GitHubLogic.cs Outdated Show resolved Hide resolved
var settings = GlobalSettings.Instance;
if (settings.GitHubAccessToken == null)
{
settings.GitHubAccessToken = await GetGitHubAccessTokenWorker();
Copy link
Owner

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?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changed to "Ensure"

Kanban4U/GitHub/GitHubLogic.cs Outdated Show resolved Hide resolved
Kanban4U/GitHub/GitHubLogic.cs Outdated Show resolved Hide resolved
Kanban4U/GitHub/GitHubLogic.cs Outdated Show resolved Hide resolved
Kanban4U/GitHub/GitHubLogic.cs Outdated Show resolved Hide resolved
Kanban4U/GitHub/GitHubLogic.cs Outdated Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants