File tree Expand file tree Collapse file tree
src/Services/Masa.Auth.Service.Admin Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11// Copyright (c) MASA Stack All rights reserved.
22// Licensed under the Apache License. See LICENSE.txt in the project root for license information.
3- using StackExchange . Redis ;
43
54var builder = WebApplication . CreateBuilder ( args ) ;
65
76ValidatorOptions . Global . LanguageManager = new MasaLanguageManager ( ) ;
87GlobalValidationOptions . SetDefaultCulture ( "zh-CN" ) ;
98
109var project = MasaStackProject . Auth ;
11-
12- var defaultStackConfig = builder . Configuration . GetDefaultStackConfig ( ) ;
13- var webId = defaultStackConfig . GetWebId ( project ) ;
14- var ssoDomain = defaultStackConfig . GetSsoDomain ( ) ;
1510await builder . Services . AddMasaStackConfigAsync ( project , MasaStackApp . Service ) ;
1611
1712var masaStackConfig = builder . Services . GetMasaStackConfig ( ) ;
Original file line number Diff line number Diff line change 151151global using OpenTelemetry . Instrumentation . StackExchangeRedis ;
152152global using OpenTelemetry . Trace ;
153153global using SixLabors . ImageSharp ;
154+ global using StackExchange . Redis ;
154155global using System . Collections . Concurrent ;
155156global using System . Diagnostics . CodeAnalysis ;
156157global using System . Linq . Expressions ;
You can’t perform that action at this time.
0 commit comments