auth

package
v2.8.0 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const EGIGroupsURNPrefix = "urn:mace:egi.eu:group"

EGIGroupsURNPrefix prefix to identify EGI group URNs

Variables

This section is empty.

Functions

func CustomAuth

func CustomAuth(cfg *types.Config) gin.HandlerFunc

CustomAuth returns a custom auth handler (gin middleware)

func GetAuthMiddleware

func GetAuthMiddleware(cfg *types.Config) gin.HandlerFunc

GetAuthMiddleware returns the appropriate gin auth middleware

func NewOIDCManager added in v2.8.0

func NewOIDCManager(issuer string, subject string, groups []string) (*oidcManager, error)

newOIDCManager returns a new oidcManager or error if the oidc.Provider can't be created

Types

This section is empty.

Jump to

Keyboard shortcuts

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