public class OAuthRedirect extends AbstractOAuthClient
Modifier and Type | Field and Description |
---|---|
protected static org.jboss.logging.Logger |
logger |
authUrl, clientId, credentials, isSecure, publicClient, relativeUrlsUsed, scope, stateCookieName, stateCookiePath, tokenUrl
Constructor and Description |
---|
OAuthRedirect() |
Modifier and Type | Method and Description |
---|---|
void |
checkStateCookie(javax.ws.rs.core.UriInfo uriInfo,
javax.ws.rs.core.HttpHeaders headers) |
String |
getAccessCode(javax.ws.rs.core.UriInfo uriInfo) |
String |
getError(javax.ws.rs.core.UriInfo uriInfo) |
String |
getStateCookiePath(javax.ws.rs.core.UriInfo uriInfo) |
javax.ws.rs.core.Response |
redirect(javax.ws.rs.core.UriInfo uriInfo,
String redirectUri) |
void |
stop()
closes client
|
getAuthUrl, getClientId, getCredentials, getRelativeUrlsUsed, getScope, getStateCode, getStateCookieName, getStateCookiePath, getTokenUrl, isPublicClient, setAuthUrl, setClientId, setCredentials, setPublicClient, setRelativeUrlsUsed, setScope, setStateCookieName, setStateCookiePath, setTokenUrl, stripOauthParametersFromRedirect
public void stop()
public javax.ws.rs.core.Response redirect(javax.ws.rs.core.UriInfo uriInfo, String redirectUri)
public String getStateCookiePath(javax.ws.rs.core.UriInfo uriInfo)
public String getError(javax.ws.rs.core.UriInfo uriInfo)
public String getAccessCode(javax.ws.rs.core.UriInfo uriInfo)
public void checkStateCookie(javax.ws.rs.core.UriInfo uriInfo, javax.ws.rs.core.HttpHeaders headers)
Copyright © 2015. All rights reserved.