Provide some basic auth codes so that all users of Presents don't have to

come up with these same codes themselves.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1573 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Michael Bayne
2002-07-12 16:17:45 +00:00
parent 78b58a6093
commit 6064ab1750
@@ -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";
}