public BearerAuthorizeFilter(/*IAuthCodeGrantRepository authCodeGrantRepository*/) { _authCodeGrantRepository = new AuthCodeGrantRepository(new DataContext()); }
public OAuthController(CryptographicService cryptographicService, IConfigRepository configRepository, IAuthCodeGrantRepository accessTokenRepository) { _accessTokenRepository = accessTokenRepository; _config = configRepository.GetConfig(); _cryptoService = cryptographicService; }