io.lsn.spring.auth.entity.ApiToken Maven / Gradle / Ivy
package io.lsn.spring.auth.entity;
import java.util.Date;
/**
* @author Patryk Szlagowski
*/
public interface ApiToken {
Date getValidDate();
void generate(User user) throws Exception;
void calculateDate(Integer minutes);
String getToken();
Date getCreationTime();
}