MCPcopy Create free account
hub / github.com/github/copilot-sdk / MCPAuthResultToken

Function MCPAuthResultToken

go/types.go:376–378  ·  view source on GitHub ↗

MCPAuthResultToken returns a token result for an MCP OAuth request.

(token *MCPAuthToken)

Source from the content-addressed store, hash-verified

374
375// MCPAuthResultToken returns a token result for an MCP OAuth request.
376func MCPAuthResultToken(token *MCPAuthToken) *MCPAuthResult {
377 return &MCPAuthResult{Kind: MCPAuthResultKindToken, Token: token}
378}
379
380// MCPAuthResultCancelled returns a cancelled result for an MCP OAuth request.
381func MCPAuthResultCancelled() *MCPAuthResult {

Calls

no outgoing calls

Tested by 1

Used in the wild real call sites across dependent graphs

searching dependent graphs…