# EntraIdApplicationResource.withIdTokenIssuance

- Module: [Aspire.Hosting.Azure.EntraId](/reference/api/typescript/aspire.hosting.azure.entraid.md)
- Defined on: [EntraIdApplicationResource](/reference/api/typescript/aspire.hosting.azure.entraid/entraidapplicationresource.md)
- Version: `17.0.0-preview.1.26567.5`
- Kind: `method`

Enables ID-token issuance through implicit and hybrid flows for a registration created by Aspire.

## Definition

```typescript
interface EntraIdApplicationResource {
  // ... omitted for brevity
  withIdTokenIssuance(): EntraIdApplicationResource;
}
```

## Signature

```typescript
withIdTokenIssuance(): EntraIdApplicationResource
```

## Returns

[EntraIdApplicationResource](/reference/api/typescript/aspire.hosting.azure.entraid/entraidapplicationresource.md) `builder`

## Defined on

- [EntraIdApplicationResource](/reference/api/typescript/aspire.hosting.azure.entraid/entraidapplicationresource.md) -- `handle`
