Skip to content

Commit

Permalink
API-2195 update README
Browse files Browse the repository at this point in the history
  • Loading branch information
ahongbynder committed Jan 17, 2025
1 parent 024c828 commit 3b36631
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,17 @@ For instance, if we only wanted to retrieve **2 images** here is what the call w
All the calls are **Asynchronous**, which means they will return a **Promise** object, making it a bit more flexible in order to adjust to any kind of application.
Again, for a more thorough example there is a sample [application use case](sample/sample.php) in this repo.

### Client Credentials

OAuth can be used via authorization code or client credentials. To use client credentials, initialize a Bynder client
with OAuth2 Configuration and make call to get a token via:

`$bynder->getAccessTokenClientCredentials();`

Sample file found in `sample/OAuthClientCredentialsSample.php`.

`php OAuthClientCredentialsSample.php`

## Methods Available
These are the methods currently available on the **Bynder PHP SDK**, refer to the [Bynder API Docs](http://docs.bynder.apiary.io/)) for more specific details on the calls.

Expand Down

0 comments on commit 3b36631

Please sign in to comment.