handlers

package
v1.0.0-rc2 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2024 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Authorize

func Authorize(w http.ResponseWriter, r *http.Request)

func Claim

func Claim(r *http.Request) *jwt.AuthClaim

func Cookies

func Cookies(r *http.Request) *cookies.Cookies

func CtxClaim

func CtxClaim(claim *jwt.AuthClaim) func(context.Context) context.Context

func CtxCookies

func CtxCookies(cookies *cookies.Cookies) func(context.Context) context.Context

func CtxJWT

func CtxJWT(issuer *jwt.JWTIssuer) func(context.Context) context.Context

func CtxLog

func CtxLog(entry *logan.Entry) func(context.Context) context.Context

func CtxVerifier

func CtxVerifier(verifier *zkp.Verifier) func(context.Context) context.Context

func JWT

func JWT(r *http.Request) *jwt.JWTIssuer

func Log

func Log(r *http.Request) *logan.Entry

func Refresh

func Refresh(w http.ResponseWriter, r *http.Request)

func RequestChallenge

func RequestChallenge(w http.ResponseWriter, r *http.Request)

func Validate

func Validate(w http.ResponseWriter, r *http.Request)

func Verifier

func Verifier(r *http.Request) *zkp.Verifier

Types

This section is empty.

Jump to

Keyboard shortcuts

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