All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.haoxuer.discover.user.service.UserTokenService Maven / Gradle / Ivy

There is a newer version: 2.2.2
Show newest version
package com.haoxuer.discover.user.service;

public interface UserTokenService {

  /**
   * 把用户id转化为json web token
   *
   * @param id
   * @return
   */
  String token(Long id);


  Long user(String token);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy