org.glassfish.jersey.examples.oauth2.googleclient
Class SimpleOAuthService
java.lang.Object
org.glassfish.jersey.examples.oauth2.googleclient.SimpleOAuthService
public class SimpleOAuthService
- extends Object
Store of credentials and Authorization flow. This is very simple one user store for credentials.
In real usage we would store tokens and flows per user.
- Author:
- Miroslav Fuksa (miroslav.fuksa at oracle.com)
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SimpleOAuthService
public SimpleOAuthService()
getAccessToken
public static String getAccessToken()
setAccessToken
public static void setAccessToken(String accessToken)
getFlow
public static OAuth2CodeGrantFlow getFlow()
setFlow
public static void setFlow(OAuth2CodeGrantFlow flow)
getClientIdentifier
public static ClientIdentifier getClientIdentifier()
setClientIdentifier
public static void setClientIdentifier(ClientIdentifier clientIdentifier)
Copyright © 2007-2014, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.