Implemented bureau authentication
* Token member for bureaus * Exception type for failed authentication * Authenticate function * Bureau id to credentials * Fixed bad constructor and toString git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5149 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -41,13 +41,10 @@ public abstract class BureauClient extends Client
|
||||
public BureauClient (String token, String bureauId, RunQueue runQueue)
|
||||
{
|
||||
super(null, runQueue);
|
||||
|
||||
_bureauId = bureauId;
|
||||
|
||||
BureauCredentials creds = new BureauCredentials(_bureauId);
|
||||
creds.sessionToken = token;
|
||||
_creds = creds;
|
||||
|
||||
_ctx = createContext();
|
||||
_director = createDirector();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user