Documentation
¶
Index ¶
Constants ¶
View Source
const OAuthResumePath = "/oauth/authorize/resume"
OAuthResumePath is the only non-root return target a login may carry: the MCP authorization server's continuation after sign-in.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Provider ¶
type Provider struct {
Spec Spec
Client Client
Store authn.SessionStore
Sessions *authn.SessionManager
LoginTTL time.Duration
Now func() time.Time
Rand io.Reader
Audit audit.Recorder
// Tokens, when set, is handed the provider token of logins that return to
// the MCP authorization endpoint. Ordinary console logins never share it.
Tokens ProviderTokenSink
}
Click to show internal directories.
Click to hide internal directories.