-
public interface IIdentityBackendService
-
-
Method Summary
Modifier and Type Method Description abstract Map<String, String>setAlias(String appId, String aliasLabel, String aliasValue, Map<String, String> identities)Set one or more aliases for the user identified by the aliasLabel/aliasValue provided. abstract UnitdeleteAlias(String appId, String aliasLabel, String aliasValue, String aliasLabelToDelete)Delete the aliasLabelToDelete from the user identified by the aliasLabel/aliasValue provided. -
-
Method Detail
-
setAlias
abstract Map<String, String> setAlias(String appId, String aliasLabel, String aliasValue, Map<String, String> identities)
Set one or more aliases for the user identified by the aliasLabel/aliasValue provided.
If there is a non-successful response from the backend, a BackendException will be thrown with response data.
- Parameters:
appId- The ID of the OneSignal application this user exists under.aliasLabel- The alias label to retrieve the user under.aliasValue- The identifier within the aliasLabel that identifies the user to retrieve.identities- The identities that are to be created.
-
deleteAlias
abstract Unit deleteAlias(String appId, String aliasLabel, String aliasValue, String aliasLabelToDelete)
Delete the aliasLabelToDelete from the user identified by the aliasLabel/aliasValue provided.
If there is a non-successful response from the backend, a BackendException will be thrown with response data.
- Parameters:
appId- The ID of the OneSignal application this user exists under.aliasLabel- The alias label to retrieve the user under.aliasValue- The identifier within the aliasLabel that identifies the user to retrieve.aliasLabelToDelete- The alias label to delete from the user identified.
-
-
-
-