> ## Documentation Index
> Fetch the complete documentation index at: https://docs.sidenet.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Runtime Authentication

> Pass user credentials to use for the tools assigned to the agents

| Function                                | Description                          |
| --------------------------------------- | ------------------------------------ |
| `updateSidenetRuntimeAuth(credentials)` | Update auth credentials dynamically  |
| `getSidenetRuntimeAuthProviders()`      | Get available auth providers (async) |

```typescript theme={null}
// Update credentials after init
updateSidenetRuntimeAuth([
  { providerName: 'github', credentials: { token: 'ghp_...' } },
  { providerName: 'slack', credentials: { token: 'xoxb-...' } },
]);

// Get available providers
const providers = await getSidenetRuntimeAuthProviders();
// [{ providerName: 'github', authType: 'oauth', authFields: ['token'] }, ...]
```
