sUPER UP
This commit is contained in:
parent
6b915932ae
commit
dc206c0bb0
15 changed files with 1540 additions and 332 deletions
|
|
@ -10,6 +10,6 @@ import java.rmi.RemoteException;
|
|||
public interface IAuth extends Remote {
|
||||
Response login(String userName, String password) throws RemoteException;
|
||||
Response register(String userName, String password) throws RemoteException;
|
||||
Response logout(String userName, String token) throws RemoteException;
|
||||
Response logout(String userName, String token, INotificationClient stub) throws RemoteException;
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,5 +1,7 @@
|
|||
package models;
|
||||
|
||||
import interfaces.INotificationClient;
|
||||
|
||||
/**
|
||||
* Created by loke on 17/06/2017.
|
||||
*/
|
||||
|
|
@ -7,6 +9,7 @@ public class Session {
|
|||
|
||||
public String token;
|
||||
public User account;
|
||||
public INotificationClient clientInterface;
|
||||
|
||||
public Session(User account, String token){
|
||||
this.token = token;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue