| Modifier and Type | Method and Description |
|---|---|
void |
AbstractAuthenticationModule.enroll(Map<String,String> userData,
Callback<HeaderAndBody> callback) |
void |
AuthenticationModule.enroll(Map<String,String> userData,
Callback<HeaderAndBody> callback)
Will try to register a user with a service using userData.
|
void |
AuthenticationModule.login(Map<String,String> loginData,
Callback<HeaderAndBody> callback)
Will try to log in a user
It will call the callbacks onSuccess with a parameter of a Map of the
values returned by the enroll service or onFailure if there is an error
|
void |
AbstractAuthenticationModule.login(String username,
String password,
Callback<HeaderAndBody> callback) |
void |
AuthenticationModule.login(String username,
String password,
Callback<HeaderAndBody> callback)
Will try to log in a user using username and password.
|
void |
AbstractAuthenticationModule.logout(Callback<Void> callback) |
void |
AuthenticationModule.logout(Callback<Void> callback)
Performs a logout of the current user.
|
| Modifier and Type | Method and Description |
|---|---|
void |
AGSecurityAuthenticationModule.enroll(Map<String,String> userData,
Callback<HeaderAndBody> callback) |
void |
HttpBasicAuthenticationModule.enroll(Map<String,String> userData,
Callback<HeaderAndBody> callback)
Enrolling is not supported using http basic.
|
void |
HttpDigestAuthenticationModule.enroll(Map<String,String> userData,
Callback<HeaderAndBody> callback) |
void |
AGSecurityAuthenticationModule.login(Map<String,String> loginData,
Callback<HeaderAndBody> callback) |
void |
HttpBasicAuthenticationModule.login(Map<String,String> loginData,
Callback<HeaderAndBody> callback)
This will log in the user using the keys "loginName" and "password".
|
void |
HttpDigestAuthenticationModule.login(Map<String,String> loginData,
Callback<HeaderAndBody> callback)
Will try to log in a user
It will call the callbacks onSuccess with a parameter of a Map of the
values returned by the enroll service or onFailure if there is an error
|
void |
AGSecurityAuthenticationModule.login(String username,
String password,
Callback<HeaderAndBody> callback) |
void |
HttpBasicAuthenticationModule.login(String username,
String password,
Callback<HeaderAndBody> callback)
This method stores username and password.
|
void |
HttpDigestAuthenticationModule.login(String username,
String password,
Callback<HeaderAndBody> callback) |
void |
AGSecurityAuthenticationModule.logout(Callback<Void> callback) |
void |
HttpBasicAuthenticationModule.logout(Callback<Void> callback)
This method clears the username and password from the module, sets
isLoggedIn to false, and removes all cookies associated with
HttpBasicAuthenticationModule.baseURL
This method always calls onSuccess(java.lang.Object) |
void |
HttpDigestAuthenticationModule.logout(Callback<Void> callback) |
| Modifier and Type | Field and Description |
|---|---|
protected Callback |
AbstractAuthenticationLoader.callback |
| Modifier and Type | Method and Description |
|---|---|
Callback |
AbstractAuthenticationLoader.getCallback() |
| Modifier and Type | Method and Description |
|---|---|
void |
AuthenticationModuleAdapter.enroll(Map<String,String> userData,
Callback<HeaderAndBody> callback) |
void |
AuthenticationModuleAdapter.login(Map<String,String> loginData,
Callback<HeaderAndBody> callback) |
void |
AuthenticationModuleAdapter.login(String username,
String password,
Callback<HeaderAndBody> callback) |
void |
AuthenticationModuleAdapter.logout(Callback<Void> callback) |
| Constructor and Description |
|---|
AbstractAuthenticationLoader(android.content.Context context,
AuthenticationModule module,
Callback callback) |
EnrollLoader(android.content.Context context,
Callback callback,
AuthenticationModule module,
Map<String,String> params) |
LogoutLoader(android.content.Context context,
Callback callback,
AuthenticationModule module) |
| Modifier and Type | Field and Description |
|---|---|
protected Callback |
AbstractSupportAuthenticationLoader.callback |
| Modifier and Type | Method and Description |
|---|---|
Callback<HeaderAndBody> |
AbstractSupportAuthenticationLoader.getCallback() |
| Modifier and Type | Method and Description |
|---|---|
void |
SupportAuthenticationModuleAdapter.enroll(Map<String,String> userData,
Callback<HeaderAndBody> callback) |
void |
SupportAuthenticationModuleAdapter.login(Map<String,String> loginData,
Callback<HeaderAndBody> callback) |
void |
SupportAuthenticationModuleAdapter.login(String username,
String password,
Callback<HeaderAndBody> callback) |
void |
SupportAuthenticationModuleAdapter.logout(Callback<Void> callback) |
| Constructor and Description |
|---|
AbstractSupportAuthenticationLoader(android.content.Context context,
AuthenticationModule module,
Callback callback) |
SupportEnrollLoader(android.content.Context context,
Callback callback,
AuthenticationModule module,
Map<String,String> params) |
SupportLoginLoader(android.content.Context context,
Callback callback,
AuthenticationModule module,
Map<String,String> loginData) |
SupportLoginLoader(android.content.Context context,
Callback callback,
AuthenticationModule module,
String username,
String password)
Deprecated.
|
SupportLogoutLoader(android.content.Context context,
Callback callback,
AuthenticationModule module) |
| Modifier and Type | Method and Description |
|---|---|
void |
AuthzModule.requestAccess(android.app.Activity activity,
Callback<String> callback)
Begin requesting access for the application.
|
| Modifier and Type | Method and Description |
|---|---|
void |
OAuth2FetchAccess.fetchAccessCode(String accountId,
AuthzConfig config,
Callback<String> callback) |
void |
OAuth2WebFragmentFetchAutorization.performAuthorization(AuthzConfig config,
Callback<String> callback) |
void |
OAuth2AuthzModule.requestAccess(android.app.Activity activity,
Callback<String> callback) |
| Modifier and Type | Method and Description |
|---|---|
void |
SQLStore.open(Callback<SQLStore<T>> onReady) |
| Modifier and Type | Method and Description |
|---|---|
void |
LoaderAdapter.read(Callback<List<T>> callback) |
void |
RestAdapter.read(Callback<List<T>> callback)
Sends a signal to the Pipe to read its data and return it via the callback.
|
void |
SupportLoaderAdapter.read(Callback<List<T>> callback) |
void |
LoaderAdapter.read(ReadFilter filter,
Callback<List<T>> callback) |
void |
RestAdapter.read(ReadFilter filter,
Callback<List<T>> callback) |
void |
SupportLoaderAdapter.read(ReadFilter filter,
Callback<List<T>> callback) |
void |
LoaderAdapter.readWithFilter(ReadFilter filter,
Callback<List<T>> callback) |
void |
RestAdapter.readWithFilter(ReadFilter filter,
Callback<List<T>> callback) |
void |
SupportLoaderAdapter.readWithFilter(ReadFilter filter,
Callback<List<T>> callback) |
void |
LoaderAdapter.remove(String toRemoveId,
Callback<Void> callback) |
void |
RestAdapter.remove(String id,
Callback<Void> callback)
Removes an object from the underlying server connection.
|
void |
SupportLoaderAdapter.remove(String toRemoveId,
Callback<Void> callback) |
void |
LoaderAdapter.save(T item,
Callback<T> callback) |
void |
RestAdapter.save(T data,
Callback<T> callback) |
void |
SupportLoaderAdapter.save(T item,
Callback<T> callback) |
| Modifier and Type | Method and Description |
|---|---|
Callback<T> |
AbstractPipeLoader.getCallback() |
| Constructor and Description |
|---|
AbstractPipeLoader(android.content.Context context,
Callback<T> callback) |
ReadLoader(android.content.Context context,
Callback<List<T>> callback,
PipeHandler<T> runner,
ReadFilter filter,
Pipe<T> pipe) |
RemoveLoader(android.content.Context context,
Callback<T> callback,
PipeHandler<T> runner,
String id) |
SaveLoader(android.content.Context context,
Callback<T> callback,
PipeHandler<T> runner,
byte[] data,
String id) |
| Modifier and Type | Method and Description |
|---|---|
Callback<T> |
AbstractSupportPipeLoader.getCallback() |
| Constructor and Description |
|---|
AbstractSupportPipeLoader(android.content.Context context,
Callback<T> callback) |
SupportReadLoader(android.content.Context context,
Callback<List<T>> callback,
PipeHandler<T> runner,
ReadFilter filter,
Pipe<T> pipe) |
SupportRemoveLoader(android.content.Context context,
Callback<T> callback,
PipeHandler<T> runner,
String id) |
SupportSaveLoader(android.content.Context context,
Callback<T> callback,
PipeHandler<T> runner,
byte[] data,
String id) |
| Modifier and Type | Method and Description |
|---|---|
void |
WrappingPagedList.next(Callback<List<T>> callback) |
void |
WrappingPagedList.previous(Callback<List<T>> callback) |
| Modifier and Type | Method and Description |
|---|---|
void |
AeroGearGCMPushRegistrar.register(android.content.Context context,
Callback<Void> callback) |
void |
AeroGearGCMPushRegistrar.unregister(android.content.Context context,
Callback<Void> callback) |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractActivityCallback<T>
LoaderPipe and AuthenticationModule instances which consume
callbacks of this type will supply it with a Activity instance before
onSuccess or onFailure are called. |
class |
AbstractCallback<T>
This class provides a hashcode method for a callback based on constructor
parameters.
|
class |
AbstractFragmentCallback<T>
LoaderPipe and AuthenticationModule instances which consume
callbacks of this type will supply it with a Activity instance before
onSuccess or onFailure are called. |
| Modifier and Type | Method and Description |
|---|---|
void |
Pipe.read(Callback<List<T>> callback)
Sends a signal to the Pipe to read its data and return it via the callback.
|
void |
Pipe.read(ReadFilter filter,
Callback<List<T>> callback)
Reads all the data from the underlying server connection.
|
void |
Pipe.readWithFilter(ReadFilter filter,
Callback<List<T>> callback)
Deprecated.
in 1.1. Please use
Pipe.read(org.jboss.aerogear.android.ReadFilter, org.jboss.aerogear.android.Callback) instead |
void |
Pipe.remove(String id,
Callback<Void> callback)
Removes an object from the underlying server connection.
|
void |
Pipe.save(T item,
Callback<T> callback)
Saves or updates a given object on the server.
|
| Modifier and Type | Method and Description |
|---|---|
void |
PagedList.next(Callback<List<T>> callback)
Retrieve the next result set.
|
void |
PagedList.previous(Callback<List<T>> callback)
Retrieve the previous result set.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractFragmentActivityCallback<T>
LoaderPipe and AuthenticationModule instances which consume
callbacks of this type will supply it with a Activity instance before
onSuccess or onFailure are called. |
class |
AbstractSupportFragmentCallback<T>
LoaderPipe and AuthenticationModule instances which consume
callbacks of this type will supply it with a Activity instance before
onSuccess or onFailure are called. |
| Modifier and Type | Method and Description |
|---|---|
void |
PushRegistrar.register(android.content.Context context,
Callback<Void> callback)
Registers a device to a push network and any 3rd party application servers.
|
void |
PushRegistrar.unregister(android.content.Context context,
Callback<Void> callback)
Unregisters a device a push network and any party application servers.
|
Copyright © 2014 JBoss by Red Hat. All rights reserved.