Documentation ¶
Index ¶
Constants ¶
View Source
const DefaultAudience = "https://api.combocurve.com"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ComboCurveAuth ¶
type ComboCurveAuth struct { TokenRefresher *token_refresher.TokenRefresher ApiKey string }
func NewComboCurveAuth ¶
func NewComboCurveAuth(sa *service_account.ServiceAccount, apiKey string, secondsBeforeTokenExpire, tokenDuration int) (*ComboCurveAuth, error)
func (*ComboCurveAuth) GetAuthHeaders ¶
func (c *ComboCurveAuth) GetAuthHeaders() (map[string]string, error)
Click to show internal directories.
Click to hide internal directories.