Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthClient ¶
type AuthClient struct {
// contains filtered or unexported fields
}
func NewAuthClient ¶
func NewAuthClient(clientCfg constant.ClientConfig, serverCfgs []constant.ServerConfig, agent http_agent.IHttpAgent) AuthClient
func (*AuthClient) AutoRefresh ¶
func (ac *AuthClient) AutoRefresh()
func (*AuthClient) GetAccessToken ¶
func (ac *AuthClient) GetAccessToken() string
func (*AuthClient) Login ¶
func (ac *AuthClient) Login() (bool, error)
Click to show internal directories.
Click to hide internal directories.