Skip to content

Latest commit

 

History

History
20 lines (13 loc) · 515 Bytes

oauth_apps.md

File metadata and controls

20 lines (13 loc) · 515 Bytes

OAuth Apps

You can fetch the details of an OAuth app you have in your account by the client_id.

See the full Bitly documentation for OAuth apps

Fetch an OAuth app

With the client_id of an OAuth app, you can fetch it directly.

client = Bitly::API::Client.new(token: token)
oauth_app = client.oauth_app(client_id: client_id)

Or with the class method

oauth_app = Bitly::API::OAuthApp.fetch(client: client, client_id: client_id)