Skip to content

Commit

Permalink
feat(DataSourceModule): 토큰 관리 데이터 저장소 정의
Browse files Browse the repository at this point in the history
  • Loading branch information
SeongHoonC committed Apr 28, 2024
1 parent d92622c commit 717d9ae
Showing 1 changed file with 16 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
package com.festago.festago.data.di.singletonscope

import com.festago.festago.data.datasource.TokenDataSource
import com.festago.festago.data.datasource.TokenLocalDataSource
import dagger.Binds
import dagger.Module
import dagger.hilt.InstallIn
import dagger.hilt.components.SingletonComponent

@Module
@InstallIn(SingletonComponent::class)
interface DataSourceModule {

@Binds
fun bindsTokenDataSource(localDataSource: TokenLocalDataSource): TokenDataSource
}

0 comments on commit 717d9ae

Please sign in to comment.