struct

ActionController::MCPServer::ResourceMetadata

Inherits Struct < Value < Object

OAuth 2.0 Protected Resource Metadata (RFC 9728), tells MCP clients where to obtain access tokens

Constructors

new(authorization_servers : Array(String), scopes_supported : Nil | Array(String) = nil, resource_documentation : Nil | String = nil)
Source

Instance methods

authorization_servers

the OAuth authorization servers that issue tokens for this resource

Source
resource_documentation

human readable documentation for developers

Source
scopes_supported

the scopes MCP clients should request

Source