Documentation
¶
Index ¶
Constants ¶
View Source
const ( AuthorizationEndpoint = "/.idp/auth" AuthorizationReturnEndpoint = "/.idp/auth/:ar_id" TokenEndpoint = "/.idp/token" IntrospectionEndpoint = "/.idp/introspect" RegistrationEndpoint = "/.idp/register" OauthAuthorizationServerEndpoint = "/.well-known/oauth-authorization-server" JWKSEndpoint = "/.well-known/jwks.json" )
View Source
const Issuer = "mcp-oauth-proxy"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IDPRouter ¶
type IDPRouter struct {
// contains filtered or unexported fields
}
func NewIDPRouter ¶
func NewIDPRouter( repo repository.Repository, privKey *rsa.PrivateKey, logger *zap.Logger, externalURL string, secret []byte, authRouter *auth.AuthRouter, ) (*IDPRouter, error)
func (*IDPRouter) SetupRoutes ¶
type Session ¶
func NewJWTSessionWithKey ¶
func (*Session) GetJWTClaims ¶
func (s *Session) GetJWTClaims() jwt.JWTClaimsContainer
func (*Session) GetJWTHeader ¶
Click to show internal directories.
Click to hide internal directories.