MCPcopy Create free account
hub / github.com/IQEngine/IQEngine / fetchSasToken

Function fetchSasToken

client/src/api/datasource/queries.ts:28–31  ·  view source on GitHub ↗
(client: DataSourceClient, account: string, container: string, filepath: string, write: boolean = false)

Source from the content-addressed store, hash-verified

26};
27
28const fetchSasToken = async (client: DataSourceClient, account: string, container: string, filepath: string, write: boolean = false) => {
29 const response = await client.getSasToken(account, container, filepath, write);
30 return response;
31};
32
33export const getDataSources = (type: string, enabled = true) => {
34 const { filesQuery, dataSourcesQuery } = useUserSettings();

Callers 2

useSasTokenFunction · 0.85
uploadBlobFunction · 0.85

Calls 1

getSasTokenMethod · 0.65

Tested by

no test coverage detected