org.glassfish.jersey.examples.oauth2.googleclient.resource
Class SetupResource

java.lang.Object
  extended by org.glassfish.jersey.examples.oauth2.googleclient.resource.SetupResource

@Path(value="setup")
public class SetupResource
extends Object

Resource initializes Client ID (ID of application issued by Google).

Author:
Miroslav Fuksa (miroslav.fuksa at oracle.com)

Constructor Summary
SetupResource()
           
 
Method Summary
 javax.ws.rs.core.Response setup(String consumerKey, String consumerSecret)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SetupResource

public SetupResource()
Method Detail

setup

@GET
@Produces(value="text/html")
public javax.ws.rs.core.Response setup(@QueryParam(value="clientId")
                                                    String consumerKey,
                                                    @QueryParam(value="clientSecret")
                                                    String consumerSecret)


Copyright © 2007-2013, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.