auth

package
v0.0.0-...-069e140 Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2021 License: MIT Imports: 2 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
	Password string
}

BasicAuth stores a basic auth username/password

func (BasicAuth) GetRequestMetadata

func (b BasicAuth) GetRequestMetadata(ctx context.Context, in ...string) (map[string]string, error)

GetRequestMetadata is a implementation of the GetRequestMetadata function

func (BasicAuth) RequireTransportSecurity

func (BasicAuth) RequireTransportSecurity() bool

RequireTransportSecurity is required for basic auth

Jump to

Keyboard shortcuts

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