-
Notifications
You must be signed in to change notification settings - Fork 56
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Auth differences between ably-js and ably-ruby #116
Comments
I agree ;) |
I agree on the second point, not sure I agree on the first :) |
@paddybyers, the |
Yes, agreed.
"it" is the precedence (ie match how Ruby prefers I do think that |
Superseded by #137 |
request_token
with a single argument (normally takes bothauth_options
andtoken_params
), ably-ruby assumes it's theauth_options
, ably-js assumes it'stokenParams
.tokenParams
, ably-js assumes they replace existing token params, ably-ruby merges them.@mattheworiordan @paddybyers
(I marginally prefer ably-ruby behaviour in both cases: for the first, having tokenOptions sometimes be the second argument and sometimes be the first seems nonideal; for the second, someone might want to modify the ttl, but would still assume it'd use the clientId the lib was initialized with).
The text was updated successfully, but these errors were encountered: