httpprovider

package
v0.0.0-...-bb80d3f Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2024 License: AGPL-3.0 Imports: 12 Imported by: 0

Documentation

Overview

httpprovider contains http authentication methods.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewApikeyProvider

func NewApikeyProvider(p security.UserProvider) security.HttpProvider

NewApikeyProvider creates new provider. Deprecated : use JWT token instead.

func NewBasicProvider

func NewBasicProvider(p security.Provider) security.HttpProvider

NewBasicProvider creates new provider.

func NewBearerProvider

func NewBearerProvider(
	providers []security.TokenProvider,
) security.HttpProvider

NewBearerProvider creates new provider.

func NewCasProvider

func NewCasProvider(
	client libhttp.Doer,
	config security.CasConfig,
	userProvider security.UserProvider,
	roleProvider security.RoleProvider,
) security.HttpProvider

NewCasProvider creates new provider.

func NewCookieProvider

func NewCookieProvider(
	tokenProviders []security.TokenProvider,
	cookieName string,
	logger zerolog.Logger,
) security.HttpProvider

func NewQueryBasicProvider

func NewQueryBasicProvider(p security.Provider) security.HttpProvider

NewQueryBasicProvider creates new provider. Deprecated : use Basic Auth.

Types

This section is empty.

Jump to

Keyboard shortcuts

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