public CheckoutController(IOptions <AppSettings> appSetting, MindnoteContext context, UserService userService, MindnoteContextForView contextForView)
        {
            _context        = context;
            _userService    = userService;
            _contextForView = contextForView;

            AppSettings tempAppSetting = (AppSettings)appSetting.Value;

            _tapPayEndpoint   = tempAppSetting.Common.TapPayEndpoint;
            _tapPayPartnerKey = tempAppSetting.Secrets.TapPayPartnerKey;
        }
Esempio n. 2
0
        public UserController(IOptions <AppSettings> appSetting, MindnoteContext context, MindnoteContextForView contextForView, UserService userService)
        {
            _context        = context;
            _contextForView = contextForView;
            _userService    = userService;

            AppSettings tempAppSetting = (AppSettings)appSetting.Value;

            _GCPProjectId  = tempAppSetting.Common.GCPProjectId;
            _GCSBucketName = tempAppSetting.Common.GCSBucketName;
            _GCSCredential = tempAppSetting.Secrets.GCSCredential;
        }
 public UserBoardNodeController(MindnoteContext context, MindnoteContextForView contextForView, UserService userService)
 {
     _context        = context;
     _contextForView = contextForView;
     _userService    = userService;
 }
Esempio n. 4
0
 public AuthController(MindnoteContext context, UserService userService)
 {
     _context     = context;
     _userService = userService;
 }
Esempio n. 5
0
 public BoardController(MindnoteContext context, MindnoteContextForView contextForView, UserService userService)
 {
     _context        = context;
     _contextForView = contextForView;
 }
Esempio n. 6
0
 public UserService(IOptions <AppSettings> appSettings, MindnoteContext context)
 {
     _jwtSecret     = appSettings.Value.Secrets.JwtKey;
     _jwtExpiration = appSettings.Value.Common.Auth.JwtExpiration;
     _context       = context;
 }