final |
|---|
readonly |
The OAuth 2.0 Protected Resource Metadata document an MCP server publishes.
| Methods | ||
|---|---|---|
public
|
__construct(
ResourceIdentifier $resource,
list<non-empty-string> $authorizationServers,
?ScopeSet $scopesSupported = null,
null|list<non-empty-string> $bearerMethodsSupported = null,
null|non-empty-string $resourceName = null,
)
|
# |
public
static
|
fromArray(array<string, mixed> $data): self
|
# |
public
|
toArray(): array<string, mixed>
|
# |
| Properties | |||
|---|---|---|---|
public
|
non-empty-list<non-empty-string>
|
$authorizationServers
|
# |
public
|
ResourceIdentifier
|
$resource
|
# |
public
|
?ScopeSet
|
$scopesSupported
|
# |
public
|
null|list<non-empty-string>
|
$bearerMethodsSupported
|
# |
public
|
null|non-empty-string
|
$resourceName
|
# |