Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( AuthClientSingleton = internal.NewSingleton(func() (AuthClient, error) { cfg := common.GetConfig() return NewAuthClient( internal.GetRestyClient(), cfg.ClientId, cfg.ClientSecret, cfg.AuthApiHost, ) }) )
Functions ¶
func NewAuthClient ¶
Types ¶
type AuthClient ¶
type AuthClient interface {
AuthorizeRequest(req internal.RestyRequest) (internal.RestyRequest, error)
}
Click to show internal directories.
Click to hide internal directories.