Skip to content

Commit c834e5c

Browse files
authored
Damienbod/2-3-Multi-Tenant Nuget, Bootstrap4 update (#412)
* Updating styles, using in-memory to reverse when complete * styles * Updating views * updating the layout * improving layout * styling * reset in memory db * dotnet format
1 parent 0549d3d commit c834e5c

File tree

73 files changed

+39946
-24063
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

73 files changed

+39946
-24063
lines changed

2-WebApp-graph-user/2-3-Multi-Tenant/Controllers/HomeController.cs

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
The MIT License (MIT)
33
4-
Copyright (c) 2018 Microsoft Corporation
4+
Copyright (c) 2020 Microsoft Corporation
55
66
Permission is hereby granted, free of charge, to any person obtaining a copy
77
of this software and associated documentation files (the "Software"), to deal
@@ -79,7 +79,13 @@ public IActionResult UnauthorizedTenant()
7979
{
8080
return View();
8181
}
82+
83+
public IActionResult Privacy()
84+
{
85+
return View();
86+
}
8287

88+
[AllowAnonymous]
8389
[ResponseCache(Duration = 0, Location = ResponseCacheLocation.None, NoStore = true)]
8490
public IActionResult Error()
8591
{

2-WebApp-graph-user/2-3-Multi-Tenant/Controllers/OnboardingController.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
The MIT License (MIT)
33
4-
Copyright (c) 2018 Microsoft Corporation
4+
Copyright (c) 2020 Microsoft Corporation
55
66
Permission is hereby granted, free of charge, to any person obtaining a copy
77
of this software and associated documentation files (the "Software"), to deal

2-WebApp-graph-user/2-3-Multi-Tenant/Controllers/TodoListController.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
The MIT License (MIT)
33
4-
Copyright (c) 2018 Microsoft Corporation
4+
Copyright (c) 2020 Microsoft Corporation
55
66
Permission is hereby granted, free of charge, to any person obtaining a copy
77
of this software and associated documentation files (the "Software"), to deal

2-WebApp-graph-user/2-3-Multi-Tenant/Models/AuthorizedTenant.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
The MIT License (MIT)
33
4-
Copyright (c) 2018 Microsoft Corporation
4+
Copyright (c) 2020 Microsoft Corporation
55
66
Permission is hereby granted, free of charge, to any person obtaining a copy
77
of this software and associated documentation files (the "Software"), to deal

2-WebApp-graph-user/2-3-Multi-Tenant/Program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
The MIT License (MIT)
33
4-
Copyright (c) 2018 Microsoft Corporation
4+
Copyright (c) 2020 Microsoft Corporation
55
66
Permission is hereby granted, free of charge, to any person obtaining a copy
77
of this software and associated documentation files (the "Software"), to deal

2-WebApp-graph-user/2-3-Multi-Tenant/Services/IMSGraphService.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
The MIT License (MIT)
33
4-
Copyright (c) 2018 Microsoft Corporation
4+
Copyright (c) 2020 Microsoft Corporation
55
66
Permission is hereby granted, free of charge, to any person obtaining a copy
77
of this software and associated documentation files (the "Software"), to deal

2-WebApp-graph-user/2-3-Multi-Tenant/Services/ITodoItemService.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
The MIT License (MIT)
33
4-
Copyright (c) 2018 Microsoft Corporation
4+
Copyright (c) 2020 Microsoft Corporation
55
66
Permission is hereby granted, free of charge, to any person obtaining a copy
77
of this software and associated documentation files (the "Software"), to deal

2-WebApp-graph-user/2-3-Multi-Tenant/Services/MSGraphService.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
The MIT License (MIT)
33
4-
Copyright (c) 2018 Microsoft Corporation
4+
Copyright (c) 2020 Microsoft Corporation
55
66
Permission is hereby granted, free of charge, to any person obtaining a copy
77
of this software and associated documentation files (the "Software"), to deal

2-WebApp-graph-user/2-3-Multi-Tenant/Services/TodoItemService.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
The MIT License (MIT)
33
4-
Copyright (c) 2018 Microsoft Corporation
4+
Copyright (c) 2020 Microsoft Corporation
55
66
Permission is hereby granted, free of charge, to any person obtaining a copy
77
of this software and associated documentation files (the "Software"), to deal
@@ -113,8 +113,8 @@ public async Task Delete(int id, ClaimsPrincipal user)
113113
sampleDbContext.TodoItems.Remove(todoItem);
114114
await sampleDbContext.SaveChangesAsync();
115115
}
116-
}
117-
116+
}
117+
118118
private bool IsAuthorizedToModify(int itemId, ClaimsPrincipal user)
119119
{
120120
var tenantId = user.GetTenantId();

2-WebApp-graph-user/2-3-Multi-Tenant/Startup.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -86,10 +86,10 @@ public void ConfigureServices(IServiceCollection services)
8686
};
8787
})
8888
.EnableTokenAcquisitionToCallDownstreamApi(
89-
options =>
90-
{
91-
Configuration.Bind("AzureAd", options);
92-
},
89+
options =>
90+
{
91+
Configuration.Bind("AzureAd", options);
92+
},
9393
new string[] { GraphScope.UserReadAll })
9494
.AddInMemoryTokenCaches();
9595

0 commit comments

Comments
 (0)