struct
ActionController::MCPServer::ResourceMetadata
- ActionController::MCPServer::ResourceMetadata
- Struct
- Value
- Object
Overview
OAuth 2.0 Protected Resource Metadata (RFC 9728), tells MCP clients where to obtain access tokens
Defined in:
action-controller/mcp/auth.crConstructors
Instance Method Summary
-
#authorization_servers : Array(String)
the OAuth authorization servers that issue tokens for this resource
-
#resource_documentation : String | Nil
human readable documentation for developers
-
#scopes_supported : Array(String) | Nil
the scopes MCP clients should request
Constructor Detail
def self.new(authorization_servers : Array(String), scopes_supported : Nil | Array(String) = nil, resource_documentation : Nil | String = nil)
#
Instance Method Detail
def authorization_servers : Array(String)
#
the OAuth authorization servers that issue tokens for this resource