Documentation ¶
Overview ¶
Package routes contains route handlers and logic for identity-api.
Package routes provides the routes for the application.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SkipNoAuthRoutes ¶ added in v0.1.5
func SkipNoAuthRoutes(c echo.Context) bool
SkipNoAuthRoutes returns true if the requesting path should not have auth validated for it.
Types ¶
type Option ¶ added in v0.1.5
type Option func(r *Router)
Option is a functional configuration option for the router
func WithAuditMiddleware ¶ added in v0.1.5
func WithAuditMiddleware(mw *echoaudit.Middleware) Option
WithAuditMiddleware sets the audit middleware for the router
func WithIssuer ¶ added in v0.1.5
WithIssuer sets the issuer for the router
func WithLogger ¶ added in v0.1.5
func WithLogger(logger *zap.SugaredLogger) Option
WithLogger sets the logger for the router
func WithOauthConfig ¶ added in v0.1.5
func WithOauthConfig(config fositex.OAuth2Configurator) Option
WithOauthConfig sets the fosite oauth2 configurator for the router
func WithProvider ¶ added in v0.1.5
func WithProvider(provider fosite.OAuth2Provider) Option
WithProvider sets the fosite provider for the router
Click to show internal directories.
Click to hide internal directories.