protected class AbstractOAuth2IdentityProvider.Endpoint extends Object
| Modifier and Type | Field and Description |
|---|---|
protected IdentityProvider.AuthenticationCallback |
callback |
protected ClientConnection |
clientConnection |
protected EventBuilder |
event |
protected javax.ws.rs.core.HttpHeaders |
headers |
protected RealmModel |
realm |
protected KeycloakSession |
session |
protected javax.ws.rs.core.UriInfo |
uriInfo |
| Constructor and Description |
|---|
Endpoint(IdentityProvider.AuthenticationCallback callback,
RealmModel realm,
EventBuilder event) |
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
authResponse(String state,
String authorizationCode,
String error) |
SimpleHttp |
generateTokenRequest(String authorizationCode) |
protected IdentityProvider.AuthenticationCallback callback
protected RealmModel realm
protected EventBuilder event
@Context protected KeycloakSession session
@Context protected ClientConnection clientConnection
@Context protected javax.ws.rs.core.HttpHeaders headers
@Context protected javax.ws.rs.core.UriInfo uriInfo
public Endpoint(IdentityProvider.AuthenticationCallback callback, RealmModel realm, EventBuilder event)
@GET
public javax.ws.rs.core.Response authResponse(@QueryParam(value="state")
String state,
@QueryParam(value="code")
String authorizationCode,
@QueryParam(value="error")
String error)
public SimpleHttp generateTokenRequest(String authorizationCode)
Copyright © 2016 JBoss by Red Hat. All rights reserved.