1
This commit is contained in:
@@ -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);
|
||||
}
|
||||
Reference in New Issue
Block a user