This commit is contained in:
van
2026-03-23 17:04:37 +08:00
parent 458b84f913
commit 9bb7cfc7fb
24 changed files with 1055 additions and 3405 deletions

View File

@@ -0,0 +1,20 @@
package com.ruoyi.jarvis.service;
import com.ruoyi.jarvis.domain.dto.KdocsTokenInfo;
public interface IKdocsOAuthService {
String getAuthUrl(String state);
KdocsTokenInfo getAccessTokenByCode(String code);
KdocsTokenInfo refreshAccessToken(String refreshToken, String existingUserId);
KdocsTokenInfo getCurrentToken();
void saveToken(String userId, KdocsTokenInfo tokenInfo);
void clearToken(String userId);
boolean isTokenValid(KdocsTokenInfo tokenInfo);
}