Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Auth ¶
type Auth struct { // Token holds the token that should be used for authentication (optional) // if the token is nil the callback func Authenticate will be called and after Authorization this token will be set // Store (and restore prior use) this token to avoid further authorization calls Token *oauth2.Token // ClientID from https://console.developers.google.com/project/<your-project-id>/apiui/credential ClientID string // ClientSecret from https://console.developers.google.com/project/<your-project-id>/apiui/credential ClientSecret string Authenticate AuthenticateFunc }
type AuthenticateFunc ¶
Click to show internal directories.
Click to hide internal directories.