Package org.forgerock.android.auth
Class FRUserKeys
-
- All Implemented Interfaces:
public final class FRUserKeysManage UserKey that created by the SDK The UserKey are created with DeviceBindingCallback
-
-
Constructor Summary
Constructors Constructor Description FRUserKeys(Context context, UserKeyService userKeyService)FRUserKeys(Context context)
-
Method Summary
Modifier and Type Method Description final List<UserKey>loadAll()Load all the UserKey which created with DeviceBindingCallback final Unitdelete(UserKey userKey, Boolean forceDelete)Delete user key from local storage and also remotely from Server. final Unitdelete(UserKey userKey, Boolean forceDelete, FRListener<Void> listener)Delete user key from local storage and also remotely from Server. -
-
Constructor Detail
-
FRUserKeys
FRUserKeys(Context context, UserKeyService userKeyService)
-
FRUserKeys
FRUserKeys(Context context)
-
-
Method Detail
-
loadAll
final List<UserKey> loadAll()
Load all the UserKey which created with DeviceBindingCallback
-
delete
final Unit delete(UserKey userKey, Boolean forceDelete)
Delete user key from local storage and also remotely from Server. By default, if failed to delete from server, local storage will not be deleted, by providing forceDelete to true, it will also delete local keys if server call is failed.
- Parameters:
userKey- The UserKey to be deletedforceDelete- Default to false, true will delete local keys even server key removal is failed.
-
delete
final Unit delete(UserKey userKey, Boolean forceDelete, FRListener<Void> listener)
Delete user key from local storage and also remotely from Server. By default, if failed to delete from server, local storage will not be deleted, by providing forceDelete to true, it will also delete local keys if server call is failed.
- Parameters:
userKey- The UserKey to be deletedforceDelete- Default to false, true will delete local keys even server key removal is failed.listener- Listener to listen for result
-
-
-
-