authc

package
v0.0.0-...-31eb07f Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2026 License: Apache-2.0 Imports: 10 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAuthenticatorFromConfig

NewAuthenticatorFromConfig creates an authenticator from the configuration.

Types

type HTTPClientAuthConfig

type HTTPClientAuthConfig struct {
	authscheme.HTTPClientAuthenticatorConfig `yaml:",inline"`
}

HTTPClientAuthConfig contains authentication configurations. The schema follows OpenAPI 3 specification with extensions.

func (HTTPClientAuthConfig) Equal

Equal checks if the target value is equal.

func (HTTPClientAuthConfig) IsZero

func (j HTTPClientAuthConfig) IsZero() bool

IsZero if the current instance is empty.

func (HTTPClientAuthConfig) MarshalJSON

func (j HTTPClientAuthConfig) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler.

func (*HTTPClientAuthConfig) UnmarshalJSON

func (j *HTTPClientAuthConfig) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler.

func (*HTTPClientAuthConfig) UnmarshalYAML

func (j *HTTPClientAuthConfig) UnmarshalYAML(value *yaml.Node) error

UnmarshalYAML implements yaml.Unmarshaler.

func (*HTTPClientAuthConfig) Validate

func (j *HTTPClientAuthConfig) Validate(strict bool) error

Validate if the current instance is valid.

Directories

Path Synopsis
Package authscheme defines types and interfaces for security schemes.
Package authscheme defines types and interfaces for security schemes.
Package basicauth implements authentication interfaces for the basic security scheme.
Package basicauth implements authentication interfaces for the basic security scheme.
Package httpauth implements authentication interfaces for the http security scheme.
Package httpauth implements authentication interfaces for the http security scheme.
Package oauth2scheme implements authentication interfaces for OAuth2 security scheme.
Package oauth2scheme implements authentication interfaces for OAuth2 security scheme.

Jump to

Keyboard shortcuts

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