org.yuequan.watchdog.client.ApplicationRepository Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of watchdog-spring-boot-starter Show documentation
Show all versions of watchdog-spring-boot-starter Show documentation
Watchdog is an OAuth 2 provider for SpringBoot
package org.yuequan.watchdog.client;
import org.springframework.security.oauth2.provider.ClientDetails;
import java.util.List;
import java.util.Optional;
/**
* 对{@link Application}持久化管理的接口定义
* @author yuequan
* @since 1.0
**/
public interface ApplicationRepository {
T save(ClientDetails t);
Optional findByClientId(String clientId);
T update(ClientDetails t);
List findAll();
List findAll(int pageNo, int pageSize);
void delete(String clientId);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy