public ArticleCardViewComponent(IMediator mediator,
                                        IApiSignInManager apiAccountClient,
                                        IConfiguration config)
        {
            _mediator      = mediator;
            _apiJwtManager = apiAccountClient;

            _baseUrl = config.GetValue <string>("ApiBaseAddress");
        }
 public CommentCardViewComponent(IMediator mediator, IApiSignInManager apiJwtManager)
 {
     _mediator      = mediator;
     _apiJwtManager = apiJwtManager;
 }
 public BasicAuthenticationHandler(IApiSignInManager apiSignInManager, IUserManager userManager, IOptionsMonitor <BasicAuthenticationOptions> options, ILoggerFactory logger, UrlEncoder encoder, ISystemClock clock)
     : base(options, logger, encoder, clock)
 {
     _apiSignInManager = apiSignInManager;
     _userManager      = userManager;
 }
예제 #4
0
 public IdentityUserAuthService(SignInManager <User> signInManager, IApiSignInManager apiJwtManager)
 {
     _signInManager = signInManager;
     _apiJwtManager = apiJwtManager;
 }