oryx

package
v0.0.0-...-252f0a0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 3, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SessionFromContext

func SessionFromContext(ctx context.Context) (*ory.Session, bool)

Types

type Middleware

type Middleware struct {
	// contains filtered or unexported fields
}

func NewMiddleware

func NewMiddleware(url string, opts ...MiddlewareOption) *Middleware

func (*Middleware) Session

func (mw *Middleware) Session(next http.Handler) http.Handler

type MiddlewareOption

type MiddlewareOption func(*middlewareOptions)

func WithAuthFailedHandler

func WithAuthFailedHandler(h func(error) http.HandlerFunc) MiddlewareOption

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL