simpleauth

package
v0.9.4-72-geb7da82c Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2024 License: BSD-3-Clause Imports: 1 Imported by: 0

Documentation

Overview

Package simpleauth implements a basic pass-by-reference of credentials for the authn.Authenticator interface.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SimpleAuthenticator

type SimpleAuthenticator struct {
	Auth *authn.AuthConfig
}

SimpleAuthenticator is used to handle looking up the already populated user configuration that is used when speaking with the remote registry.

func (*SimpleAuthenticator) Authorization

func (auth *SimpleAuthenticator) Authorization() (*authn.AuthConfig, error)

Authorization implements authn.Authenticator.

Jump to

Keyboard shortcuts

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