public ErrorController(
     IOptions <UiBrandingHtmlConfiguration> brandingHtml,
     IOptions <MvcJsonOptions> mvcJsonOptions
     )
 {
     _mvcJsonOptions = mvcJsonOptions.Value;
     _brandingHtml   = brandingHtml.Value;
 }
Example #2
0
 public OpenIdController(
     ILoggerFactory loggerFactory,
     IOptions <UiBrandingHtmlConfiguration> brandingHtml,
     IOptions <Dictionary <string, OpenIddictApplication> > officialApplications,
     IOptions <MvcJsonOptions> mvcJsonOptions,
     IOptions <JwtConfiguration> jwtConfiguration,
     OpenIddictApplicationManager <OpenIddictApplication> applicationManager,
     SignInManager <User> signInManager,
     UserManager <User> userManager)
 {
     _logger               = loggerFactory.CreateLogger <OpenIdController>();
     _applicationManager   = applicationManager;
     _signInManager        = signInManager;
     _userManager          = userManager;
     _brandingHtml         = brandingHtml.Value;
     _officialApplications = officialApplications;
     _mvcJsonOptions       = mvcJsonOptions.Value;
     _jwtConfiguration     = jwtConfiguration.Value;
 }