Skip to content

Commit

Permalink
Removes attestation references.
Browse files Browse the repository at this point in the history
  • Loading branch information
carlosmuvi-stripe committed Dec 23, 2024
1 parent c17301e commit cc8fb23
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 21 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ import javax.inject.Scope
*/
@Scope
@Retention(AnnotationRetention.RUNTIME)
annotation class ActivityRetainedScope
internal annotation class ActivityRetainedScope
Original file line number Diff line number Diff line change
@@ -1,15 +1,9 @@
package com.stripe.android.financialconnections.di

import android.app.Application
import com.stripe.android.core.Logger
import com.stripe.attestation.BuildConfig
import com.stripe.attestation.IntegrityRequestManager
import com.stripe.attestation.IntegrityStandardRequestManager
import com.stripe.attestation.RealStandardIntegrityManagerFactory
import dagger.BindsInstance
import dagger.Component
import dagger.Module
import dagger.Provides
import javax.inject.Singleton

/**
Expand Down Expand Up @@ -38,8 +32,6 @@ internal object FinancialConnectionsSingletonSharedComponentHolder {
@Component(modules = [FinancialConnectionsSingletonSharedModule::class])
internal interface FinancialConnectionsSingletonSharedComponent {

fun providesIntegrityRequestManager(): IntegrityRequestManager

@Component.Builder
interface Builder {
@BindsInstance
Expand All @@ -50,15 +42,4 @@ internal interface FinancialConnectionsSingletonSharedComponent {
}

@Module
internal class FinancialConnectionsSingletonSharedModule {

@Provides
@Singleton
fun providesIntegrityStandardRequestManager(
context: Application
): IntegrityRequestManager = IntegrityStandardRequestManager(
cloudProjectNumber = 527113280969, // stripe-financial-connections
logError = { message, error -> Logger.getInstance(BuildConfig.DEBUG).error(message, error) },
factory = RealStandardIntegrityManagerFactory(context)
)
}
internal class FinancialConnectionsSingletonSharedModule

0 comments on commit cc8fb23

Please sign in to comment.