auth

package
v1.17.4 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2025 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	NoClientCert               = ClientAuth(tls.NoClientCert)
	RequestClientCert          = ClientAuth(tls.RequestClientCert)
	RequireAnyClientCert       = ClientAuth(tls.RequireAnyClientCert)
	VerifyClientCertIfGiven    = ClientAuth(tls.VerifyClientCertIfGiven)
	RequireAndVerifyClientCert = ClientAuth(tls.RequireAndVerifyClientCert)
)

Variables

This section is empty.

Functions

func ViperDecoderHook

func ViperDecoderHook() libmap.DecodeHookFuncType

Types

type ClientAuth

type ClientAuth tls.ClientAuthType

func List

func List() []ClientAuth

func Parse

func Parse(s string) ClientAuth

func ParseInt

func ParseInt(d int) ClientAuth

func (ClientAuth) Code

func (a ClientAuth) Code() string

func (ClientAuth) MarshalCBOR

func (a ClientAuth) MarshalCBOR() ([]byte, error)

func (ClientAuth) MarshalJSON

func (a ClientAuth) MarshalJSON() ([]byte, error)

func (ClientAuth) MarshalTOML

func (a ClientAuth) MarshalTOML() ([]byte, error)

func (ClientAuth) MarshalText

func (a ClientAuth) MarshalText() ([]byte, error)

func (ClientAuth) MarshalYAML

func (a ClientAuth) MarshalYAML() (interface{}, error)

func (ClientAuth) String

func (a ClientAuth) String() string

func (ClientAuth) TLS

func (a ClientAuth) TLS() tls.ClientAuthType

func (*ClientAuth) UnmarshalCBOR

func (a *ClientAuth) UnmarshalCBOR(bytes []byte) error

func (*ClientAuth) UnmarshalJSON

func (a *ClientAuth) UnmarshalJSON(bytes []byte) error

func (*ClientAuth) UnmarshalTOML

func (a *ClientAuth) UnmarshalTOML(i interface{}) error

func (*ClientAuth) UnmarshalText

func (a *ClientAuth) UnmarshalText(bytes []byte) error

func (*ClientAuth) UnmarshalYAML

func (a *ClientAuth) UnmarshalYAML(value *yaml.Node) error

Jump to

Keyboard shortcuts

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