Versions in this module Expand all Collapse all v0 v0.7.0 Jun 19, 2026 Changes in this version + func AuthenticatedCustomClaimsFromContext(ctx context.Context) (map[string]any, bool) + func AuthenticatedPrincipalFromContext(ctx context.Context) (string, bool) + func AuthenticatedRegisteredClaimsFromContext(ctx context.Context) (jwtvalidator.RegisteredClaims, bool) + func ContextWithAuthenticatedCustomClaims(ctx context.Context, claims map[string]any) context.Context + func ContextWithAuthenticatedPrincipal(ctx context.Context, principal string) context.Context + func ContextWithAuthenticatedRegisteredClaims(ctx context.Context, claims jwtvalidator.RegisteredClaims) context.Context + func NewContextWithGitHubUserInfo(ctx context.Context, userInfo *GitHubUserInfo) context.Context + type GitHubUserInfo struct + Company string + Location string + Login string + Name string + PlanName string + PrimaryEmail string + PrimaryEmailVerified bool + WebSite string + func GitHubUserInfoFromContext(ctx context.Context) *GitHubUserInfo