Documentation
¶
Index ¶
- type Drive
- type DriveUpload
- type GoogleAuth
- func (d *GoogleAuth) CodeAuthentication(code string) (*oauth2.Token, error)
- func (g *GoogleAuth) CreateAuthURL() string
- func (g *GoogleAuth) GetEmailFromAccessToken(accessToken string) (string, error)
- func (g *GoogleAuth) RefreshToken(refreshToken string, clientId string, clientSecret string, storageId int64) (RefreshTokenReponse, error)
- type GoogleAuthService
- type RefreshTokenReponse
- type RefreshTokenRequest
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DriveUpload ¶
type DriveUpload struct {
// contains filtered or unexported fields
}
type GoogleAuth ¶
type GoogleAuth struct {
// contains filtered or unexported fields
}
func (*GoogleAuth) CodeAuthentication ¶
func (d *GoogleAuth) CodeAuthentication(code string) (*oauth2.Token, error)
func (*GoogleAuth) CreateAuthURL ¶
func (g *GoogleAuth) CreateAuthURL() string
func (*GoogleAuth) GetEmailFromAccessToken ¶
func (g *GoogleAuth) GetEmailFromAccessToken(accessToken string) (string, error)
func (*GoogleAuth) RefreshToken ¶
func (g *GoogleAuth) RefreshToken(refreshToken string, clientId string, clientSecret string, storageId int64) (RefreshTokenReponse, error)
type GoogleAuthService ¶
type RefreshTokenReponse ¶
Click to show internal directories.
Click to hide internal directories.