feat(server): support refresh token (#15218)

This commit is contained in:
DarkSky
2026-07-12 02:39:42 +08:00
committed by GitHub
parent aea128f0b9
commit 02b25e05d8
80 changed files with 5866 additions and 745 deletions
+10
View File
@@ -167,6 +167,16 @@ import type {
} from './plugins/copilot/runtime/contracts/tool-contract';
export const mergeUpdatesInApplyWay = serverNativeModule.mergeUpdatesInApplyWay;
export const authSessionAccessTokenKeyId =
serverNativeModule.authSessionAccessTokenKeyId;
export const createAuthSessionRefreshToken =
serverNativeModule.createAuthSessionRefreshToken;
export const parseAuthSessionRefreshToken =
serverNativeModule.parseAuthSessionRefreshToken;
export const signAuthSessionAccessToken =
serverNativeModule.signAuthSessionAccessToken;
export const verifyAuthSessionAccessToken =
serverNativeModule.verifyAuthSessionAccessToken;
export async function validateDocUpdate(
update: Buffer,