Closed hamchapman closed 6 years ago
authenticate
authenticate_with_request
Hash
Pusher
PusherPlatform
require
CC @pusher/sigsdk
@pl am I good to merge this?
Updated to use ErrorResponse in auth errors.
ErrorResponse
Basically matches Node SDK (after this PR is merged https://github.com/pusher/pusher-platform-node/pull/50)
Looks good to me now.
What?
authenticate
toauthenticate_with_request
authenticate
(nowauthenticate_with_request
) no longer returns a status code. It will either return aHash
containing the required authentication payload or will raise an errorPusher
toPusherPlatform
(fixes #15)require
sWhy?
CC @pusher/sigsdk