Skip to content

struct ActionController::MCPServer::ResourceMetadata
inherits Struct #

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)#

View source

Methods#

#authorization_servers : Array(String)#

the OAuth authorization servers that issue tokens for this resource

View source

#resource_documentation : String | ::Nil#

human readable documentation for developers

View source

#scopes_supported : Array(String) | ::Nil#

the scopes MCP clients should request

View source