io.lsn.spring.auth.service.AbstractUserService Maven / Gradle / Ivy
package io.lsn.spring.auth.service;
import io.lsn.spring.auth.entity.User;
/**
* @author Patryk Szlagowski
*/
public interface AbstractUserService {
User findByApiToken(String token) throws Exception;
User findByUsername(String username) throws Exception;
void terminateApiToken(User user) throws Exception;
void assignNewApiToken(User user) throws Exception;
void updateApiToken(User user) throws Exception;
}