Giter Site home page Giter Site logo

jinhucheung / omniauth-ekuaishou Goto Github PK

View Code? Open in Web Editor NEW
3.0 2.0 0.0 22 KB

Omniauth strategy for Kuaishou Marketing

Home Page: https://github.com/jinhucheung/omniauth-ekuaishou

License: MIT License

Ruby 98.40% Shell 1.60%
omniauth ruby kuaishou kuaishou-api oauth2

omniauth-ekuaishou's Introduction

Gem Version Build Status

Omniauth Ekuaishou

This is the official OmniAuth strategy for authenticating to Kuaishou Marketing. To use it, you'll need to sign up for an OAuth2 Application ID and Secret on the Kuaishou Marketing Applications Page.

Installation

Add this line to your application's Gemfile:

gem 'omniauth-ekuaishou'

And then execute:

$ bundle install

Or install it yourself as:

$ gem install omniauth-ekuaishou

Usage

OmniAuth::Strategies::Ekuaishou is simply a Rack middleware. Read the OmniAuth docs for detailed instructions: https://github.com/intridea/omniauth.

Here's a quick example, adding the middleware to a Rails app in config/initializers/omniauth.rb:

Rails.application.config.middleware.use OmniAuth::Builder do
  provider :ekuaishou, ENV['EKUAISHOU_APP_ID'], ENV['EKUAISHOU_APP_SECRET']
end

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/jinhucheung/omniauth-ekuaishou.

License

The gem is available as open source under the terms of the MIT License.

omniauth-ekuaishou's People

Contributors

davinderx avatar jinhucheung avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.