Skip to content

Instantly share code, notes, and snippets.

@excavador
Created March 22, 2013 21:40
Show Gist options
  • Save excavador/5224985 to your computer and use it in GitHub Desktop.
Save excavador/5224985 to your computer and use it in GitHub Desktop.
/*
* This file is part of Z-Reader (c) 2013
*
* Z-Reader is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* Z-Reader is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with Z-Reader. If not, see <http://www.gnu.org/licenses/>.
*/
package sh.oleg.zreader.snippet
import sh.oleg.zreader.auth.google.oauth2.Login._
//import sh.oleg.zreader.auth.google.oauth2.Login.{Snippet}
//import sh.oleg.zreader.auth.google.oauth2.Login
object GoogleOAuth2Login extends Snippet(
new RedirectUri("http://localhost:8080/oauth2callback"),
new ClientId("855033541488.apps.googleusercontent.com"),
new Scope(),
new State("/profile"),
ResponseType.code,
AccessType.default,
ApprovalPrompt.force
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment