Documentation
¶
Overview ¶
Package steward lets a go-steer service act as its caller.
A steward looks after passengers' belongings on their behalf; purser (github.com/go-steer/purser) checks who is aboard. This module is the first half's complement: given a request carrying a person's Google access token, it decides whether the token is good for this service, who it belongs to, and whether that person is let in, and then hands the service a purser.Caller plus a token source it can use to call Google APIs and GKE clusters as that person.
The design, the hard rules and the phase plan are in docs/DESIGN.md.
Directories
¶
| Path | Synopsis |
|---|---|
|
Package allow decides which verified Google accounts are let in.
|
Package allow decides which verified Google accounts are let in. |
|
Package googletoken verifies the Google OAuth access tokens a client presents on a person's behalf, such as the ones a Gemini Enterprise app sends to a Custom MCP Server.
|
Package googletoken verifies the Google OAuth access tokens a client presents on a person's behalf, such as the ones a Gemini Enterprise app sends to a Custom MCP Server. |
|
Package httpauth protects an HTTP resource with Google access tokens and hands each request the caller's own token.
|
Package httpauth protects an HTTP resource with Google access tokens and hands each request the caller's own token. |
|
Package mcpauth serves an MCP server built on github.com/modelcontextprotocol/go-sdk behind an httpauth.Protector: it binds each session to the person who opened it, and gives each call the token that came with it.
|
Package mcpauth serves an MCP server built on github.com/modelcontextprotocol/go-sdk behind an httpauth.Protector: it binds each session to the person who opened it, and gives each call the token that came with it. |