basic

package
v0.11.5 Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BasicAuthMethod

type BasicAuthMethod struct {
	Username string
	Password string
}

BasicAuthMethod is a basic authentication method

func NewBasicAuthMethod

func NewBasicAuthMethod() *BasicAuthMethod

NewBasicAuthMethod creates a new BasicAuthMethod

func (*BasicAuthMethod) AuthMethodConstructor

func (auth *BasicAuthMethod) AuthMethodConstructor(credential *credentials.Credential) (repository.AuthMethodReader, error)

AuthMethodConstructor return BasicAuthMethod from the given credential

func (*BasicAuthMethod) Name

func (a *BasicAuthMethod) Name() string

Name returns the name of the authentication method

Jump to

Keyboard shortcuts

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