File tree 1 file changed +0
-8
lines changed
src/Infrastructure/BotSharp.OpenAPI
1 file changed +0
-8
lines changed Original file line number Diff line number Diff line change 11
11
using Microsoft . OpenApi . Models ;
12
12
using Microsoft . IdentityModel . JsonWebTokens ;
13
13
using BotSharp . OpenAPI . BackgroundServices ;
14
- using BotSharp . Abstraction . Settings ;
15
- using BotSharp . Abstraction . Google . Settings ;
16
14
17
15
namespace BotSharp . OpenAPI ;
18
16
@@ -34,12 +32,6 @@ public static IServiceCollection AddBotSharpOpenAPI(this IServiceCollection serv
34
32
services . AddScoped < IUserIdentity , UserIdentity > ( ) ;
35
33
services . AddHostedService < ConversationTimeoutService > ( ) ;
36
34
37
- services . AddScoped ( provider =>
38
- {
39
- var settingService = provider . GetRequiredService < ISettingService > ( ) ;
40
- return settingService . Bind < GoogleApiSettings > ( "GoogleApi" ) ;
41
- } ) ;
42
-
43
35
// Add bearer authentication
44
36
var schema = "MIXED_SCHEME" ;
45
37
var builder = services . AddAuthentication ( options =>
You can’t perform that action at this time.
0 commit comments