# ProviderLoginResponse

Model ID: `provider.LoginResponse`

Response for POST /auth/login. ``fhir_practitioner_id`` is resolved
best-effort from a Redis cache and, on a cache miss, a FHIR Practitioner
search by cognito_sub — it may be null if neither lookup succeeds, even
though the login itself was successful. ``telehealth_id`` is resolved
from Redis only and is typed as a string on the wire even though it is
stored internally as an integer.

Type: `object`

## Fields

| Field | Type | Required | Format | Allowed values | Default | Nullable | Description |
|---|---|---:|---|---|---|---:|---|
| `access_token` | `string` | Yes |  |  |  | No | Cognito access token; send as `Authorization: Bearer <access_token>` on subsequent requests. |
| `cognito_sub` | `string|null` | No |  |  |  | Yes | Cognito subject (user id) decoded from the issued id_token. |
| `expires_in` | `integer` | Yes |  |  |  | No | Access token lifetime in seconds from issuance. |
| `fhir_practitioner_id` | `string|null` | No |  |  |  | Yes | FHIR Practitioner ID for this practitioner, used as {practitioner_id} on every other route. Null if it could not be resolved. |
| `id_token` | `string|null` | No |  |  |  | Yes | Cognito ID token, carrying the tenant_id claim used by other HealthCloud services. |
| `telehealth_id` | `string|null` | No |  |  |  | Yes | Telehealth service identifier for this practitioner, when the telehealth integration is enabled. Null if it could not be resolved. |

## Example

None declared in canonical OpenAPI.
