Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CertificateAuthenticator ¶
type CertificateAuthenticator = auth.CertificateAuthenticator
CertificateAuthenticator is the interface for authenticating a client using TLS certificates.
func NewCertificateAuthenticator ¶ added in v1.2.2
func NewCertificateAuthenticator(opts ...CertificateAuthenticatorOption) (CertificateAuthenticator, error)
NewCertificateAuthenticator returns a new certificate authenticator.
type CertificateAuthenticatorOption ¶
type CertificateAuthenticatorOption = auth.CertificateAuthenticatorOption
CertificateAuthenticatorOption represents an authenticator option.
func WithCommonNameRegexp ¶ added in v1.2.2
func WithCommonNameRegexp(regexps ...string) CertificateAuthenticatorOption
WithCertificateAuthenticatorCommonName sets the common name.
Click to show internal directories.
Click to hide internal directories.