| Package | Description |
|---|---|
| org.exoplatform.moxtra.client |
HTTP client to Moxtra REST API.
|
| org.exoplatform.moxtra.jcr |
Moxtra artifacts storage implementation based on JCR.
|
| org.exoplatform.moxtra.oauth2 | |
| org.exoplatform.moxtra.oauth2.store |
OAuth2 artifacts storage in eXo.
|
| Modifier and Type | Field and Description |
|---|---|
protected AccessToken |
MoxtraClient.oAuthToken |
| Modifier and Type | Method and Description |
|---|---|
AccessToken |
MoxtraClientInitializer.getClientToken() |
protected AccessToken |
MoxtraClient.getOAuthToken() |
| Modifier and Type | Method and Description |
|---|---|
void |
MoxtraClientInitializer.initClientToken(AccessToken token) |
protected void |
MoxtraClient.initOAuthToken(AccessToken newToken) |
| Modifier and Type | Method and Description |
|---|---|
AccessToken |
UserAccessTokenStorePlugin.load(String componentId) |
protected AccessToken |
JCRMoxtraClientStore.readToken(javax.jcr.Node tokenNode)
Read client token data from given user node (should be already moxtra:accessTokenStore).
|
| Modifier and Type | Method and Description |
|---|---|
void |
JCRMoxtraClientStore.ClientListener.onTokenRefresh(AccessToken token)
Action on token refresh from remote service.
|
protected void |
JCRMoxtraClientStore.persistToken(javax.jcr.Node tokenNode,
AccessToken accesstToken)
Persist client token data to given user node (should be already moxtra:accessTokenStore).
|
void |
UserAccessTokenStorePlugin.save(String componentId,
AccessToken token) |
| Modifier and Type | Method and Description |
|---|---|
static AccessToken |
AccessToken.copyToken(AccessToken otherToken)
Create a copy of existing token object but without registered in it listeners.
|
static AccessToken |
AccessToken.createToken(String accessToken,
String refreshToken,
Long expiresInSeconds,
String scope)
Init token from existing data.
|
static AccessToken |
AccessToken.newToken()
Create empty not initialized token object.
|
| Modifier and Type | Method and Description |
|---|---|
static AccessToken |
AccessToken.copyToken(AccessToken otherToken)
Create a copy of existing token object but without registered in it listeners.
|
void |
AccessToken.merge(AccessToken newToken)
Import OAuth2 tokens from a new
AccessToken and unregister listeners of that instance. |
void |
AccessTokenRefreshListener.onTokenRefresh(AccessToken token)
Action on token refresh from remote service.
|
| Modifier and Type | Method and Description |
|---|---|
AccessToken |
AccessTokenStore.load(String componentId) |
| Modifier and Type | Method and Description |
|---|---|
void |
AccessTokenStore.save(String componentId,
AccessToken token) |
Copyright © 2003–2015 eXo Platform SAS. All rights reserved.