Documentation
¶
Overview ¶
Package auth - common auth functions for services, servers, and clients in Altid. Includes support for interacting with a local factotum
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func OpenRPC ¶
func OpenRPC() (io.ReadWriteCloser, error)
OpenRPC returns an open file descriptor to an RPC
Types ¶
type RPC ¶
type RPC struct {
F io.ReadWriteCloser
Arg []byte
Ai *Info
}
RPC wraps an rpc session
type UserPasswd ¶
type UserPasswd struct {
User, Password string
}
UserPasswd is return from a successful Getuserpasswd
func Getuserpasswd ¶
func Getuserpasswd(params string, args ...interface{}) (*UserPasswd, error)
Getuserpasswd - get a password. params i.e. proto=pass service=ssh role=client server=%s user=%s
Click to show internal directories.
Click to hide internal directories.