| Package | Description |
|---|---|
| net.krotscheck.kangaroo.authz.admin.v1.resource |
The resources and services of the Admin API.
|
| net.krotscheck.kangaroo.authz.common.database.entity |
Entities in our data model.
|
| net.krotscheck.kangaroo.authz.common.util |
Authz utility classes.
|
| net.krotscheck.kangaroo.authz.oauth2.authn |
Initialization, validation, and maintenance of oauth2 request authorization.
|
| net.krotscheck.kangaroo.authz.oauth2.resource.token |
Handlers for each type of grant_type request.
|
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
ClientService.createResource(Client client)
Create an client.
|
javax.ws.rs.core.Response |
ClientService.updateResource(BigInteger id,
Client client)
Update an client.
|
| Modifier and Type | Method and Description |
|---|---|
Client |
OAuthToken.getClient()
Retrieve the client for whom this token is valid.
|
Client |
Authenticator.getClient()
Get the client for this authenticator.
|
Client |
AbstractClientUri.getClient()
Get the Client for this state.
|
| Modifier and Type | Method and Description |
|---|---|
List<Client> |
Application.getClients()
Get this application's clients.
|
| Modifier and Type | Method and Description |
|---|---|
void |
OAuthToken.setClient(Client client)
Set the client for whom this token is valid.
|
void |
Authenticator.setClient(Client client)
Set a new client for this authenticator.
|
void |
AbstractClientUri.setClient(Client client)
Set a new Client.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Application.setClients(List<Client> clients)
Set this application's clients.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
ValidationUtil.validateResponseType(Client client,
String responseType)
Validate that a response type is appropriate for a given client.
|
| Modifier and Type | Method and Description |
|---|---|
Client |
O2Principal.getContext()
The client request context.
|
| Constructor and Description |
|---|
O2Principal(Client client)
Create a new principal from a authClient.
|
| Modifier and Type | Method and Description |
|---|---|
TokenResponseEntity |
AuthorizationCodeGrantHandler.handle(Client client,
BigInteger authCodeId,
URI redirect,
String state)
Apply the client credentials flow to this request.
|
TokenResponseEntity |
ClientCredentialsGrantHandler.handle(Client client,
String scope,
String state)
Apply the client credentials flow to this request.
|
TokenResponseEntity |
RefreshTokenGrantHandler.handle(Client client,
String scope,
String state,
BigInteger refreshId)
Handle a specific token type request.
|
TokenResponseEntity |
OwnerCredentialsGrantHandler.handle(Client client,
String scope,
String state,
String username,
String password)
Apply the client credentials flow to this request.
|
Copyright © 2018 krotscheck.net. All rights reserved.