---
jsApi: true
title: "[F] getAuthentication"

---
```ts
getAuthentication(program, namespace): ServiceAuthentication | undefined
```

## Parameters

| Parameter | Type |
| :------ | :------ |
| `program` | `Program` |
| `namespace` | `Namespace` |

## Returns

[`ServiceAuthentication`](../interfaces/ServiceAuthentication.md) \| `undefined`
