Back to godoc.org

Package authz

v0.0.0-...-7b3594c
Latest Go to latest

The latest major version is .

Published: Aug 25, 2020 | License: AGPL-3.0 | Module: gitlab.misakey.dev/misakey/backend/api

Index

func GetBearerTok

func GetBearerTok(ctx echo.Context) (string, error)

func NewOIDCIntrospector

func NewOIDCIntrospector(misakeyAudience string, selfRestrict bool, tokenRester rester.Client) echo.MiddlewareFunc

NewOIDCIntrospector used to declare a route require OIDC authorization Information must be passed through a bearer token in Authorization HTTP Header The opaque token is instropected and information are set inside current context to be checked later by different actors (modules...)

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier