@Path(value="/social") public class SocialResource extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
SocialResource.State |
| Modifier and Type | Field and Description |
|---|---|
protected ClientConnection |
clientConnection |
protected javax.ws.rs.core.HttpHeaders |
headers |
protected static org.jboss.logging.Logger |
logger |
protected ProviderSession |
providers |
protected ProviderSession |
providerSession |
protected KeycloakSession |
session |
protected javax.ws.rs.core.UriInfo |
uriInfo |
| Constructor and Description |
|---|
SocialResource(TokenManager tokenManager) |
protected static org.jboss.logging.Logger logger
@Context protected javax.ws.rs.core.UriInfo uriInfo
@Context protected javax.ws.rs.core.HttpHeaders headers
@Context protected ProviderSession providerSession
@Context protected KeycloakSession session
@Context protected ProviderSession providers
@Context protected ClientConnection clientConnection
public SocialResource(TokenManager tokenManager)
@GET
@Path(value="callback")
public javax.ws.rs.core.Response callback(@QueryParam(value="state")
String encodedState)
throws URISyntaxException,
IOException
URISyntaxExceptionIOException@GET
@Path(value="{realm}/login")
public javax.ws.rs.core.Response redirectToProviderAuth(@PathParam(value="realm")
String realmName,
@QueryParam(value="provider_id")
String providerId,
@QueryParam(value="client_id")
String clientId,
@QueryParam(value="scope")
String scope,
@QueryParam(value="state")
String state,
@QueryParam(value="redirect_uri")
String redirectUri,
@QueryParam(value="response_type")
String responseType)
Copyright © 2014. All Rights Reserved.