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

net.shmin.auth.token.IAuthTokenGenerator Maven / Gradle / Ivy

There is a newer version: 2.3.1-RELEASE
Show newest version
package net.shmin.auth.token;

/**
 * Created by benjamin on 9/3/14.
 */
public interface IAuthTokenGenerator {
    /**
     * 生成授权码
     *
     * @return
     */
    Token generateAuthorizationCode();

    /**
     * 生成访问令牌
     *
     * @param userRefreshToken 是否生成刷新令牌
     * @return
     */
    Token generateAccessToken(boolean userRefreshToken);

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy