@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 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 KeycloakSession session
@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
URISyntaxException
IOException
@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 © 2015. All Rights Reserved.