Skip to content

Instantly share code, notes, and snippets.

View antonj's full-sized avatar

Anton Johansson antonj

View GitHub Profile
@teamon
teamon / Auth.scala
Created April 8, 2012 13:43
Play2.0 with Github OAuth2 example
package controllers
import lib._
import play.api.mvc._
import play.api.libs.json._
object Auth extends Controller {
val GITHUB = new OAuth2[GithubUser](OAuth2Settings(