Sha256: 437a09b79c4bcc9c61ea4f35932168db7451a5fea3d8f2718b0b185df883ea78

Contents?: true

Size: 1.5 KB

Versions: 2

Compression:

Stored size: 1.5 KB

Contents

# SidekiqWebGoogleAuth
[![Build Status](https://travis-ci.org/umbrellio/sidekiq_web_google_auth.svg?branch=master)](https://travis-ci.org/umbrellio/sidekiq_web_google_auth)
[![Coverage Status](https://coveralls.io/repos/github/umbrellio/sidekiq_web_google_auth/badge.svg?branch=master)](https://coveralls.io/github/umbrellio/sidekiq_web_google_auth?branch=master)
[![Gem Version](https://badge.fury.io/rb/sidekiq_web_google_auth.svg)](https://badge.fury.io/rb/sidekiq_web_google_auth)

Google OAuth for Sidekiq::Web

## Installation

Add this line to your application's Gemfile:

```ruby
gem 'sidekiq_web_google_auth'
```

And then execute:

    $ bundle install

Or install it yourself as:

    $ gem install sidekiq_web_google_auth

## Usage

Initialize builder:

```ruby
    Sidekiq::Web.use(SidekiqWebGoogleAuth::Builder) do
      provider(
        "example_client_id", # Google OAuth client ID
        "example_client_secret", # Google OAuth client secret
        authorized_emails: %w[test@mail.com], # List of authorized emails
      )
   end
```

## Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/umbrellio/sidekiq_web_google_auth.


## License

The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).

## Authors

Team Umbrellio

---

<a href="https://github.com/umbrellio/">
<img style="float: left;" src="https://umbrellio.github.io/Umbrellio/supported_by_umbrellio.svg" alt="Supported by Umbrellio" width="439" height="72">
</a>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
sidekiq_web_google_auth-0.1.1 README.md
sidekiq_web_google_auth-0.1.0 README.md