T3.HTTP.OAuth (T3 v0.3.0)

Copy Markdown View Source

Named access to T3 HTTP oauth routes. Options accept wire-map JSON/form bodies, query and headers.

Summary

Functions

POST /oauth/mcp/approval. Body encoding: json.

GET /.well-known/oauth-authorization-server. Body encoding: none.

GET /oauth/mcp/authorize. Body encoding: none.

POST /oauth/mcp/decision. Body encoding: json.

GET /.well-known/oauth-protected-resource/mcp. Body encoding: none.

GET /.well-known/oauth-protected-resource. Body encoding: none.

POST /oauth/mcp/register. Body encoding: json.

POST /oauth/mcp/token. Body encoding: form.

Functions

approval(client, opts \\ [])

POST /oauth/mcp/approval. Body encoding: json.

authorization_server(client, opts \\ [])

GET /.well-known/oauth-authorization-server. Body encoding: none.

authorize(client, opts \\ [])

GET /oauth/mcp/authorize. Body encoding: none.

decision(client, opts \\ [])

POST /oauth/mcp/decision. Body encoding: json.

mcp_protected_resource(client, opts \\ [])

GET /.well-known/oauth-protected-resource/mcp. Body encoding: none.

protected_resource(client, opts \\ [])

GET /.well-known/oauth-protected-resource. Body encoding: none.

register(client, opts \\ [])

POST /oauth/mcp/register. Body encoding: json.

token(client, opts \\ [])

POST /oauth/mcp/token. Body encoding: form.