summaryrefslogtreecommitdiff
path: root/src/main/kotlin/Authenticator.kt
diff options
context:
space:
mode:
authorEdoardo La Greca2025-08-11 20:07:05 +0200
committerEdoardo La Greca2025-08-11 20:07:05 +0200
commitc03cb8abf4cb48e9816d8f2642e6e60823627689 (patch)
tree2ab6db50e1d7fefa892bf5c85d2dafe22fb46112 /src/main/kotlin/Authenticator.kt
parent1b4f96d554097e0839cd5e7562954692543abc84 (diff)
change types of readFunand writeFun in Authenticator
Diffstat (limited to 'src/main/kotlin/Authenticator.kt')
-rw-r--r--src/main/kotlin/Authenticator.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/kotlin/Authenticator.kt b/src/main/kotlin/Authenticator.kt
index 47747f3..932004f 100644
--- a/src/main/kotlin/Authenticator.kt
+++ b/src/main/kotlin/Authenticator.kt
@@ -14,5 +14,5 @@ interface Authenticator {
* @throws except.FailedAuthenticationException if the authentication could not be performed. A human-readable
* reason for the failure can be provided if necessary.
*/
- fun authenticate(username: String, password: String, readFun: () -> Array<UByte>, writeFun: (b: Array<UByte>) -> Unit)
+ fun authenticate(username: String, password: String, readFun: () -> List<UByte>, writeFun: (b: List<UByte>) -> Unit)
} \ No newline at end of file