# auth.md

This service supports programmatic agent registration and authentication using the `auth.md` protocol.

## Service Endpoints
- **Resource Server API Base:** `https://padmashreehospital.com.np/api`
- **Authorization Server:** `https://padmashreehospital.com.np`

## Discovery
AI agents can programmatically discover registration and authentication parameters by reading:
- The Protected Resource Metadata: `/.well-known/oauth-protected-resource`
- The Authorization Server Metadata: `/.well-known/oauth-authorization-server` or `/.well-known/openid-configuration`

## Registration and Authentication Flows
AI agents can obtain scoped, revocable, and auditable credentials programmatically.

### Endpoints
- **Registration URI:** `/oauth/register`
- **Claim URI:** `/oauth/claim`
- **Revocation URI:** `/oauth/revoke`

### Supported Identity Types
- `anonymous`: The agent requests a guest/temporary credential.
- `identity_assertion`: The agent's provider vouches for the agent's identity using an ID-JAG token assertion.
