Skip to content

Latest commit

 

History

History
executable file
·
19 lines (12 loc) · 1.12 KB

README.md

File metadata and controls

executable file
·
19 lines (12 loc) · 1.12 KB

Twitch PubSub Javascript Sample

Here you find a simple JavaScript PubSub implementation with client-side authentication using the Implicit Grant Flow. The project structure section will give you a quick overview of this code.

Structure

index.html Provides the view of all incoming and outgoing pubsub messages.

main.js Provides the actual functionality of the PubSub client. If you are not authenticated, you will see the Connect to Twitch button and will be prompted through the authentication flow. After authenticating, you will be able to send and receive raw PubSub messages.

License

Copyright 2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.

Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with the License. A copy of the License is located at

http://aws.amazon.com/apache2.0/

or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.