Sha256: 9ea7b94ff80339c4d146d9dca5f96851e9727141212086cd2a30c6191df750ed

Contents?: true

Size: 515 Bytes

Versions: 1

Compression:

Stored size: 515 Bytes

Contents

# 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](https://dev.bitly.com/v4/#operation/getOAuthApp)

## Fetch an OAuth app

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

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

Or with the class method

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
bitly-2.0.0.beta.1 docs/oauth_apps.md