Skip to content

Commit

Permalink
Some clean-up
Browse files Browse the repository at this point in the history
  • Loading branch information
juunas11 committed Jul 15, 2018
1 parent 593ea97 commit aa6cbc3
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
using Microsoft.AspNetCore.Authorization;
using Joonasw.AzureAdApiSample.Api.Authorization;
using Microsoft.AspNetCore.Authorization;

namespace Joonasw.AzureAdApiSample.Api.Authorization
namespace Joonasw.AzureAdApiSample.Api.Extensions
{
public static class AuthorizationPolicyBuilderExtensions
{
Expand Down
1 change: 1 addition & 0 deletions Joonasw.AzureAdApiSample.Api/Startup.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
using System.Collections.Generic;
using Joonasw.AzureAdApiSample.Api.Authorization;
using Joonasw.AzureAdApiSample.Api.Extensions;
using Microsoft.AspNetCore.Authentication;
using Microsoft.AspNetCore.Authentication.JwtBearer;
using Microsoft.AspNetCore.Authorization;
Expand Down
4 changes: 2 additions & 2 deletions Joonasw.AzureAdApiSample.ConsoleNativeClient/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ class Program
{
static async Task Main(string[] args)
{
var config = CreateConfig();
var settings = config.Get<ClientSettings>();
IConfiguration config = CreateConfig();
ClientSettings settings = config.Get<ClientSettings>();
var todoApiClient = new TodoApiClient(settings);
await todoApiClient.ListTodosAsync();
Guid id = await todoApiClient.CreateTodoAsync(new TodoItem
Expand Down

0 comments on commit aa6cbc3

Please sign in to comment.