# withAuthTokenValue

- Module: [CommunityToolkit.Aspire.Hosting.Ngrok](/reference/api/typescript/communitytoolkit.aspire.hosting.ngrok.md)
- Version: `13.4.0`
- Kind: `method`
- Source: [GitHub](https://github.com/CommunityToolkit/Aspire)

Adds a ngrok auth token to a ngrok resource.

## Definition

```typescript
interface NgrokResource {
  // ... omitted for brevity
  withAuthTokenValue(ngrokAuthToken: string): NgrokResource
}
```

## Parameters

- `ngrokAuthToken` (`string`)

## Returns

[NgrokResource](/reference/api/typescript/communitytoolkit.aspire.hosting.ngrok/ngrokresource.md) `builder`

## Applies to

- [NgrokResource](/reference/api/typescript/communitytoolkit.aspire.hosting.ngrok/ngrokresource.md)
