Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { APIEndpointURL string IDToken *oidc.IDToken AccessToken string RefreshToken string GSClientGen *gsclient.Gsclientgen }
Client is our API client.
func (*Client) AuthHeaderWriter ¶
func (c *Client) AuthHeaderWriter() (runtime.ClientAuthInfoWriter, error)
AuthHeaderWriter returns a function to write an authentication header.
func (*Client) GetToken ¶
GetToken returns a token to use for the API client's Authorization header. If necessary, refreshes the token.
func (*Client) MustGetToken ¶
MustGetToken returns a token and only prints errors.
Click to show internal directories.
Click to hide internal directories.