use of de.dytanic.cloudnet.lib.network.auth.Auth in project CloudNet by Dytanic.
the class PacketInAuthReader method handleInput.
@Override
public void handleInput(Document data, PacketSender packetSender) {
Auth auth = data.getObject("auth", new TypeToken<Auth>() {
}.getType());
handleAuth(auth, auth.getType(), auth.getAuthData(), packetSender);
}
use of de.dytanic.cloudnet.lib.network.auth.Auth in project CloudNet by Dytanic.
the class CloudAPI method bootstrap.
/*================= Internal =====================*/
@Deprecated
public void bootstrap() {
this.networkConnection.tryConnect(config.getBoolean("ssl"), new NetDispatcher(networkConnection, false), new Auth(serviceId), shutdownTask);
NetworkUtils.header();
}
Aggregations