| 13 | |
| 14 | |
| 15 | class AuthSettings(BaseModel): |
| 16 | issuer_url: AnyHttpUrl = Field( |
| 17 | ..., |
| 18 | description="OAuth authorization server URL that issues tokens for this resource server.", |
| 19 | ) |
| 20 | service_documentation_url: AnyHttpUrl | None = None |
| 21 | client_registration_options: ClientRegistrationOptions | None = None |
| 22 | revocation_options: RevocationOptions | None = None |
| 23 | required_scopes: list[str] | None = None |
| 24 | |
| 25 | # Resource Server settings (when operating as RS only) |
| 26 | resource_server_url: AnyHttpUrl | None = Field( |
| 27 | ..., |
| 28 | description="The URL of the MCP server to be used as the resource identifier " |
| 29 | "and base route to look up OAuth Protected Resource Metadata.", |
| 30 | ) |
no outgoing calls
no test coverage detected