/
githubmirror
/
aspnetcore
Обзор
Документация
Войти
/
githubmirror
/
aspnetcore
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
src/Components/test/testassets/Components.WasmRemoteAuthentication/Program.cs
15 строк
538 B
Javier Calvarro Nelson
[Blazor] Adds compresion support for all assets in an application (#55558)
13 май 2024, 19:04
Не верифицирован
13 май 2024, 19:04
51838a2
Код
Авторство
О чём код?
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Components.WebAssembly.Hosting; var builder = WebAssemblyHostBuilder.CreateDefault(args); builder.Services.AddOidcAuthentication(options => { options.ProviderOptions.Authority = $"{builder.HostEnvironment.BaseAddress}oidc"; options.ProviderOptions.ClientId = "s6BhdRkqt3"; options.ProviderOptions.ResponseType = "code"; }); await builder.Build().RunAsync();