Sha256: ac5671dc0733f294f10943480c5f754dffd2a66316610b9c660b1c9df243bc35

Contents?: true

Size: 731 Bytes

Versions: 1

Compression:

Stored size: 731 Bytes

Contents

Ruby client for [Auth0](https://auth0.com)

> This used to be the omniauth strategy for [Auth0](https://auth0.com) but now is a client for the Auth0 api. The omniauth strategy has been moved to [omniauth-auth0](https://github.com/auth0/omniauth-auth0).

## Installation

```
$ gem install auth0
```

## Basic usage

```ruby
require "auth0"

auth0 = Auth0Client.new(
  :client_id => "YOUR CLIENT ID",
  :client_secret => "YOUR CLIENT SECRET",
  :namespace => "<YOUR ACCOUNT>.auth0.com"
);

puts auth0.get_connections;
```

Using [APIv2](https://auth0.com/docs/apiv2)

```ruby
require "auth0"

auth0 = Auth0Client.new(
  :api_version => 2,
  :token => "YOUR JWT HERE"
);

puts auth0.get_users;
```

## License

MIT 2014 - Auth0 INC.

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
auth0-3.1.0 README.md