aboutsummaryrefslogtreecommitdiff
path: root/format-common/api/format-common.api
diff options
context:
space:
mode:
Diffstat (limited to 'format-common/api/format-common.api')
-rw-r--r--format-common/api/format-common.api30
1 files changed, 30 insertions, 0 deletions
diff --git a/format-common/api/format-common.api b/format-common/api/format-common.api
new file mode 100644
index 00000000..c088a828
--- /dev/null
+++ b/format-common/api/format-common.api
@@ -0,0 +1,30 @@
+public final class dev/msfjarvis/aps/data/passfile/PasswordEntry {
+ public static final field Companion Ldev/msfjarvis/aps/data/passfile/PasswordEntry$Companion;
+ public fun <init> (Ldev/msfjarvis/aps/util/time/UserClock;Ldev/msfjarvis/aps/util/totp/TotpFinder;Lkotlinx/coroutines/CoroutineScope;[B)V
+ public final fun getExtraContent ()Ljava/util/Map;
+ public final fun getExtraContentWithoutAuthData ()Ljava/lang/String;
+ public final fun getPassword ()Ljava/lang/String;
+ public final fun getTotp ()Lkotlinx/coroutines/flow/StateFlow;
+ public final fun getUsername ()Ljava/lang/String;
+ public final fun hasTotp ()Z
+}
+
+public class dev/msfjarvis/aps/util/time/UserClock : java/time/Clock {
+ public fun <init> ()V
+ public fun getZone ()Ljava/time/ZoneId;
+ public fun instant ()Ljava/time/Instant;
+ public fun withZone (Ljava/time/ZoneId;)Ljava/time/Clock;
+}
+
+public abstract interface class dev/msfjarvis/aps/util/totp/TotpFinder {
+ public static final field Companion Ldev/msfjarvis/aps/util/totp/TotpFinder$Companion;
+ public abstract fun findAlgorithm (Ljava/lang/String;)Ljava/lang/String;
+ public abstract fun findDigits (Ljava/lang/String;)Ljava/lang/String;
+ public abstract fun findPeriod (Ljava/lang/String;)J
+ public abstract fun findSecret (Ljava/lang/String;)Ljava/lang/String;
+}
+
+public final class dev/msfjarvis/aps/util/totp/TotpFinder$Companion {
+ public final fun getTOTP_FIELDS ()[Ljava/lang/String;
+}
+