Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RefreshTokenSource ¶
func RefreshTokenSource(token *oauth2.Token, refresher TokenRefresher) oauth2.TokenSource
Types ¶
type Token ¶
Token is an OAuth token that supports the expires_in attribute
func (*Token) UnmarshalJSON ¶
type TokenRefresher ¶
type TokenSource ¶
type TokenSource struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.