# auth.md - El-Asdeqaa Nursing & Elderly Care Agent Registration

Welcome AI Agent. This document defines the registration and authentication protocols for interacting with **El-Asdeqaa Nursing & Elderly Care Services** (شركة الأصدقاء للخدمات التمريضية ورعاية المسنين).

## Overview
- Organization: شركة الأصدقاء للخدمات التمريضية ورعاية المسنين
- Primary Service: Elderly Care, Geriatric Care, Home Nursing, Alzheimer's/Dementia, and Elderly Home Management.
- Base URL: `https://asdeqaanursing.com`
- Contact: `info@asdeqaanursing.com` / `+201043884190`

## Agent Registration Protocol
AI Agents interacting on behalf of patients or family members can interact without authentication for public queries and booking creation.

### Discovery Endpoints
- API Catalog: `https://asdeqaanursing.com/.well-known/api-catalog`
- OpenAPI Specification: `https://asdeqaanursing.com/openapi.json`
- OAuth Protected Resource: `https://asdeqaanursing.com/.well-known/oauth-protected-resource`
- OAuth Authorization Server: `https://asdeqaanursing.com/.well-known/oauth-authorization-server`
- A2A Agent Card: `https://asdeqaanursing.com/.well-known/agent-card.json`
- MCP Server Card: `https://asdeqaanursing.com/.well-known/mcp/server-card.json`
- Agent Skills Index: `https://asdeqaanursing.com/.well-known/agent-skills/index.json`
- AI Catalog (ARD): `https://asdeqaanursing.com/.well-known/ai-catalog.json`

## Supported Identity & Credential Types
- `client_credentials`: For registered partner agencies and hospital dispatchers.
- `bearer_token`: JWT issued by Supabase Auth (`https://mkgtfgulxlimvdqtnnwt.supabase.co/auth/v1`).
- `anonymous_agent`: For public patient booking requests (`POST /api/bookings`).
