public JwtAuthenticationService(JwtTokenOptions options,
                                        DataContext securityContext,
                                        IEmailService mailService,
                                        ClaimsIdentity identity,
                                        IHostingOptions hostingOptions)
        {
            _options         = options;
            _securityContext = securityContext;
            _mailService     = mailService;
            _identity        = identity;
            _hostingOptions  = hostingOptions;

            options.ThrowIfInvalidOptions();
        }
 public RenderBase(IHostingOptions hostingOptions, T content)
 {
     ClientBasePath = hostingOptions.ClientBasePath;
     ServerBasePath = hostingOptions.ServerBasePath;
     Content        = content;
 }
 public RenderingApi(IHostingOptions hostingOptions, ViewRender viewRender)
 {
     _hostingOptions = hostingOptions;
     _viewRender     = viewRender;
 }