Versions in this module Expand all Collapse all v0 v0.0.1 May 10, 2021 Changes in this version + const Authtok + const ChangeExpiredAuthtok + const DeleteCred + const DisallowNullAuthtok + const ErrorMsg + const EstablishCred + const Oldauthtok + const PromptEchoOff + const PromptEchoOn + const RefreshCred + const ReinitializeCred + const Rhost + const Ruser + const Service + const Silent + const TextInfo + const Tty + const User + const UserPrompt + type ConversationFunc func(Style, string) (string, error) + func (f ConversationFunc) RespondPAM(s Style, msg string) (string, error) + type ConversationHandler interface + RespondPAM func(Style, string) (string, error) + type Flags int + type Item int + type Style int + type Transaction struct + func Start(service, user string, handler ConversationHandler) (*Transaction, error) + func StartFunc(service, user string, handler func(Style, string) (string, error)) (*Transaction, error) + func (t *Transaction) AcctMgmt(f Flags) error + func (t *Transaction) Authenticate(f Flags) error + func (t *Transaction) ChangeAuthTok(f Flags) error + func (t *Transaction) CloseSession(f Flags) error + func (t *Transaction) Error() string + func (t *Transaction) GetEnv(name string) string + func (t *Transaction) GetEnvList() (map[string]string, error) + func (t *Transaction) GetItem(i Item) (string, error) + func (t *Transaction) OpenSession(f Flags) error + func (t *Transaction) PutEnv(nameval string) error + func (t *Transaction) SetCred(f Flags) error + func (t *Transaction) SetItem(i Item, item string) error