blob: 99c52a0ab628cadbc3b173fff1b03bc4148c2156 (
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: () -> List<UByte>, writeFun: (List<UByte>) -> Unit) {
}
}
|