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

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

## Parameters

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

## Returns

[`ServiceAuthentication`](Interface.ServiceAuthentication.md) \| `undefined`
