auth

package
v3.0.0-...-e1d3755 Latest Latest
Warning

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

Go to latest
Published: May 20, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BasicAuth

type BasicAuth struct {
	UserName string
	Secret   string
}

func (BasicAuth) GetAuthInfo

func (bs BasicAuth) GetAuthInfo(con *connection.Connection) (*http.Client, map[string]string, error)

Returns the header used for the authentification.

type Config

type Config interface {
	GetAuthInfo(con *connection.Connection) (*http.Client, map[string]string, error)
}

Jump to

Keyboard shortcuts

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