Class TokenEndpoint
java.lang.Object
org.keycloak.protocol.oidc.endpoints.TokenEndpoint
- Author:
- Stian Thorgersen
-
Nested Class Summary
-
Constructor Summary
ConstructorDescriptionTokenEndpoint
(KeycloakSession session, TokenManager tokenManager, EventBuilder event) -
Method Summary
Modifier and TypeMethodDescriptionjakarta.ws.rs.core.Response
jakarta.ws.rs.core.Response
jakarta.ws.rs.core.Response
jakarta.ws.rs.core.Response
createTokenResponse
(UserModel user, UserSessionModel userSession, ClientSessionContext clientSessionCtx, String scopeParam, boolean code, Function<TokenManager.AccessTokenResponseBuilder, ClientPolicyContext> clientPolicyContextGenerator) jakarta.ws.rs.core.Response
jakarta.ws.rs.core.Response
jakarta.ws.rs.core.Response
jakarta.ws.rs.core.Response
jakarta.ws.rs.core.Response
jakarta.ws.rs.core.Response
jakarta.ws.rs.core.Response
-
Constructor Details
-
TokenEndpoint
-
-
Method Details
-
processGrantRequest
@Consumes("application/x-www-form-urlencoded") @POST public jakarta.ws.rs.core.Response processGrantRequest() -
introspect
-
preflight
@OPTIONS public jakarta.ws.rs.core.Response preflight() -
codeToToken
public jakarta.ws.rs.core.Response codeToToken() -
createTokenResponse
public jakarta.ws.rs.core.Response createTokenResponse(UserModel user, UserSessionModel userSession, ClientSessionContext clientSessionCtx, String scopeParam, boolean code, Function<TokenManager.AccessTokenResponseBuilder, ClientPolicyContext> clientPolicyContextGenerator) -
refreshTokenGrant
public jakarta.ws.rs.core.Response refreshTokenGrant() -
resourceOwnerPasswordCredentialsGrant
public jakarta.ws.rs.core.Response resourceOwnerPasswordCredentialsGrant() -
clientCredentialsGrant
public jakarta.ws.rs.core.Response clientCredentialsGrant() -
tokenExchange
public jakarta.ws.rs.core.Response tokenExchange() -
permissionGrant
public jakarta.ws.rs.core.Response permissionGrant() -
oauth2DeviceCodeToToken
public jakarta.ws.rs.core.Response oauth2DeviceCodeToToken() -
cibaGrant
public jakarta.ws.rs.core.Response cibaGrant()
-