Skip to content

Commit

Permalink
fix: Remove init from AppChecker (#96)
Browse files Browse the repository at this point in the history
* feat: Add functionality for the FirebaseAppCheck call

* fix: Remove unused import

* fix: Remove init from AppChecker

- amended AppChecker to allow for inistaniating Firebase within
init block within implementation of the interface

* refactor: Amend AppChecker to be fun inetrface
  • Loading branch information
BiancaMihaila authored Nov 6, 2024
1 parent 3a23dfa commit ccd4cd1
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
package uk.gov.android.authentication.integrity.appcheck

import android.content.Context
import uk.gov.android.authentication.integrity.model.AppCheckToken

interface AppChecker {
fun init(context: Context)

fun interface AppChecker {
suspend fun getAppCheckToken(): Result<AppCheckToken>
}

0 comments on commit ccd4cd1

Please sign in to comment.