com.descope.model.user.response.UserHistoryResponse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of java-sdk Show documentation
Show all versions of java-sdk Show documentation
Java library used to integrate with Descope.
package com.descope.model.user.response;
import java.time.Instant;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
@Data
@NoArgsConstructor
@AllArgsConstructor
public class UserHistoryResponse {
String userId;
Integer loginTime;
String city;
String country;
String ip;
public Instant getLoginTimeInstant() {
return Instant.ofEpochSecond(loginTime);
}
}