Documentation ¶
Index ¶
- Constants
- func GetOAuthConfig() oauth2.Config
- func LogWithLevel(logger *stackdriver_logging.Logger, lvl observer.Severity, msg string, ...)
- func NewGoogleCloudStorageProvider() interface{}
- func NewGoogleStackdriverProvider() interface{}
- func NewOAuthClient(ctx context.Context, config *oauth2.Config) (*http.Client, error)
- func OAuthRedirectEndpoint(c echo.Context) error
- func OAuthStartEndpoint(c echo.Context) error
Constants ¶
View Source
const ( GoogleOAuthStart = "/_a/1/start" GoogleOAuthRedirect = "/_a/1/auth" )
Variables ¶
This section is empty.
Functions ¶
func GetOAuthConfig ¶ added in v1.1.1
func LogWithLevel ¶
func NewGoogleCloudStorageProvider ¶
func NewGoogleCloudStorageProvider() interface{}
func NewGoogleStackdriverProvider ¶
func NewGoogleStackdriverProvider() interface{}
func NewOAuthClient ¶ added in v1.1.1
func OAuthRedirectEndpoint ¶ added in v1.1.1
func OAuthRedirectEndpoint(c echo.Context) error
OAuthRedirectEndpoint handles the OAuth call-back and creates a token on success
func OAuthStartEndpoint ¶ added in v1.1.1
func OAuthStartEndpoint(c echo.Context) error
OAuthStartEndpoint starts the OAuth 2.0 flow
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.