From 5e66d99c852ea67a88b650c03b0e8d55e83eccde Mon Sep 17 00:00:00 2001 From: Harsh Shandilya Date: Sat, 5 Dec 2020 06:07:18 +0530 Subject: Refactor package structure (#1233) * idea: default test runner to Gradle * Kick off package structure revamp * Reparent all classes under dev.msfjarvis.aps Signed-off-by: Harsh Shandilya --- .../java/com/zeapo/pwdstore/utils/TotpFinder.kt | 32 ---------------------- 1 file changed, 32 deletions(-) delete mode 100644 app/src/main/java/com/zeapo/pwdstore/utils/TotpFinder.kt (limited to 'app/src/main/java/com/zeapo/pwdstore/utils/TotpFinder.kt') diff --git a/app/src/main/java/com/zeapo/pwdstore/utils/TotpFinder.kt b/app/src/main/java/com/zeapo/pwdstore/utils/TotpFinder.kt deleted file mode 100644 index 13a47543..00000000 --- a/app/src/main/java/com/zeapo/pwdstore/utils/TotpFinder.kt +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Copyright © 2014-2020 The Android Password Store Authors. All Rights Reserved. - * SPDX-License-Identifier: GPL-3.0-only - */ - -package com.zeapo.pwdstore.utils - -/** - * Defines a class that can extract relevant parts of a TOTP URL for use by the app. - */ -interface TotpFinder { - - /** - * Get the TOTP secret from the given extra content. - */ - fun findSecret(content: String): String? - - /** - * Get the number of digits required in the final OTP. - */ - fun findDigits(content: String): String - - /** - * Get the TOTP timeout period. - */ - fun findPeriod(content: String): Long - - /** - * Get the algorithm for the TOTP secret. - */ - fun findAlgorithm(content: String): String -} -- cgit v1.2.3