diff options
-rw-r--r-- | src/main/kotlin/Authenticator.kt | 2 | ||||
-rw-r--r-- | src/main/kotlin/Authenticator9PAnyV2DP9IK.kt | 4 |
2 files changed, 3 insertions, 3 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 diff --git a/src/main/kotlin/Authenticator9PAnyV2DP9IK.kt b/src/main/kotlin/Authenticator9PAnyV2DP9IK.kt index ec0710d..99c52a0 100644 --- a/src/main/kotlin/Authenticator9PAnyV2DP9IK.kt +++ b/src/main/kotlin/Authenticator9PAnyV2DP9IK.kt @@ -6,7 +6,7 @@ * default authenticated 9P service, it must implement the p9any meta-protocol, preferably version 2. */ class Authenticator9PAnyV2DP9IK : Authenticator { - override fun authenticate(username: String, password: String, readFun: () -> Array<UByte>, writeFun: (Array<UByte>) -> Unit) { - TODO("Not yet implemented") + override fun authenticate(username: String, password: String, readFun: () -> List<UByte>, writeFun: (List<UByte>) -> Unit) { + } }
\ No newline at end of file |