security

package
v1.3.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 20, 2024 License: MIT Imports: 12 Imported by: 0

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(ctx context.Context)

func (*AuthClient) GetAccessToken

func (ac *AuthClient) GetAccessToken() string

func (*AuthClient) GetServerList added in v1.2.5

func (ac *AuthClient) GetServerList() []constant.ServerConfig

func (*AuthClient) Login

func (ac *AuthClient) Login() (bool, error)

func (*AuthClient) UpdateServerList added in v1.2.5

func (ac *AuthClient) UpdateServerList(serverList []constant.ServerConfig)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL