Пример #1
0
 private void ConfigureAuthenticaton(IFunctionsHostBuilder Builder)
 {
     Builder.Services.AddAuthentication((AuthenticationOptions Options) => {
         Options.AddScheme <WebJobsAuthLevelHandler>(SecurityDefinition.WebJobsAuthLevel.ToString(), "");
         Options.AddScheme <BearerAuthenticationHandler>(SecurityDefinition.Bearer.ToString(), "");
     });
 }