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

Update README to include Single-User Auth Info #59

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,16 @@ $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 (or preferably configure) your access tokens into your app.

```php
$lib->setToken($access_token);
```
Copy link
Author

Choose a reason for hiding this comment

The 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?

Copy link
Contributor

Choose a reason for hiding this comment

The 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
Expand Down