summaryrefslogtreecommitdiff
path: root/src/main/kotlin/Authenticator9PAnyV2DP9IK.kt
blob: ec0710d444b35325aec7c450fe470e62ac3070b8 (plain)
1
2
3
4
5
6
7
8
9
10
11
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")
    }
}