blob: 1fccc36d1ee9ccc90733beee092c890f4d880988 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
package org.traccar.api.security;
import org.traccar.model.User;
import java.util.Date;
public class LoginResult {
private final User user;
private final Date expiration;
public LoginResult(User user) {
this(user, null);
}
public LoginResult(User user, Date expiration) {
this.user = user;
this.expiration = expiration;
}
public User getUser() {
return user;
}
public Date getExpiration() {
return expiration;
}
}
|