Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthRequest ¶
type AuthRequest tm.AuthRequest
type AutoManagedToken ¶
type AutoManagedToken interface {
Start() error
GetToken() (string, error)
Stop()
RefreshLoop()
RefreshToken() error
}
func NewAutoManagedToken ¶
func NewAutoManagedToken(apiURL string, authRequest AuthRequest, certSkipVerify bool) AutoManagedToken
NewAutoManagedToken cria uma nova instância de TokenManager
Click to show internal directories.
Click to hide internal directories.