public UsersController(IUserBs userBs, IJWTAuthenticationManager JWTAuthenticationManager, ITokenRefresher tokenRefresher) { //_userService = userService; _userBs = userBs; _JWTAuthenticationManager = JWTAuthenticationManager; _tokenRefresher = tokenRefresher; }
public PlayController(ApplicationDbContext context, UserManager <ApplicationUser> userManager, SignInManager <ApplicationUser> signInManager, DataService dataService, ITokenRefresher tokenRefresher, IHubContext <GameHub> hubContext) { _context = context; _userManager = userManager; _signInManager = signInManager; _dataService = dataService; _tokenRefresher = tokenRefresher; _hubContext = hubContext; }
public HmrcAuthTokenBroker( [RequiredPolicy(HmrcExecutionPolicy.Name)] ExecutionPolicy executionPolicy, ILogger logger, IOAuthTokenService tokenService, ISecretRepository secretRepository, ITotpService totpService, ITokenRefresher tokenRefresher, IHmrcAuthTokenBrokerConfig hmrcAuthTokenBrokerConfig) { _secretRepository = secretRepository; _totpService = totpService; _tokenService = tokenService; _logger = logger; _executionPolicy = executionPolicy; _tokenRefresher = tokenRefresher; _hmrcAuthTokenBrokerConfig = hmrcAuthTokenBrokerConfig; _initialiseTask = InitialiseToken(); }
public AdminController( IDistributedCache cache, IAuthenticationManager authentication, IRefreshTokenGenerator refreshTokenGenerator, ITokenRefresher tokenRefresherer, IUsersRepository repository, TokenValidationParameters tokenValidationParameters, IOptions <AuthenticationApp.AuthenticationOptions> authenticationOptions, DistributedCacheEntryOptions distributedCacheEntryOptions) { _cache = cache; _authentication = authentication; _refreshTokenGenerator = refreshTokenGenerator; _tokenRefresherer = tokenRefresherer; _repository = repository; _tokenValidationParameters = tokenValidationParameters; _authenticationOptions = authenticationOptions.Value; _distributedCacheEntryOptions = distributedCacheEntryOptions; _authTokenCookieOptions = new CookieOptions() { Domain = "localhost", Path = "/Admin/", Expires = DateTimeOffset.Now.AddMinutes(_authenticationOptions.Lifetime), SameSite = SameSiteMode.Strict, Secure = true, HttpOnly = true }; _refreshTokenCookieOptions = new CookieOptions() { Domain = "localhost", Path = "/Admin/", Expires = DateTimeOffset.Now.AddDays(365), SameSite = SameSiteMode.Strict, Secure = true, HttpOnly = true }; }
public ServiceAuthenticationHelper(ITokenRefresher platformTokenRefresher) : this() { PlatformTokenRefresher = platformTokenRefresher; }
public CustomCookieAuthenticationEvents(ITokenRefresher tokenRefresher) { _tokenRefresher = tokenRefresher; }
public AuthenticationController(Context context, IJwtAuthenticationManager jwtAuthenticationManager, ITokenRefresher tokenRefresher) { _db = context; this.jwtAuthenticationManager = jwtAuthenticationManager; this.tokenRefresher = tokenRefresher; }
public AuthController(IAuthService authService, ITokenRefresher tokenRefresher) { _authService = authService; _tokenRefresher = tokenRefresher; }
public LoginHandler(IDbContextLocator dbContextLocator, ITokenRefresher tokenRefresher) : base(dbContextLocator) { _tokenRefresher = tokenRefresher; }
public TokenController(IJwtAuthenticationManager jwtAuthenticationManager, ITokenRefresher tokenRefresher) { this.jwtAuthenticationManager = jwtAuthenticationManager; this.tokenRefresher = tokenRefresher; }
public NameController(IJwtAuthenticationManager jwtAuthenticationManager, ITokenRefresher tokenRefresher) { _jwtAuthenticationManager = jwtAuthenticationManager; _tokenRefresher = tokenRefresher; }
public TranslationClient(ILogger logger, ITokenRefresher tokenRefresher) { _logger = logger; _tokenRefresher = tokenRefresher; _restClientTranslation = new RestClient(TRANSLATION_API_URL); }
public LoginController(IConfiguration config, IJWTAuthenticationManager jWTAuthenticationManager, ITokenRefresher tokenRefresher) { _config = config; this.jWTAuthenticationManager = jWTAuthenticationManager; this.tokenRefresher = tokenRefresher; }
public NameController(IJWTAuthenticationManager jWTAuthenticationManager, ITokenRefresher tokenRefresher) { this.jWTAuthenticationManager = jWTAuthenticationManager; this.tokenRefresher = tokenRefresher; }
public RefreshTokenFilter(UserManager <ApplicationUser> userManager, ITokenRefresher tokenRefresher) { _userManager = userManager; _tokenRefresher = tokenRefresher; }
public TokenController(IJwtAuthenticationManager jwtAuthenticationManager, ITokenRefresher tokenRefresher, IUserService userService) { this.jwtAuthenticationManager = jwtAuthenticationManager; this.tokenRefresher = tokenRefresher; this.userService = userService; }
public HomeController(IConfiguration configuration, ITokenRefresher refresher) { _configuration = configuration; _refresher = refresher; }