val account: Account) { @AccountScope @Provides fun provideOkHttpClient(): OkHttpClient { val consumer = OkHttpOAuthConsumer( BuildConfig.TWITTER_CONSUMER_KEY, BuildConfig.TWITTER_CONSUMER_SECRET) consumer.setTokenWithSecret( account.twitter.authToken.token, account.twitter.authToken.secret) return OkHttpClient.Builder() .addInterceptor(SigningInterceptor(consumer)) .build() } }