security

package
v0.0.0-...-c202456 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2023 License: Apache-2.0 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) Login

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

Jump to

Keyboard shortcuts

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