public class DeviceToken
extends java.lang.Object
Constructor and Description |
---|
DeviceToken() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
static DeviceToken |
generate(java.lang.String id,
javax.servlet.http.HttpServletRequest request,
long lifetime) |
java.lang.Object |
getAuthorizationObject() |
java.lang.String |
getDeviceId() |
long |
getExpirationTime() |
java.lang.String |
getRemoteIpAdress() |
int |
hashCode() |
boolean |
isValid() |
void |
setAuthorizationObject(java.lang.Object authorizationObject) |
void |
setDeviceId(java.lang.String deviceId) |
void |
setExpirationTime(long expirationTime) |
void |
setRemoteIpAdress(java.lang.String remoteIpAdress) |
public java.lang.String getDeviceId()
public void setDeviceId(java.lang.String deviceId)
public long getExpirationTime()
public void setExpirationTime(long expirationTime)
public java.lang.String getRemoteIpAdress()
public void setRemoteIpAdress(java.lang.String remoteIpAdress)
public boolean isValid()
public java.lang.Object getAuthorizationObject()
public void setAuthorizationObject(java.lang.Object authorizationObject)
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public static DeviceToken generate(java.lang.String id, javax.servlet.http.HttpServletRequest request, long lifetime)
Copyright © 2001-2018 Jalios SA. All Rights Reserved.