-
Notifications
You must be signed in to change notification settings - Fork 211
Update README to include Single-User Auth Info #59
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
base: master
Are you sure you want to change the base?
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -87,6 +87,18 @@ $lib->setToken($token->access_token) | |
| ### Authenticated | ||
|
|
||
|
|
||
| #### Single User Applications | ||
|
|
||
| If you only ever plan on interacting with a single user account feel free to hard code your access tokens into your app. This token should follow the spec described under authenticated requests. | ||
|
|
||
| If this user is also the app owner, you can generate a token on your app page. | ||
|
|
||
| ```php | ||
| $lib->setToken($access_token); | ||
| ``` | ||
|
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @Dashron this look good - or do you want the code example gone too?
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Definitely keep the example. This looks good. Just fill out our CLA (keeps the code licensing clear): developer.vimeo.com/cla and I'll merge this in. |
||
|
|
||
| #### Multi-User Applications | ||
|
|
||
| 1. Build a link to Vimeo so your users can authorize your app. | ||
|
|
||
| ```php | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lets drop the second sentence, and just keep it as...