public class OAuth2Object extends AbstractResource<ResourceTypeImpl>
Constructor and Description |
---|
OAuth2Object() |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
getProvider(String providerId,
javax.servlet.http.HttpServletRequest request)
Retrieves oauth2 data for a given provider.
|
javax.ws.rs.core.Response |
getToken(String providerId,
javax.servlet.http.HttpServletRequest request)
Retrieves a valid access token for a given provider and the current user.
|
checkGuard, dispose, getActiveAdapter, getAdapter, getContext, getFacets, getLinks, getModule, getName, getNext, getNextSegment, getPath, getPrevious, getTemplate, getTrailingPath, getType, getURL, getView, hasFacet, initialize, initialize, isAdapter, isInstanceOf, isRoot, newAdapter, newObject, redirect, setNext, setPrevious, setRoot, toString
public OAuth2Object()
public javax.ws.rs.core.Response getProvider(String providerId, @Context javax.servlet.http.HttpServletRequest request) throws IOException, RestOperationException
IOException
RestOperationException
public javax.ws.rs.core.Response getToken(String providerId, @Context javax.servlet.http.HttpServletRequest request) throws IOException, RestOperationException
IOException
RestOperationException
Copyright © 2016 Nuxeo SA. All rights reserved.