public class UserInterface extends Object implements SentryInterface
Modifier and Type | Field and Description |
---|---|
static String |
USER_INTERFACE
Name of the user interface in Sentry.
|
Constructor and Description |
---|
UserInterface(String id,
String username,
String ipAddress,
String email)
Creates a user.
|
UserInterface(String id,
String username,
String ipAddress,
String email,
Map<String,Object> data)
Creates a user.
|
public static final String USER_INTERFACE
public UserInterface(String id, String username, String ipAddress, String email, Map<String,Object> data)
id
- Id of the user in the system, as a String.username
- Name of the user.ipAddress
- IP address used to connect to the application.email
- User's email address.data
- Extra data about the user.public String getInterfaceName()
SentryInterface
getInterfaceName
in interface SentryInterface
public String getId()
public String getUsername()
public String getIpAddress()
public String getEmail()
Copyright © 2012–2018. All rights reserved.