Documentation
¶
Index ¶
Constants ¶
View Source
const ( ConnectStartPath = "/oauth/connect/*" ConnectCallbackPath = "/oauth/callback/*" DisconnectPath = "/oauth/disconnect/*" )
Provider keys can contain slashes (e.g. "app.linear/mcp"), so these routes use a greedy wildcard segment instead of a single-segment :provider param.
View Source
const AuthorizePath = "/oauth/authorize"
View Source
const JWKSPath = "/.well-known/jwks.json"
View Source
const RegisterPath = "/oauth/register"
View Source
const TokenPath = "/oauth/token" // #nosec G101 -- route path, not a credential
View Source
const WellKnownAuthorizationServerPath = "/.well-known/oauth-authorization-server"
View Source
const WellKnownProtectedResourcePath = "/.well-known/oauth-protected-resource"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthorizationServerHandler ¶
type AuthorizationServerHandler struct {
// contains filtered or unexported fields
}
func NewAuthorizationServerHandler ¶
func NewAuthorizationServerHandler(metadata appoauth.MetadataService) *AuthorizationServerHandler
type AuthorizeHandler ¶
type AuthorizeHandler struct {
// contains filtered or unexported fields
}
func NewAuthorizeHandler ¶
func NewAuthorizeHandler(proxy appoauth.AuthProxy, gateways resolver.GatewayResolver) *AuthorizeHandler
type CallbackHandler ¶
type CallbackHandler struct {
// contains filtered or unexported fields
}
func NewCallbackHandler ¶
func NewCallbackHandler(proxy appoauth.AuthProxy) *CallbackHandler
type ConnectHandler ¶
type ConnectHandler struct {
// contains filtered or unexported fields
}
func NewConnectHandler ¶
func NewConnectHandler(connect appoauth.ConnectService) *ConnectHandler
func (*ConnectHandler) Disconnect ¶
func (h *ConnectHandler) Disconnect(c *fiber.Ctx) error
type JWKSHandler ¶
type JWKSHandler struct {
// contains filtered or unexported fields
}
func NewJWKSHandler ¶
func NewJWKSHandler(signer sts.TokenSigner) *JWKSHandler
type ProtectedResourceHandler ¶
type ProtectedResourceHandler struct {
// contains filtered or unexported fields
}
func NewProtectedResourceHandler ¶
func NewProtectedResourceHandler(metadata appoauth.MetadataService) *ProtectedResourceHandler
type RegisterHandler ¶
type RegisterHandler struct {
// contains filtered or unexported fields
}
func NewRegisterHandler ¶
func NewRegisterHandler(metadata appoauth.MetadataService) *RegisterHandler
type TokenHandler ¶
type TokenHandler struct {
// contains filtered or unexported fields
}
func NewTokenHandler ¶
func NewTokenHandler(proxy appoauth.AuthProxy, gateways resolver.GatewayResolver) *TokenHandler
Click to show internal directories.
Click to hide internal directories.