public final class Permissions
extends java.lang.Object
| Constructor and Description |
|---|
Permissions() |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<DeviceIdentityPermission> |
getDeviceIdentities() |
java.util.List<UserIdentityPermission> |
getUserIdentities() |
boolean |
isAllowAccessIpAddress() |
boolean |
isAllowAccessLocation() |
Permissions |
setAllowAccessIpAddress(boolean allowAccessIpAddress)
Request access to the IP address that sent this event data.
|
Permissions |
setAllowAccessLocation(boolean allowAccessLocation) |
Permissions |
setDeviceIdentities(java.util.List<DeviceIdentityPermission> deviceIdentities) |
Permissions |
setUserIdentities(java.util.List<UserIdentityPermission> userIdentities) |
public java.util.List<DeviceIdentityPermission> getDeviceIdentities()
public Permissions setDeviceIdentities(java.util.List<DeviceIdentityPermission> deviceIdentities)
deviceIdentities - requested device identitiespublic java.util.List<UserIdentityPermission> getUserIdentities()
public Permissions setUserIdentities(java.util.List<UserIdentityPermission> userIdentities)
userIdentities - requested user identitiespublic boolean isAllowAccessLocation()
public Permissions setAllowAccessLocation(boolean allowAccessLocation)
allowAccessLocation - public boolean isAllowAccessIpAddress()
public Permissions setAllowAccessIpAddress(boolean allowAccessIpAddress)
allowAccessIpAddress - RuntimeEnvironment.getClientIpAddress()