Skip to content

Support Pusher Auth Endpoint#13

Open
ngs wants to merge 1 commit into
abhishiv:masterfrom
ngs-archives:auth-endpoint
Open

Support Pusher Auth Endpoint#13
ngs wants to merge 1 commit into
abhishiv:masterfrom
ngs-archives:auth-endpoint

Conversation

@ngs

@ngs ngs commented Feb 8, 2016

Copy link
Copy Markdown

Added Auth Endpoint support.

How to use

pusher_client = new PusherClient
  key: (process.env.PUSHER_KEY or pusher_key)
  authEndpoint: 'https://myapi.mydomain.com/auth/pusher'

or

pusher_client = new PusherClient
  key: (process.env.PUSHER_KEY or pusher_key)
  auth:
    # Any of request npm module options: https://git.io/vgBTa
    url: 'https://myapi.mydomain.com/auth/pusher'
    headers:
      'X-CSRF-Token': 'SOME_CSRF_TOKEN'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant