package com.jkcredit.invoice.service.user;

import com.jkcredit.invoice.model.entity.user.User;

/**
 * @description:
 * @author: sunzhaoning
 * @create: 2019-05-29 14:03
 * @version: V1.0
 **/

public interface AuthenticationService {

    /**
     * 获取token
     *
     * @param user
     * @return
     */
    String getToken(User user);

    /**
     * 删除token
     *
     * @param token
     */
    void deleteToken(String token);
}
