Documentation ¶
Overview ¶
Package client contains the identity agent client.
Index ¶
- type Client
- func (c *Client) GetCCache() *credentials.CCache
- func (c *Client) GetKrb5Conf() *krbConfig.Config
- func (c *Client) Results() chan status.LoginState
- func (c *Client) SetCCache(ccache *credentials.CCache)
- func (c *Client) SetKrb5Conf(conf *krbConfig.Config)
- func (c *Client) Start()
- func (c *Client) Stop()
- type Error
- type LoginResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client is an identity agent client.
func NewClient ¶
func NewClient(config *config.Config, ccache *credentials.CCache, krb5conf *krbConfig.Config) *Client
NewClient returns a new Client.
func (*Client) GetCCache ¶
func (c *Client) GetCCache() *credentials.CCache
GetCCache returns the kerberos CCache in the client.
func (*Client) GetKrb5Conf ¶
GetKrb5Conf returns the kerberos config in the client.
func (*Client) Results ¶
func (c *Client) Results() chan status.LoginState
Results returns the result channel.
func (*Client) SetCCache ¶
func (c *Client) SetCCache(ccache *credentials.CCache)
SetCCache sets the kerberos CCache in the client.
func (*Client) SetKrb5Conf ¶
SetKrb5Conf sets the kerberos config in the client.
type LoginResponse ¶
type LoginResponse struct {
KeepAlive int `json:"keep-alive"`
}
LoginResponse is a login response.
Click to show internal directories.
Click to hide internal directories.