Sets authentication tokens and stores them
Delegates to the token-operations module's setTokens function, preserving the same function signature for backward compatibility.
Authentication tokens to store
// Store tokens using the compatibility APIimport { setTokens } from "./auth/storage/token-store";setTokens({ accessToken: "new-access-token", refreshToken: "new-refresh-token", expiresIn: 3600}); Copy
// Store tokens using the compatibility APIimport { setTokens } from "./auth/storage/token-store";setTokens({ accessToken: "new-access-token", refreshToken: "new-refresh-token", expiresIn: 3600});
Use setTokens from token-operations directly
export function setTokens(tokens: AuthTokens): void { setTokensOp(tokens);} Copy
export function setTokens(tokens: AuthTokens): void { setTokensOp(tokens);}
Sets authentication tokens and stores them
Delegates to the token-operations module's setTokens function, preserving the same function signature for backward compatibility.