public static GithubConfiguration Retrieve() { var output = new GithubConfiguration(); // get values from the Application Settings in Azure output.Username = Environment.GetEnvironmentVariable("GithubUsername"); output.AuthenticationToken = Environment.GetEnvironmentVariable("GithubAccessToken"); return(output); }
public GithubApi(CloudBlockBlob githubStatusBlob) { this.Configuration = GithubConfiguration.Retrieve(); this.Status = GithubStatus.Retrieve(githubStatusBlob); }