Documentation

Overview

    Package idpmiddleware is a simple HTTP middleware that protects routes using idp(1). This only allows users that the given idp(1) instance is configured. to allow.

    Index

    Constants

    This section is empty.

    Variables

    This section is empty.

    Functions

    func Protect

    func Protect(idpServer, me, selfURL string) func(next http.Handler) http.Handler

      Protect protects a given URL behind your given idp(1) server.

      func XeProtect

      func XeProtect(selfURL string) func(next http.Handler) http.Handler

        XeProtect sets defaults for Xe to use.

        Types

        This section is empty.