Package | Description |
---|---|
org.alfresco.mobile.android.api.session |
Provides all session object.
|
org.alfresco.mobile.android.api.session.authentication |
Provides all authentication tools and methods.
|
org.alfresco.mobile.android.api.session.authentication.impl | |
org.alfresco.mobile.android.api.session.impl |
Implementation of all session object.
|
Modifier and Type | Method and Description |
---|---|
abstract OAuthData |
CloudSession.getOAuthData()
Returns the OAuthData the session is currently using.
|
Modifier and Type | Method and Description |
---|---|
static CloudSession |
CloudSession.connect(OAuthData oauthData)
Connects to the Alfresco in the Cloud server in the context of the users
home network.
|
static CloudSession |
CloudSession.connect(OAuthData oauthData,
Map<String,Serializable> parameters)
Connects to the Alfresco in the Cloud server in the context of the users
home network.
|
static CloudSession |
CloudSession.connect(OAuthData oauthData,
String networkId)
Connects the given user to the Alfresco in the cloud server in the
context of the given network.
|
static CloudSession |
CloudSession.connect(OAuthData oauthData,
String networkId,
Map<String,Serializable> parameters)
Connects the given user to the Alfresco in the cloud server in the
context of the given network.
|
abstract void |
CloudSession.setOAuthData(OAuthData oauthData)
Sets the OAuthData object associated with the session, typically used
after an access token has been refreshed.
|
Modifier and Type | Method and Description |
---|---|
OAuthData |
OAuthAuthenticationProvider.getOAuthData() |
OAuthData |
OAuthAuthenticationProvider.refreshToken(AlfrescoSession session) |
Modifier and Type | Method and Description |
---|---|
void |
OAuthAuthenticationProvider.setOAuthData(OAuthData data) |
Modifier and Type | Class and Description |
---|---|
class |
OAuth2DataImpl
Implementation of OAuthData.
|
Modifier and Type | Method and Description |
---|---|
OAuthData |
OAuthHelper.getAccessToken(String apiKey,
String apiSecret,
String callback,
String code)
Retrieve the access token.
Once the application has an authorization code, it can exchange this for an access token. |
OAuthData |
OAuth2AuthenticationProviderImpl.getOAuthData() |
OAuthData |
OAuth2AuthenticationProviderImpl.refreshToken(AlfrescoSession session) |
OAuthData |
OAuthHelper.refreshToken(OAuthData data)
Request a new accestoken & refreshtoken based on OAuthData information.
|
Modifier and Type | Method and Description |
---|---|
OAuthData |
OAuthHelper.refreshToken(OAuthData data)
Request a new accestoken & refreshtoken based on OAuthData information.
|
void |
OAuth2AuthenticationProviderImpl.setOAuthData(OAuthData data) |
Constructor and Description |
---|
OAuth2AuthenticationProviderImpl(OAuthData oauthData) |
Modifier and Type | Method and Description |
---|---|
OAuthData |
CloudSessionImpl.getOAuthData() |
Modifier and Type | Method and Description |
---|---|
void |
CloudSessionImpl.setOAuthData(OAuthData data) |
Constructor and Description |
---|
CloudSessionImpl(OAuthData oauthData,
Map<String,Serializable> parameters)
Create a cloud Session based on OAuth information and Parameters.
|
Copyright © 2012-2018 Alfresco Software. All Rights Reserved.