Skip to content

jeneive/oauth-client-examples

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Client examples

The client library, SDK and sample code are located in this directory.

Client here refers to an application making protected resource requests on behalf of the resource owner and with its authorization.

Credential client registration

Many of these examples use a client credential registration with a scope authorizing read access to the Analytics API. Such a registration might be created as follows:

# With $BC_TOKEN (browser session cookie) and $ACCOUNT_ID (publisher account) variables:
curl -H "Authorization: BC_TOKEN $BC_TOKEN" -X POST -d 'name=example-client&maximum_scope=[{"identity":{"type":"video-cloud-account","account-id":'$ACCOUNT_ID'},"operations":["video-cloud/analytics/read"]}]' https://oauth.brightcove.com/v3/client_credentials

About

Example client implementations for Brightcove's OAuth service

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 41.1%
  • Clojure 30.5%
  • Python 15.1%
  • Ruby 13.3%