Adding new init packet type without authentication, which is no guest login.

This commit is contained in:
lotodore
2009-11-14 13:13:51 +00:00
parent 059da0232a
commit f258786b62
79 changed files with 403 additions and 235 deletions
+7 -1
View File
@@ -88,7 +88,8 @@ InitMessage ::= [APPLICATION 1] SEQUENCE {
buildId INTEGER,
login CHOICE {
guestLogin [0] GuestLogin,
authenticatedLogin [1] AuthenticatedLogin
authenticatedLogin [1] AuthenticatedLogin,
unauthenticatedLogin [2] UnauthenticatedLogin
}
}
@@ -107,6 +108,11 @@ AuthenticatedLogin ::= SEQUENCE {
avatar AvatarHash OPTIONAL
}
UnauthenticatedLogin ::= SEQUENCE {
nickName UTF8String (SIZE(1..64)),
avatar AvatarHash OPTIONAL
}
AuthMessage ::= [APPLICATION 2] CHOICE {
authServerChallenge [0] AuthServerChallenge,
authClientResponse [1] AuthClientResponse,