| Package | Description |
|---|---|
| net.krotscheck.kangaroo.authz.admin.v1.auth |
Authentication and Authorization via DB-Backed OAuth2 Tokens.
|
| 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.oauth2.authn |
Initialization, validation, and maintenance of oauth2 request authorization.
|
| net.krotscheck.kangaroo.authz.oauth2.resource |
API Service Classes.
|
| Constructor and Description |
|---|
OAuth2SecurityContext(OAuthToken token,
Boolean isSecure)
Construct an authentication context from an OAuth token and a secure
flag.
|
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
OAuthTokenService.createResource(OAuthToken token)
Create a new token.
|
javax.ws.rs.core.Response |
OAuthTokenService.updateResource(BigInteger id,
OAuthToken token)
Update a token.
|
| Modifier and Type | Method and Description |
|---|---|
OAuthToken |
OAuthToken.getAuthToken()
Retrieve the oauth token for this refresh token.
|
| Modifier and Type | Method and Description |
|---|---|
List<OAuthToken> |
HttpSession.getRefreshTokens()
Return a
List of refreshTokens. |
List<OAuthToken> |
UserIdentity.getTokens()
Get all the tokens issued to this identity.
|
List<OAuthToken> |
Client.getTokens()
Get all the tokens issued under this client.
|
List<OAuthToken> |
ApplicationScope.getTokens()
Get all tokens associated with this scope.
|
| Modifier and Type | Method and Description |
|---|---|
void |
OAuthToken.setAuthToken(OAuthToken authToken)
Set the new parent auth token (for refresh tokens only).
|
| Modifier and Type | Method and Description |
|---|---|
void |
HttpSession.setRefreshTokens(List<OAuthToken> refreshTokens)
Set the list of tokens.
|
void |
UserIdentity.setTokens(List<OAuthToken> tokens)
Set the list of tokens for this user.
|
void |
Client.setTokens(List<OAuthToken> tokens)
Set the list of tokens for this client.
|
void |
ApplicationScope.setTokens(List<OAuthToken> tokens)
Set all tokens associated with this scope.
|
| Modifier and Type | Method and Description |
|---|---|
OAuthToken |
O2Principal.getOAuthToken()
Retrieve the OAuth token.
|
| Constructor and Description |
|---|
O2Principal(OAuthToken token)
Create a new principal from an OAuth token.
|
| Modifier and Type | Method and Description |
|---|---|
static TokenResponseEntity |
TokenResponseEntity.factory(OAuthToken token,
OAuthToken refresh,
String state)
Create this entity from an OAuthToken.
|
static TokenResponseEntity |
TokenResponseEntity.factory(OAuthToken token,
String state)
Create this entity from an OAuthToken.
|
| Constructor and Description |
|---|
IntrospectionResponseEntity(OAuthToken token)
Create a new IntrospectionResponseEntity from a token.
|
Copyright © 2018 krotscheck.net. All rights reserved.