preparing to feed abstract
test should run ok [modulo config]
This commit is contained in:
parent
bcd2f1e743
commit
0211026426
36 changed files with 765 additions and 243 deletions
|
|
@ -172,14 +172,14 @@ namespace Yavsc
|
|||
};
|
||||
|
||||
branch.UseMiddleware<Yavsc.Auth.GoogleMiddleware>(YavscGoogleAppOptions);
|
||||
|
||||
/* FIXME 403
|
||||
|
||||
branch.UseTwitterAuthentication(options=>
|
||||
{
|
||||
TwitterAppOptions = options;
|
||||
options.ConsumerKey = Configuration["Authentication:Twitter:ClientId"];
|
||||
options.ConsumerSecret = Configuration["Authentication:Twitter:ClientSecret"];
|
||||
});
|
||||
}); */
|
||||
|
||||
|
||||
branch.UseOAuthAuthorizationServer(
|
||||
|
|
|
|||
|
|
@ -242,8 +242,8 @@ namespace Yavsc
|
|||
services.AddTransient<ISecureDataFormat<AuthenticationTicket>, TicketDataFormat>();
|
||||
|
||||
// Add application services.
|
||||
services.AddTransient<IEmailSender, MessageSender>();
|
||||
services.AddTransient<IGoogleCloudMessageSender, MessageSender>();
|
||||
services.AddTransient<IEmailSender, MailSender>();
|
||||
services.AddTransient<IGoogleCloudMessageSender, GCMSender>();
|
||||
services.AddTransient<IBillingService, BillingService>();
|
||||
services.AddTransient<IDataStore, FileDataStore>( (sp) => new FileDataStore("googledatastore",false) );
|
||||
services.AddTransient<ICalendarManager, CalendarManager>();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue