Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthConfig ¶
type AuthHandler ¶
type AuthHandler struct { DoneCh chan struct{} OutputCh chan string // contains filtered or unexported fields }
AuthHandler is responsible for keeping a token alive and renewed and passing new tokens to the sink server
func NewAuthHandler ¶
func NewAuthHandler(conf *AuthHandlerConfig) *AuthHandler
func (*AuthHandler) Run ¶
func (ah *AuthHandler) Run(ctx context.Context, am AuthMethod)
type AuthHandlerConfig ¶
Click to show internal directories.
Click to hide internal directories.