github.com/iris-contrib/gothic/example_low_level

A port to the goth/gothic


Install
go get github.com/iris-contrib/gothic/example_low_level

Documentation

Repository information

This repository is an Iris port of the http://github.com/markbates/goth.

License

Copyright (c) 2014 Mark Bates

MIT License

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Package information

Package goth provides a simple, clean, and idiomatic way to write authentication packages for Go web applications.

Unlike other similar packages, Goth, lets you write OAuth, OAuth2, or any other protocol providers, as long as they implement the Provider and Session interfaces.

This package was inspired by https://github.com/intridea/omniauth.

Docs

The API docs can be found at http://godoc.org/github.com/markbates/goth

Installation

$ go get github.com/iris-contrib/goth

Supported Providers

  • Amazon
  • Bitbucket
  • Box
  • Cloud Foundry
  • Digital Ocean
  • Dropbox
  • Facebook
  • GitHub
  • Gitlab
  • Google+
  • Heroku
  • InfluxCloud
  • Instagram
  • Lastfm
  • Linkedin
  • OneDrive
  • Paypal
  • SalesForce
  • Slack
  • Soundcloud
  • Spotify
  • Steam
  • Stripe
  • Twitch
  • Twitter
  • Uber
  • Wepay
  • Yahoo
  • Yammer

Examples

See the examples folder for a working application that lets users authenticate through Twitter, Facebook, Google Plus etc.

Issues

Issues always stand a significantly better chance of getting fixed if the are accompanied by a pull request.

Contributing

Would I love to see more providers? Certainly! Would you love to contribute one? Hopefully, yes!

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Write Tests!
  4. Commit your changes (git commit -am 'Add some feature')
  5. Push to the branch (git push origin my-new-feature)
  6. Create new Pull Request

Contributors

  • Mark Bates
  • Tyler Bunnell
  • Rakesh Goyal
  • Andy Grunwald
  • Ben Tranter
  • Sharad Ganapathy
  • sharadgana
  • Geoff Franks
  • Zac Bergquist
  • Craig P Jolicoeur
  • Corey McGrillis
  • Kevin Fitzpatrick
  • Noah Shibley
  • oov
  • Rafael Quintela
  • Tyler
  • DenSm
  • dante gray
  • Raphael Geronimi
  • Glenn Walker
  • Noah
  • bryanl
  • Masanobu YOSHIOKA
  • Jonathan Hall
  • HaiMing.Yin
  • Johnny Boursiquot
  • Omni Adams
  • Albin Gilles
  • Jacob Walker
  • dkhamsing
  • Dante Swift
  • Jerome Touffe-Blin