com.khubla.pragmatach.plugin.google
Class GoogleLoginController
java.lang.Object
com.khubla.pragmatach.framework.controller.impl.AbstractController
com.khubla.pragmatach.framework.controller.impl.template.AbstractTemplateEngineController
com.khubla.pragmatach.framework.controller.impl.FormPostBeanBoundController
com.khubla.pragmatach.plugin.freemarker.FreemarkerController
com.khubla.pragmatach.plugin.google.GoogleLoginController
- All Implemented Interfaces:
- BeanBoundController, PragmatachController
- Direct Known Subclasses:
- IndexController
public class GoogleLoginController
- extends FreemarkerController
- Author:
- tome
https://developers.google.com/accounts/docs/OAuth2WebServer
Methods inherited from class com.khubla.pragmatach.framework.controller.impl.AbstractController |
bad, buildWildcardResourceURI, forward, getApplicationURL, getCacheHeaders, getConfigurationParameter, getControllerName, getControllerName, getPragmatachRoute, getRequest, getResource, getSessionScopedController, ok, redirect, setPragmatachRoute, setRequest |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GoogleLoginController
public GoogleLoginController(String redirectURL)
throws PragmatachException
- ctor
- Throws:
PragmatachException
doLogin
public Response doLogin()
throws PragmatachException
- Throws:
PragmatachException
getAccessToken
public String getAccessToken()
getClientid
public String getClientid()
getClientsecret
public String getClientsecret()
getCode
public String getCode()
getEmail
public String getEmail()
getFamily_name
public String getFamily_name()
getGiven_name
public String getGiven_name()
getGoogleAuthURL
public String getGoogleAuthURL()
- get the auth URL to POST to
getId
public String getId()
getName
public String getName()
getRedirectURL
public String getRedirectURL()
getState
public String getState()
setAccessToken
public void setAccessToken(String accessToken)
setClientid
public void setClientid(String clientid)
setClientsecret
public void setClientsecret(String clientsecret)
setCode
public void setCode(String code)
setEmail
public void setEmail(String email)
setFamily_name
public void setFamily_name(String family_name)
setGiven_name
public void setGiven_name(String given_name)
setId
public void setId(String id)
setName
public void setName(String name)
setState
public void setState(String state)
Copyright © 2014 khubla.com. All rights reserved.