Documentation
¶
Overview ¶
Package kerberos interacts with the Kerberos system daemon.
Index ¶
- type Kerberos
- func (k *Kerberos) AcquireKerberosTgt(ctx context.Context, principalName, password string, ...) (*kp.AcquireKerberosTgtResponse, error)
- func (k *Kerberos) AddAccount(ctx context.Context, principalName string) (*kp.AddAccountResponse, error)
- func (k *Kerberos) ClearAccounts(ctx context.Context) (*kp.ClearAccountsResponse, error)
- func (k *Kerberos) GetKerberosFiles(ctx context.Context, principalName string) (*kp.GetKerberosFilesResponse, error)
- func (k *Kerberos) ListAccounts(ctx context.Context) (*kp.ListAccountsResponse, error)
- func (k *Kerberos) RemoveAccount(ctx context.Context, principalName string) (*kp.RemoveAccountResponse, error)
- func (k *Kerberos) SetConfig(ctx context.Context, principalName, krb5Conf string) (*kp.SetConfigResponse, error)
- func (k *Kerberos) ValidateConfig(ctx context.Context, krb5Conf string) (*kp.ValidateConfigResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Kerberos ¶
type Kerberos struct {
// contains filtered or unexported fields
}
Kerberos is used to interact with the Kerberos daemon process over D-Bus. For documentation of the D-Bus methods, see src/platform2/kerberos/dbus_bindings/org.chromium.Kerberos.xml.
func (*Kerberos) AcquireKerberosTgt ¶
func (k *Kerberos) AcquireKerberosTgt(ctx context.Context, principalName, password string, rememberPassword, useLoginPassword bool) (*kp.AcquireKerberosTgtResponse, error)
AcquireKerberosTgt calls the AcquireKerberosTgt D-Bus method.
func (*Kerberos) AddAccount ¶
func (k *Kerberos) AddAccount(ctx context.Context, principalName string) (*kp.AddAccountResponse, error)
AddAccount calls the AddAccount D-Bus method.
func (*Kerberos) ClearAccounts ¶
ClearAccounts calls the ClearAccounts D-Bus method.
func (*Kerberos) GetKerberosFiles ¶
func (k *Kerberos) GetKerberosFiles(ctx context.Context, principalName string) (*kp.GetKerberosFilesResponse, error)
GetKerberosFiles calls the GetKerberosFiles D-Bus method.
func (*Kerberos) ListAccounts ¶
ListAccounts calls the ListAccounts D-Bus method.
func (*Kerberos) RemoveAccount ¶
func (k *Kerberos) RemoveAccount(ctx context.Context, principalName string) (*kp.RemoveAccountResponse, error)
RemoveAccount calls the RemoveAccount D-Bus method.
func (*Kerberos) SetConfig ¶
func (k *Kerberos) SetConfig(ctx context.Context, principalName, krb5Conf string) (*kp.SetConfigResponse, error)
SetConfig calls the SetConfig D-Bus method.
func (*Kerberos) ValidateConfig ¶
func (k *Kerberos) ValidateConfig(ctx context.Context, krb5Conf string) (*kp.ValidateConfigResponse, error)
ValidateConfig calls the ValidateConfig D-Bus method.