| Package | Description |
|---|---|
| net.trajano.ms.auth.token |
OAuth 2.0 support classes.
|
| net.trajano.ms.authz |
This provides the Authorization related classes.
|
| net.trajano.ms.authz.internal |
| Modifier and Type | Class and Description |
|---|---|
class |
IdTokenResponse |
| Modifier and Type | Method and Description |
|---|---|
OAuthTokenResponse |
TokenResource.dispatch(String grantType,
String code,
String assertion,
String audience,
String refreshToken,
URI jwksUri,
String authorization)
Performs client credential validation then dispatches to the appropriate
handler for a given grant type.
|
private OAuthTokenResponse |
TokenResource.handleJwtAssertionGrant(String assertion,
String clientId,
String audience)
Takes an assertion and converts it using an
InternalClaimsBuilder to
a JWT used internally |
private OAuthTokenResponse |
TokenResource.handleRefreshGrant(String refreshToken,
String clientId) |
| Modifier and Type | Method and Description |
|---|---|
OAuthTokenResponse |
TokenCache.refresh(String refreshToken,
String clientId) |
OAuthTokenResponse |
TokenCache.store(String jwt,
Collection<String> audiences,
Instant expiresOn)
Stores the internal claims set into the cache and returns an OAuth token.
|
private OAuthTokenResponse |
TokenCache.updateEntry(TokenCacheEntry cacheEntry)
Stores the cache entry into the caches with updated tokens.
|
Copyright © 2012–2017 Trajano. All rights reserved.