Skip to content

Commit

Permalink
Merge pull request #64 from muzzammilshahid/adapt-to-latest-xconn
Browse files Browse the repository at this point in the history
Adapt to latest changes in xconn
  • Loading branch information
muzzammilshahid authored Jul 22, 2024
2 parents 5405ef6 + b1b2303 commit 92c09e4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/wamp_util.dart
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,11 @@ Future<Session> connect(
Client client;

if (ticket != null) {
client = Client(serializer: serializer, authenticator: TicketAuthenticator(ticket, authid ?? ""));
client = Client(serializer: serializer, authenticator: TicketAuthenticator(authid ?? "", {}, ticket));
} else if (secret != null) {
client = Client(serializer: serializer, authenticator: WAMPCRAAuthenticator(secret, authid ?? "", {}));
client = Client(serializer: serializer, authenticator: WAMPCRAAuthenticator(authid ?? "", {}, secret));
} else if (privateKey != null) {
client = Client(serializer: serializer, authenticator: CryptoSignAuthenticator(authid ?? "", privateKey));
client = Client(serializer: serializer, authenticator: CryptoSignAuthenticator(authid ?? "", {}, privateKey));
} else {
client = Client(serializer: serializer);
}
Expand Down

0 comments on commit 92c09e4

Please sign in to comment.