Skip to content

Instantly share code, notes, and snippets.

View mstahv's full-sized avatar

Matti Tahvonen mstahv

View GitHub Profile
@mstahv
mstahv / Google2APi.java
Last active November 4, 2018 17:34
Google OAuth2.0 for scribe-java
package org.scribe.builder.api;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import org.scribe.exceptions.OAuthException;
import org.scribe.extractors.AccessTokenExtractor;
import org.scribe.model.OAuthConfig;
import org.scribe.model.OAuthConstants;
import org.scribe.model.OAuthRequest;