Package org.keycloak.broker.oidc
Class AbstractOAuth2IdentityProvider.Endpoint
- java.lang.Object
-
- org.keycloak.broker.oidc.AbstractOAuth2IdentityProvider.Endpoint
-
- Direct Known Subclasses:
OIDCIdentityProvider.OIDCEndpoint
- Enclosing class:
- AbstractOAuth2IdentityProvider<C extends OAuth2IdentityProviderConfig>
protected static class AbstractOAuth2IdentityProvider.Endpoint extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected IdentityProvider.AuthenticationCallback
callback
protected ClientConnection
clientConnection
protected EventBuilder
event
protected javax.ws.rs.core.HttpHeaders
headers
protected HttpRequest
httpRequest
protected RealmModel
realm
protected KeycloakSession
session
-
Constructor Summary
Constructors Constructor Description Endpoint(IdentityProvider.AuthenticationCallback callback, RealmModel realm, EventBuilder event, AbstractOAuth2IdentityProvider provider)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.ws.rs.core.Response
authResponse(String state, String authorizationCode, String error)
SimpleHttp
generateTokenRequest(String authorizationCode)
-
-
-
Field Detail
-
callback
protected final IdentityProvider.AuthenticationCallback callback
-
realm
protected final RealmModel realm
-
event
protected final EventBuilder event
-
session
protected final KeycloakSession session
-
clientConnection
protected final ClientConnection clientConnection
-
headers
protected final javax.ws.rs.core.HttpHeaders headers
-
httpRequest
protected final HttpRequest httpRequest
-
-
Constructor Detail
-
Endpoint
public Endpoint(IdentityProvider.AuthenticationCallback callback, RealmModel realm, EventBuilder event, AbstractOAuth2IdentityProvider provider)
-
-
Method Detail
-
authResponse
@GET public javax.ws.rs.core.Response authResponse(@QueryParam("state") String state, @QueryParam("code") String authorizationCode, @QueryParam("error") String error)
-
generateTokenRequest
public SimpleHttp generateTokenRequest(String authorizationCode)
-
-