gi-nx / fetchCredentials
ts
function fetchCredentials(this: RpcCallContext): Promise<{
credential_value: string;
description: string;
expires_at: string;
id: number;
name: string;
}[]>;Fetch credentials that both the current user and the current app have access to. These are access tokens for third-party services (e.g. tile servers, AI APIs) that workspace admins have shared with this app.
Parameters
| Parameter | Type |
|---|---|
this | RpcCallContext |
Returns
Promise<{ credential_value: string; description: string; expires_at: string; id: number; name: string; }[]>