com.threerings.bureau.data
Class BureauCredentials

java.lang.Object
  extended by com.threerings.presents.net.Credentials
      extended by com.threerings.presents.net.ServiceCreds
          extended by com.threerings.bureau.data.BureauCredentials
All Implemented Interfaces:
Streamable

public class BureauCredentials
extends ServiceCreds

Extends the basic credentials to provide bureau-specific fields.


Nested Class Summary
 
Nested classes/interfaces inherited from class com.threerings.presents.net.Credentials
Credentials.HasLanguage, Credentials.HasMachineIdent
 
Nested classes/interfaces inherited from interface com.threerings.io.Streamable
Streamable.Closure
 
Field Summary
 
Fields inherited from class com.threerings.presents.net.ServiceCreds
_authToken, clientId
 
Constructor Summary
BureauCredentials()
          Creates an empty credentials for streaming.
BureauCredentials(String bureauId, String sharedSecret)
          Creates new credentials for a specific bureau.
 
Method Summary
 
Methods inherited from class com.threerings.presents.net.ServiceCreds
areValid, createAuthToken, toString
 
Methods inherited from class com.threerings.presents.net.Credentials
getDatagramSecret
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BureauCredentials

public BureauCredentials(String bureauId,
                         String sharedSecret)
Creates new credentials for a specific bureau.


BureauCredentials

public BureauCredentials()
Creates an empty credentials for streaming. Should not be used directly.