Skip to content
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

Support for app key auth #40

Merged
merged 4 commits into from
Apr 12, 2018
Merged

Support for app key auth #40

merged 4 commits into from
Apr 12, 2018

Conversation

laander
Copy link
Contributor

@laander laander commented Feb 17, 2018

Motivation

After releasing app key based authentication, the JS SDK never got updated to explicitly supporting it. This PR adds app key auth and updates the Readme with more up to date examples.

Design choices

You can supply appKey into the timekit.configure() method. Or use the timekit.setAppKey() method to set/update it later.

Side-effects/other

When App Widget Key is officially released, the Readme should be updated to reflect that.

Tests

Made a test that check the request headers are set correctly.

Who should review it

@vistik

@laander laander changed the title Support for app token auth Support for app key auth Apr 12, 2018
@vistik
Copy link
Contributor

vistik commented Apr 12, 2018

🎱

@laander laander merged commit c6531cf into master Apr 12, 2018
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.

2 participants