package krb5
import "go-hep.org/x/hep/xrootd/xrdproto/auth/krb5"
Package krb5 contains the implementation of krb5 (Kerberos) security provider.
Index ¶
Variables ¶
Default is a Kerberos 5 client configured from cached credentials. If the credentials could not be correctly configured, Default will be nil.
var Type = [4]byte{'k', 'r', 'b', '5'}
Type indicates that krb5 (Kerberos) authentication protocol is used.
Types ¶
type Auth ¶
type Auth struct {
// contains filtered or unexported fields
}
Auth implements krb5 (Kerberos) security provider.
func WithClient ¶
WithClient creates a new Auth using the provided krb5 client.
func WithCredCache ¶
WithCredCache creates a new Auth configured from cached credentials.
func WithPassword ¶
WithPassword creates a new Auth configured from the provided user, realm and password.
func (*Auth) Provider ¶
Provider implements auth.Auther
func (*Auth) Request ¶
Request implements auth.Auther
Source Files ¶
krb5.go krb5_unix.go
- Version
- v0.37.0 (latest)
- Published
- May 20, 2025
- Platform
- linux/amd64
- Imports
- 13 packages
- Last checked
- 3 days ago –
Tools for package owners.