Documentation
¶
Overview ¶
Package auth obtains, stores and refreshes the user's own OIDC token for airavata-mcp.
Index ¶
Constants ¶
View Source
const ( DefaultIssuer = "https://cilogon.org" EnvToken = "AIRAVATA_MCP_TOKEN" )
Variables ¶
View Source
var DefaultScopes = []string{"openid", "email", "profile", "org.cilogon.userinfo", "offline_access"}
View Source
var ErrNotLoggedIn = errors.New("not logged in: run `airavata-mcp login`")
Functions ¶
func NewTokenSource ¶
func NormalizeSubject ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.