public SignatureManager(IApiKeyManager apiKeyManager) : this(new DefaultTimeStampGenerator() , new DefaultTimeStampValidator() , new DefaultHashAlgorithm() , new DefaultSignatureCombiner() , apiKeyManager) { }
public CachedApiKeyManager(IMemoryCache memoryCache, IApiKeyManager innerApiKeyManager, IUnitOfWorkProvider unitOfWorkProvider, UserRepository userRepository) { _memoryCache = memoryCache; _innerApiKeyManager = innerApiKeyManager; _unitOfWorkProvider = unitOfWorkProvider; _userRepository = userRepository; }
public ManageController(ILogger <AccountController> logger, SignInManager <AppUser> signInManager, UserManager <AppUser> userManager, ICurrentUserProvider currentUserProvider, IUnitOfWorkProvider unitOfWorkProvider, IApiKeyManager apiKeyManager) : base(currentUserProvider) { _logger = logger; _signInManager = signInManager; _userManager = userManager; _currentUserProvider = currentUserProvider; _unitOfWorkProvider = unitOfWorkProvider; _apiKeyManager = apiKeyManager; }
public SignatureManager(ITimeStampGenerator timeStampGenerator , ITimeStampValidator timeStampValidator , IHashAlgorithm hashAlgorithm , ISignatureCombiner signatureAlgorithm , IApiKeyManager apiKeyManager) { this._timeStampGenerator = timeStampGenerator; this._timeStampValidator = timeStampValidator; this._hashAlgorithm = hashAlgorithm; this._signatureAlgorithm = signatureAlgorithm; this._apiKeyManager = apiKeyManager; }
public ApiKeyController(IUser usr, IAdminManager mgr) { _manager = mgr.ApiKeyManager; _user = usr; }
public ApiAuthenticationHandler(IOptionsMonitor <ApiAuthenticationOptions> options, ILoggerFactory logger, UrlEncoder encoder, ISystemClock clock, IApiKeyManager apiKeyManager) : base(options, logger, encoder, clock) { _apiKeyManager = apiKeyManager; }
public GenerateKeyController(ILogger <GenerateKeyController> logger, IApiKeyManager apiKeyManager) { _logger = logger; _apiKeyManager = apiKeyManager; }
public ApiKeyController(IApiKeyManager apiKeyManager) { this.apiKeyManager = apiKeyManager; }