Documentation ¶
Overview ¶
Package krb5 contains the implementation of krb5 (Kerberos) security provider.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Default auth.Auther
Default is a Kerberos 5 client configured from cached credentials. If the credentials could not be correctly configured, Default will be nil.
View Source
var Type = [4]byte{'k', 'r', 'b', '5'}
Type indicates that krb5 (Kerberos) authentication protocol is used.
Functions ¶
This section is empty.
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.
Click to show internal directories.
Click to hide internal directories.