Skip to content

Instantly share code, notes, and snippets.

View aaberg's full-sized avatar

Lars Aaberg aaberg

View GitHub Profile
@aaberg
aaberg / Security.java
Created November 18, 2012 12:00 — forked from sealskej/Application.java
Login to play20 application with google acount
@SuppressWarnings("serial")
public static final Map<String, String> identifiers = new HashMap<String, String>() {
{
put("google", "https://www.google.com/accounts/o8/id");
}
};
public static Result auth() {
Logger.debug("authenticate");
String providerId = "google";