public final class AuthorizationCodeGrantHandler extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
AuthorizationCodeGrantHandler.Binder
HK2 Binder for our injector context.
|
| Constructor and Description |
|---|
AuthorizationCodeGrantHandler(org.hibernate.Session session,
javax.ws.rs.core.UriInfo uriInfo)
Create a new instance of this token handler.
|
| Modifier and Type | Method and Description |
|---|---|
TokenResponseEntity |
handle(Client client,
BigInteger authCodeId,
URI redirect,
String state)
Apply the client credentials flow to this request.
|
@Inject
public AuthorizationCodeGrantHandler(org.hibernate.Session session,
@Context
javax.ws.rs.core.UriInfo uriInfo)
session - Injected hibernate session.uriInfo - The URI info for the current request.public TokenResponseEntity handle(Client client, BigInteger authCodeId, URI redirect, String state)
client - The Client to use.authCodeId - The authorization code.redirect - The redirect URI.state - The state.Copyright © 2018 krotscheck.net. All rights reserved.