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

Bump cross-spawn from 7.0.3 to 7.0.6 in /2-WebApp-graph-user/2-6-BFF-Proxy/ClientApp #811

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 7 additions & 6 deletions 2-WebApp-graph-user/2-6-BFF-Proxy/ClientApp/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.


Unchanged files with check annotations Beta

options.Cookie.IsEssential = true;
});
var initialScopes = builder.Configuration.GetSection("DownstreamApi:Scopes")

Check warning on line 14 in 2-WebApp-graph-user/2-5-HybridFlow/Program.cs

GitHub Actions / build

Dereference of a possibly null reference.

Check warning on line 14 in 2-WebApp-graph-user/2-5-HybridFlow/Program.cs

GitHub Actions / build

Dereference of a possibly null reference.
.Value
.Split(' ');
app.UseAuthentication();
app.UseAuthorization();
app.UseEndpoints(endpoints =>

Check warning on line 54 in 2-WebApp-graph-user/2-5-HybridFlow/Program.cs

GitHub Actions / build

Suggest using top level route registrations instead of UseEndpoints (https://aka.ms/aspnet/analyzers)

Check warning on line 54 in 2-WebApp-graph-user/2-5-HybridFlow/Program.cs

GitHub Actions / build

Suggest using top level route registrations instead of UseEndpoints (https://aka.ms/aspnet/analyzers)
{
endpoints.MapControllerRoute(
name: "default",
(function () {
const scopes =
@{
var apiScopes = Configuration["DownstreamApi:Scopes"].Split(' ');

Check warning on line 138 in 2-WebApp-graph-user/2-5-HybridFlow/Views/Shared/_Layout.cshtml

GitHub Actions / build

Dereference of a possibly null reference.

Check warning on line 138 in 2-WebApp-graph-user/2-5-HybridFlow/Views/Shared/_Layout.cshtml

GitHub Actions / build

Dereference of a possibly null reference.
@Html.Raw("[");
foreach(var scope in apiScopes) {
catch (MsalUiRequiredException ex)
{
_tokenAcquisition.ReplyForbiddenWithWwwAuthenticateHeader(_graphScopes, ex);
throw ex;

Check warning on line 255 in 4-WebApp-your-API/4-3-AnyOrg/TodoListService/Controllers/TodoListController.cs

GitHub Actions / build

Re-throwing caught exception changes stack information (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2200)

Check warning on line 255 in 4-WebApp-your-API/4-3-AnyOrg/TodoListService/Controllers/TodoListController.cs

GitHub Actions / build

Re-throwing caught exception changes stack information (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2200)
}
}
try
{
// Request to get groups and directory roles that the user is a direct member of.
var memberPage = await graphClient.Me.GetMemberGroups.PostAsync(new GetMemberGroupsPostRequestBody() { SecurityEnabledOnly = false});

Check warning on line 137 in 5-WebApp-AuthZ/5-2-Groups/Services/GraphHelper.cs

GitHub Actions / build

'GetMemberGroupsRequestBuilder.PostAsync(GetMemberGroupsPostRequestBody, Action<RequestConfiguration<DefaultQueryParameters>>?, CancellationToken)' is obsolete: 'This method is obsolete. Use PostAsGetMemberGroupsPostResponseAsync instead.'
allgroups = memberPage.Value.ToList<string>();
if (allgroups?.Count > 0)