diff --git a/src/java/com/threerings/presents/data/AuthCodes.java b/src/java/com/threerings/presents/data/AuthCodes.java new file mode 100644 index 000000000..4ebe17a84 --- /dev/null +++ b/src/java/com/threerings/presents/data/AuthCodes.java @@ -0,0 +1,21 @@ +// +// $Id: AuthCodes.java,v 1.1 2002/07/12 16:17:45 mdb Exp $ + +package com.threerings.presents.data; + +/** + * Basic authentication response codes. + */ +public interface AuthCodes +{ + /** A code indicating that no user exists with the specified + * username. */ + public static final String NO_SUCH_USER = "m.no_such_user"; + + /** A code indicating that the supplied password was invalid. */ + public static final String INVALID_PASSWORD = "m.invalid_password"; + + /** A code indicating that an internal server error occurred while + * trying to log the user on. */ + public static final String SERVER_ERROR = "m.server_error"; +}