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

fun.fengwk.convention4j.oauth2.infra.mapper.OAuth2TokenMapper Maven / Gradle / Ivy

The newest version!
package fun.fengwk.convention4j.oauth2.infra.mapper;

import fun.fengwk.automapper.annotation.AutoMapper;
import fun.fengwk.convention4j.oauth2.infra.model.OAuth2TokenDO;
import fun.fengwk.convention4j.springboot.starter.cache.mapper.CacheableMapper;

/**
 * @author fengwk
 */
@AutoMapper(tableName = "oauth2_token")
public interface OAuth2TokenMapper extends CacheableMapper {

    int insertSelective(OAuth2TokenDO oauth2TokenDO);

    int updateById(OAuth2TokenDO oauth2TokenDO);

    int deleteByAccessToken(String accessToken);

    OAuth2TokenDO getByAccessToken(String accessToken);

    OAuth2TokenDO getByRefreshToken(String refreshToken);

    OAuth2TokenDO getBySsoId(String ssoId);

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy