//
pkg.gl
Category
github.com/slashtechno/cross-blogger
pkg
oauth
package
0.2.0
Repository:
https://github.com/slashtechno/cross-blogger.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
6
Dependents
1
Files
81 SLOC
#
Functions
GetGoogleAccessToken
Return an access token from a refresh token.
GetGoogleRefreshToken
GetToken starts the OAuth2 flow, opens a temporary web server to handle the callback, and returns the refresh token as a string.
#
Structs
Config
Config holds the configuration for the Google OAuth2 client.