diff options
Diffstat (limited to 'src/main/kotlin/Authenticator9PAnyV2DP9IK.kt')
-rw-r--r-- | src/main/kotlin/Authenticator9PAnyV2DP9IK.kt | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/main/kotlin/Authenticator9PAnyV2DP9IK.kt b/src/main/kotlin/Authenticator9PAnyV2DP9IK.kt new file mode 100644 index 0000000..ec0710d --- /dev/null +++ b/src/main/kotlin/Authenticator9PAnyV2DP9IK.kt @@ -0,0 +1,12 @@ +/** + * This class (with an ugly ass name) implements the authentication procedure for the p9any meta-protocol version 2, + * hinting at the usage of dp9ik during negotiation and failing if it's unavailable. + * + * The 9P protocol does not provide a default authentication method. However, since NineKt must work with 9front's + * 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") + } +}
\ No newline at end of file |